1
0
Fork 0
forked from len0rd/rockbox

printing of the PC in assembly dumps.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6143 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-03-05 19:52:31 +00:00
parent 12ab0ab36a
commit 71eceb43d0

View file

@ -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 */