filename | src/sh4/sh4x86.in |
changeset | 591:7b9612fd2395 |
prev | 590:4db6a084ca3c |
next | 593:6c710c7c6835 |
author | nkeynes |
date | Thu Jan 17 10:11:37 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Add flag to skip breakpoints when it's the very first instruction of a run (ie, so executing dreamcast_run() when the current pc is a breakpoint doesn't just return immediately) |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4x86.in Wed Jan 16 09:39:16 2008 +00001.2 +++ b/src/sh4/sh4x86.in Thu Jan 17 10:11:37 2008 +00001.3 @@ -364,8 +364,8 @@1.4 */1.5 void sh4_translate_emit_breakpoint( sh4vma_t pc )1.6 {1.7 - load_imm32( R_EAX, XLAT_EXIT_BREAKPOINT );1.8 - call_func1( sh4_translate_exit, R_EAX );1.9 + load_imm32( R_EAX, pc );1.10 + call_func1( sh4_translate_breakpoint_hit, R_EAX );1.11 }1.13 /**
.