Example #1
0
void vrc6_state(int mode,u8 *data)
{
    STATE_ARRAY_U8(prg,2);
    STATE_ARRAY_U8(chr,8);
    STATE_U8(mirror);
    STATE_U8(irqenabled);
    STATE_U8(irqlatch);
    STATE_U32(irqprescaler);
    STATE_U32(irqcounter);
    sync();
}
Example #2
0
static void state(int mode,u8 *data)
{
    if(mode >= 2)log_printf("mapper:  B_NINTENDO_EVENT:  mode = %d, dip = %X\n",mode,*data);
    CFG_U8(dip);
    STATE_U8(dip);
    STATE_U8(prglock);
    STATE_U8(irqenabled);
    STATE_U32(irqcounter);
    mmc1_state(mode,data);
}
Example #3
0
void fme7_state(int mode,u8 *data)
{
	STATE_U8(command);
	STATE_ARRAY_U8(prg,4);
	STATE_ARRAY_U8(chr,8);
	STATE_U8(mirror);
	STATE_U8(irqenabled);
	STATE_U32(irqcounter);
	fme7_sync();
}
Example #4
0
static void state(int mode,u8 *data)
{
    if(mode >= 2)log_message("dip = %X\n",*data);
    CFG_U8(dip);
    STATE_U8(dip);
    STATE_U8(prglock);
    STATE_U8(irqenabled);
    STATE_U32(irqcounter);
    mmc1_state(mode,data);
}