summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-04-16 08:01:08 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-04-16 08:01:08 +0000
commit73d4ceae77d1160f89f05538eecca8fe707ece71 (patch)
tree6e15c61ebd552ab397b1e1ba814f37698f3b80df
parent83fbd1ac227f20c06c1179eb05385ea085534bf3 (diff)
Another compile error.
-rw-r--r--src/mame/drivers/taito_f2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taito_f2.c b/src/mame/drivers/taito_f2.c
index cc33440be0c..b2e56615b07 100644
--- a/src/mame/drivers/taito_f2.c
+++ b/src/mame/drivers/taito_f2.c
@@ -628,7 +628,7 @@ static WRITE8_HANDLER( sound_bankswitch_w )
memory_set_bank(space->machine, 2, (data - 1) & 7);
#ifdef MAME_DEBUG
- if (banknum>2) logerror("CPU #1 switch to ROM bank %06x: should only happen if Z80 prg rom is 128K!\n",banknum);
+ if (((data - 1) & 7)>2) logerror("CPU #1 switch to ROM bank %06x: should only happen if Z80 prg rom is 128K!\n",banknum);
#endif
}