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.zip
rockbox-71eceb43d0674f571186ef8a89809e199c2017c9.tar.gz
rockbox-71eceb43d0674f571186ef8a89809e199c2017c9.tar.bz2
rockbox-71eceb43d0674f571186ef8a89809e199c2017c9.tar.xz
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 f9f7ebd..d900956 100644
--- a/apps/plugins/rockboy/dynarec.c
+++ b/apps/plugins/rockboy/dynarec.c
@@ -393,9 +393,12 @@ void dynamic_recompile (struct dynarec_block *newblock) {
snprintf(meow,499,"Recompiling 0x%x",oldpc);
rb->splash(HZ*1,1,meow);
while(!done) {
+#ifdef DYNA_DEBUG
+ fdprintf(fd,"0x%x: ",PC);
+#endif
op=FETCH;
clen = cycles_table[op];
- tclen+=clen;
+ tclen+=clen;
switch(op) {
case 0x00: /* NOP */
case 0x40: /* LD B,B */