diff options
| author | 2016-11-19 05:35:54 +1100 | |
|---|---|---|
| committer | 2016-11-19 05:38:48 +1100 | |
| commit | 8179a84458204a5e767446fcf7d10f032a40fd0c (patch) | |
| tree | 16105e1667f811dcb24dbf0fc255166cb06df5c2 /src/emu/driver.cpp | |
| parent | 1b489fe83034072149fb0637b20c7ba57dc72a7a (diff) | |
Introduce u8/u16/u32/u64/s8/s16/s32/s64
* New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h"
* Get rid of import of cstdint types to global namespace (C99 does this anyway)
* Remove the cstdint types from everything in emu
* Get rid of U64/S64 macros
* Fix a bug in dps16 caused by incorrect use of macro
* Fix debugcon not checking for "do " prefix case-insensitively
* Fix a lot of messed up tabulation
* More constexpr
* Fix up many __names
Diffstat (limited to 'src/emu/driver.cpp')
| -rw-r--r-- | src/emu/driver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp index a954738a557..51b6b629544 100644 --- a/src/emu/driver.cpp +++ b/src/emu/driver.cpp @@ -257,7 +257,7 @@ void driver_device::device_reset_after_children() // irq_pulse_clear - clear a "pulsed" IRQ line //------------------------------------------------- -void driver_device::irq_pulse_clear(void *ptr, int32_t param) +void driver_device::irq_pulse_clear(void *ptr, s32 param) { device_execute_interface *exec = reinterpret_cast<device_execute_interface *>(ptr); int irqline = param; @@ -366,7 +366,7 @@ void driver_device::updateflip() // flip_screen_set - set global flip //------------------------------------------------- -void driver_device::flip_screen_set(uint32_t on) +void driver_device::flip_screen_set(u32 on) { // normalize to all 1 if (on) @@ -386,7 +386,7 @@ void driver_device::flip_screen_set(uint32_t on) // do not call updateflip. //------------------------------------------------- -void driver_device::flip_screen_set_no_update(uint32_t on) +void driver_device::flip_screen_set_no_update(u32 on) { // flip_screen_y is not updated on purpose // this function is for drivers which @@ -402,7 +402,7 @@ void driver_device::flip_screen_set_no_update(uint32_t on) // flip_screen_x_set - set global horizontal flip //------------------------------------------------- -void driver_device::flip_screen_x_set(uint32_t on) +void driver_device::flip_screen_x_set(u32 on) { // normalize to all 1 if (on) @@ -421,7 +421,7 @@ void driver_device::flip_screen_x_set(uint32_t on) // flip_screen_y_set - set global vertical flip //------------------------------------------------- -void driver_device::flip_screen_y_set(uint32_t on) +void driver_device::flip_screen_y_set(u32 on) { // normalize to all 1 if (on) |
