diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index ba820cd16..465ce20e7 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -2072,7 +2072,7 @@ void GPU_ligne(NDS_Screen * screen, u16 l) // Read from FIFO MAIN_MEMORY_DISP_FIFO, two pixels at once format is x555, bit15 unused // Reference: http://nocash.emubase.de/gbatek.htm#dsvideocaptureandmainmemorydisplaymode // (under DISP_MMEM_FIFO) -#ifdef 0 +#if 0 for (i=0; i<256;) { c = FIFOValue(MMU.fifos + MAIN_MEMORY_DISP_FIFO); T2WriteWord(dst, i << 1, c&0xFFFF); i++; diff --git a/desmume/src/MMU.cpp b/desmume/src/MMU.cpp index e88d33d1f..f7675e663 100644 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -801,7 +801,6 @@ u32 FASTCALL _MMU_read32(u32 adr) NDS_makeInt(proc^1,17) ; /* remote: SEND FIFO EMPTY */ return val; -#endif } return 0; case REG_TM0CNTL :