Skip to content

Commit

Permalink
N64: Tracelog now includes delay slot execution. Fixes #789
Browse files Browse the repository at this point in the history
  • Loading branch information
micro500 committed Sep 14, 2017
1 parent b34c9a5 commit 1ff0cc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libmupen64plus/mupen64plus-core/src/r4300/pure_interp.c
Expand Up @@ -60,6 +60,7 @@ static void prefetch(void);
interp_PC.addr += 4; \
delay_slot=1; \
prefetch(); \
TRACECB(); \
PC->ops(); \
update_count(); \
delay_slot=0; \
Expand Down
2 changes: 2 additions & 0 deletions libmupen64plus/mupen64plus-core/src/r4300/r4300.c
Expand Up @@ -94,6 +94,7 @@ int rounding_mode = 0x33F, trunc_mode = 0xF3F, round_mode = 0x33F,
PC++; \
delay_slot=1; \
UPDATE_DEBUGGER(); \
TRACECB(); \
PC->ops(); \
update_count(); \
delay_slot=0; \
Expand Down Expand Up @@ -126,6 +127,7 @@ int rounding_mode = 0x33F, trunc_mode = 0xF3F, round_mode = 0x33F,
PC++; \
delay_slot=1; \
UPDATE_DEBUGGER(); \
TRACECB(); \
PC->ops(); \
update_count(); \
delay_slot=0; \
Expand Down
Binary file modified output/dll/mupen64plus.dll
Binary file not shown.

0 comments on commit 1ff0cc1

Please sign in to comment.