diff --git a/desmume/src/FIFO.cpp b/desmume/src/FIFO.cpp index f3293d480..e88ab76a0 100644 --- a/desmume/src/FIFO.cpp +++ b/desmume/src/FIFO.cpp @@ -192,7 +192,7 @@ void DISP_FIFOsend(u32 val) u32 DISP_FIFOrecv() { - if (disp_fifo.tail == disp_fifo.head) return (0); // FIFO is empty + //if (disp_fifo.tail == disp_fifo.head) return (0); // FIFO is empty u32 val = disp_fifo.buf[disp_fifo.head]; disp_fifo.head++; if (disp_fifo.head > 0x5FFF) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index 398357060..7a00a5aa3 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -3376,7 +3376,7 @@ void GPU_ligne(NDS_Screen * screen, u16 l) if (gpu->core == GPU_MAIN) { GPU_ligne_DispCapture(l); - if (l == 192) { disp_fifo.head = disp_fifo.tail = 0; } + if (l == 191) { disp_fifo.head = disp_fifo.tail = 0; } } GPU_ligne_MasterBrightness(screen, l); }