diff --git a/desmume/src/FIFO.h b/desmume/src/FIFO.h index 468626d1d..45c01fc55 100644 --- a/desmume/src/FIFO.h +++ b/desmume/src/FIFO.h @@ -61,6 +61,7 @@ typedef struct u32 tail; // tail } DISP_FIFO; +extern DISP_FIFO disp_fifo; extern void DISP_FIFOinit(); extern void DISP_FIFOsend(u32 val); extern u32 DISP_FIFOrecv(); diff --git a/desmume/src/saves.cpp b/desmume/src/saves.cpp index 53c8fe0e1..49c45497c 100644 --- a/desmume/src/saves.cpp +++ b/desmume/src/saves.cpp @@ -224,6 +224,11 @@ SFORMAT SF_MMU[]={ { "F0BF", 4, 16, &ipc_fifo[0].buf[0]}, { "F1TL", 1, 1, &ipc_fifo[1].tail}, { "F1BF", 4, 16, &ipc_fifo[1].buf[0]}, + + { "FDHD", 4, 1, &disp_fifo.head}, + { "FDTL", 4, 1, &disp_fifo.tail}, + { "FDBF", 4, 0x6000, &disp_fifo.buf[0]}, + { 0 } };