mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
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;
This commit is contained in:
parent
0984cef88a
commit
3f68bc602c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user