summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fantland.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/fantland.c')
-rw-r--r--src/mame/drivers/fantland.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/fantland.c b/src/mame/drivers/fantland.c
index 4ee4d6ac614..15fdc850b04 100644
--- a/src/mame/drivers/fantland.c
+++ b/src/mame/drivers/fantland.c
@@ -201,14 +201,14 @@ static READ8_HANDLER( borntofi_inputs_r )
x = (x & 0x7f) - (x & 0x80);
y = (y & 0x7f) - (y & 0x80);
- if (state->old_x[offset] > 0)
+ if (state->old_x[offset] > 0)
{
- state->input_ret[offset] = (state->input_ret[offset] ^ 0x04) | ((state->input_ret[offset] & 0x04) << 1);
- state->old_x[offset]--;
+ state->input_ret[offset] = (state->input_ret[offset] ^ 0x04) | ((state->input_ret[offset] & 0x04) << 1);
+ state->old_x[offset]--;
}
else if (state->old_x[offset] < 0)
{
- state->input_ret[offset] = (state->input_ret[offset] ^ 0x04) | (((~state->input_ret[offset]) & 0x04) << 1);
+ state->input_ret[offset] = (state->input_ret[offset] ^ 0x04) | (((~state->input_ret[offset]) & 0x04) << 1);
state->old_x[offset]++;
}