summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-05 19:52:31 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-05 19:52:31 +0000
commit71eceb43d0674f571186ef8a89809e199c2017c9 (patch)
tree5dd345c337c7fd3ce3a6961b611656d4f355d670 /apps/plugins/rockboy
parent12ab0ab36aa4ef13d71026c63bee36dbfc012f14 (diff)
downloadrockbox-71eceb43d0674f571186ef8a89809e199c2017c9.tar.gz
rockbox-71eceb43d0674f571186ef8a89809e199c2017c9.zip
printing of the PC in assembly dumps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6143 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/dynarec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/dynarec.c b/apps/plugins/rockboy/dynarec.c
index f9f7ebdfc7..d900956c8e 100644
--- a/apps/plugins/rockboy/dynarec.c
+++ b/apps/plugins/rockboy/dynarec.c
@@ -393,9 +393,12 @@ void dynamic_recompile (struct dynarec_block *newblock) {
393 snprintf(meow,499,"Recompiling 0x%x",oldpc); 393 snprintf(meow,499,"Recompiling 0x%x",oldpc);
394 rb->splash(HZ*1,1,meow); 394 rb->splash(HZ*1,1,meow);
395 while(!done) { 395 while(!done) {
396#ifdef DYNA_DEBUG
397 fdprintf(fd,"0x%x: ",PC);
398#endif
396 op=FETCH; 399 op=FETCH;
397 clen = cycles_table[op]; 400 clen = cycles_table[op];
398 tclen+=clen; 401 tclen+=clen;
399 switch(op) { 402 switch(op) {
400 case 0x00: /* NOP */ 403 case 0x00: /* NOP */
401 case 0x40: /* LD B,B */ 404 case 0x40: /* LD B,B */