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:
Ivan Vangelista 2020-03-22 08:27:27 +01:00
parent 0984cef88a
commit 3f68bc602c

View File

@ -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;