Update remaining stub versions of mic_savestate/loadstate.
11cf901336
changed most of these but
missed these three.
This commit is contained in:
parent
e6d5a8fbe1
commit
e58fb84707
|
@ -162,13 +162,13 @@ u8 Mic_ReadSample()
|
|||
}
|
||||
|
||||
/* FIXME: stub! */
|
||||
void mic_savestate(EMUFILE* os)
|
||||
void mic_savestate(EMUFILE &os)
|
||||
{
|
||||
write32le((u32)(-1),os);
|
||||
os.write_32LE(-1);
|
||||
}
|
||||
|
||||
bool mic_loadstate(EMUFILE* is, int size)
|
||||
bool mic_loadstate(EMUFILE &is, int size)
|
||||
{
|
||||
is->fseek(size, SEEK_CUR);
|
||||
is.fseek(size, SEEK_CUR);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -154,14 +154,14 @@ u8 Mic_ReadSample()
|
|||
return ret;
|
||||
}
|
||||
|
||||
void mic_savestate(EMUFILE* os)
|
||||
void mic_savestate(EMUFILE &os)
|
||||
{
|
||||
write32le(-1,os);
|
||||
os.write_32LE(-1);
|
||||
}
|
||||
|
||||
bool mic_loadstate(EMUFILE* is, int size)
|
||||
bool mic_loadstate(EMUFILE &is, int size)
|
||||
{
|
||||
is->fseek(size, SEEK_CUR);
|
||||
is.fseek(size, SEEK_CUR);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -197,7 +197,7 @@ void Mic_DoNoise(BOOL noise)
|
|||
|
||||
void mic_savestate(EMUFILE &os)
|
||||
{
|
||||
write_32LE(-1,os);
|
||||
os.write_32LE(-1);
|
||||
}
|
||||
|
||||
bool mic_loadstate(EMUFILE &is, int size)
|
||||
|
|
Loading…
Reference in New Issue