- added display FIFO data to savestate;

This commit is contained in:
mtabachenko 2009-01-18 13:48:18 +00:00
parent 38bdc6c2f2
commit f15e3c1b6a
2 changed files with 6 additions and 0 deletions

View File

@ -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();

View File

@ -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 }
};