Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- spcdas.cpp 2013-06-16 10:40:25.185148300 +0900
- +++ spcdas.cpp 2009-10-05 02:54:32.000000000 +0900
- @@ -57,7 +57,7 @@
- else if(pos == 2)v=spc.mem[spc.pc+c]|(spc.mem[spc.pc+c+1]<<8);
- else if(pos == 3)v=spc.mem[spc.pc+d]|(spc.mem[spc.pc+d+1]<<8);
- pos++;
- - sprintf(t, "%0.4x,%d", (v>>3)&0x1fff, v&7);
- + sprintf(t, "%0.4x,%d", v&0x1fff, v>>13);
- } else if(x=='r') {
- if (pos == 0)v=spc.mem[spc.pc+a];
- else if(pos == 1)v=spc.mem[spc.pc+b];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement