summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sf.c')
-rw-r--r--src/mame/drivers/sf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/sf.c b/src/mame/drivers/sf.c
index 4a1cf8d977f..272b4e776b4 100644
--- a/src/mame/drivers/sf.c
+++ b/src/mame/drivers/sf.c
@@ -70,7 +70,7 @@ static WRITE16_HANDLER( protection_w )
[memory_read_byte(space, 0xffc006)]
[(memory_read_byte(space, 0xffc003) << 1) + (memory_read_word(space, 0xffc004) >> 8)];
- switch (memory_read_byte(space, 0xffc684))
+ switch (memory_read_byte(space, 0xffc684))
{
case 1:
{
@@ -121,16 +121,16 @@ static WRITE16_HANDLER( protection_w )
int pos = memory_read_byte(space, 0xffc010);
pos = (pos + 1) & 3;
memory_write_byte(space, 0xffc010, pos);
- if(!pos)
+ if(!pos)
{
int d1 = memory_read_word(space, 0xffc682);
int off = memory_read_word(space, 0xffc00e);
- if (off!=512)
+ if (off!=512)
{
off++;
d1++;
- }
- else
+ }
+ else
{
off = 0;
d1 -= 512;