X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FMemory.c;h=bdcfaabdf925c4dd45a6cd942cb004f361a96b5a;hb=4c436138e4f9f49726352c34499a2de76a7c1c79;hp=a6b4d639eabb257882c5cc34e7117efed0deadd0;hpb=c060a9ab9c428e1ed9c4159b56529a2a36031e44;p=picodrive.git diff --git a/Pico/Memory.c b/Pico/Memory.c index a6b4d63..bdcfaab 100644 --- a/Pico/Memory.c +++ b/Pico/Memory.c @@ -105,7 +105,7 @@ PICO_INTERNAL_ASM void PicoMemReset(void) int PadRead(int i) { int pad,value,data_reg; - pad=~PicoPad[i]; // Get inverse of pad MXYZ SACB RLDU + pad=~PicoPadInt[i]; // Get inverse of pad MXYZ SACB RLDU data_reg=Pico.ioports[i+1]; // orr the bits, which are set as output @@ -465,7 +465,7 @@ void PicoWrite16(u32 a,u16 d) static void PicoWrite32(u32 a,u32 d) { - elprintf(EL_IO, "w32: %06x, %08x", a&0xffffff, d); + elprintf(EL_IO, "w32: %06x, %08x @%06x", a&0xffffff, d, SekPc); #ifdef EMU_CORE_DEBUG lastwrite_cyc_d[lwp_cyc++&15] = d; #endif