diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-03-22 08:27:27 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-03-22 08:27:27 +0100 |
commit | 3f68bc602c210a9d758d4e79e6274493db25905f (patch) | |
tree | 18c10cda3e505e1167697001c623fefe413a21d4 | |
parent | 0984cef88a73fc544e4f2ec3f21a727a51fda863 (diff) |
xavix2.cpp: fixed compile (nw)
a problem with srcclean?
../../../../../src/mame/drivers/xavix2.cpp:599:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
599 | if(machine().input().code_pressed_once(KEYCODE_0))
| ^~
../../../../../src/mame/drivers/xavix2.cpp:602:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
602 | constexpr int dx = 0x400 - 320;
-rw-r--r-- | src/mame/drivers/xavix2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/xavix2.cpp b/src/mame/drivers/xavix2.cpp index 5c1411b68e5..7d17e36658f 100644 --- a/src/mame/drivers/xavix2.cpp +++ b/src/mame/drivers/xavix2.cpp @@ -594,10 +594,10 @@ void xavix2_state::mem(address_map &map) uint32_t xavix2_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - if(machine().input().code_pressed_once(KEYCODE_8)) - irq_raise(8); - if(machine().input().code_pressed_once(KEYCODE_0)) - irq_raise(10); + if(machine().input().code_pressed_once(KEYCODE_8)) + irq_raise(8); + if(machine().input().code_pressed_once(KEYCODE_0)) + irq_raise(10); constexpr int dx = 0x400 - 320; constexpr int dy = 0x200 - 200; |