X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FMemory.c;h=bdcfaabdf925c4dd45a6cd942cb004f361a96b5a;hb=5f9a0d16309e732ad09b4f5827422cf658bed8c2;hp=a6b4d639eabb257882c5cc34e7117efed0deadd0;hpb=9cd8914e0223ff79f46dea9bc0b7cbd24c79f4bf;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