diff options
author | davidhay <davidhay@localhost> | 2008-01-15 21:41:54 +0000 |
---|---|---|
committer | davidhay <davidhay@localhost> | 2008-01-15 21:41:54 +0000 |
commit | 5cce8356e8a35e488297695b51d3c039de70f60a (patch) | |
tree | 35f2cff99ad8d673cecf671295d2d7111d16936d | |
parent | 50c020298bd9d675e78f7e45327cc4f267f4016d (diff) |
(from Ernesto Corvi / ElSemi)
fix do_ret() based on comparison of ElSemi's core and the MAME core
-rw-r--r-- | src/emu/cpu/i960/i960.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/i960/i960.c b/src/emu/cpu/i960/i960.c index 9879042ee20..6412deb056a 100644 --- a/src/emu/cpu/i960/i960.c +++ b/src/emu/cpu/i960/i960.c @@ -593,9 +593,9 @@ static void do_ret(void) x = program_read_dword(i960.r[I960_FP]-16); y = program_read_dword(i960.r[I960_FP]-12); do_ret_0(); - i960.AC = x; + i960.AC = y; // #### test supervisor - i960.PC = y; + i960.PC = x; // check for another IRQ now that we're back check_irqs(); |