diff options
author | 2011-10-07 22:53:38 +0000 | |
---|---|---|
committer | 2011-10-07 22:53:38 +0000 | |
commit | db67f05d6fa08fdf669a28ae75957995432eaf55 (patch) | |
tree | e4d5d4bd8455d4a9a76889b30e878ccb737c6a10 /src/emu | |
parent | a87bd949a95d88f79c82ed65fc630494d4be8b8a (diff) |
fix GCC 4.6.x compile (nw)
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/cpu/sh4/sh4comn.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/cpu/sh4/sh4comn.c b/src/emu/cpu/sh4/sh4comn.c index 24e7c6fe84e..45c767eaecf 100644 --- a/src/emu/cpu/sh4/sh4comn.c +++ b/src/emu/cpu/sh4/sh4comn.c @@ -422,12 +422,11 @@ void sh4_exception(sh4_state *sh4, const char *message, int exception) // handle vector = 0x600; - int callbackval = 0; if ((exception >= SH4_INTC_IRL0) && (exception <= SH4_INTC_IRL3)) - callbackval = sh4->irq_callback(sh4->device, SH4_INTC_IRL0-exception+SH4_IRL0); + sh4->irq_callback(sh4->device, SH4_INTC_IRL0-exception+SH4_IRL0); else - callbackval = sh4->irq_callback(sh4->device, SH4_IRL3+1); + sh4->irq_callback(sh4->device, SH4_IRL3+1); if (sh3_intevt2_exception_codes[exception]==-1) fatalerror("sh3_intevt2_exception_codes unpopulated for exception %02x\n", exception); |