X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Pico%2FPico%2FMemory.c;fp=Pico%2FPico%2FMemory.c;h=8c4674b59651549f8cb5a1a357edd2921e01cbe0;hb=582890c000105f81c34c88d18924f7a3dc3b66b2;hp=7e106a38a7047c3d9ebd41d8be34099303d55b6b;hpb=2cb51c3c621ed60e192e8342fdeb4225def91bd8;p=picodrive.git diff --git a/Pico/Pico/Memory.c b/Pico/Pico/Memory.c index 7e106a3..8c4674b 100644 --- a/Pico/Pico/Memory.c +++ b/Pico/Pico/Memory.c @@ -110,7 +110,6 @@ end: // ----------------------------------------------------------------- // Write Ram - /* void dump(u16 w) { @@ -118,6 +117,7 @@ void dump(u16 w) char fname[32]; int num = PicoPicohw.r12 & 0xf; + w = (w << 8) | (w >> 8); sprintf(fname, "ldump%i.bin", num); if (f[num] == NULL) f[num] = fopen(fname, "wb"); @@ -159,7 +159,7 @@ static void PicoWritePico16(u32 a,u16 d) a&=0xfffffe; if ((a&0xfffff0)==0xc00000) { PicoVideoWrite(a,(u16)d); return; } // VDP -// if (a == 0x800010) dump(d); + //if (a == 0x800010) dump(d); if (a == 0x800010) { PicoPicohw.fifo_bytes += 2;