I'm pretty sure that won't quite work (further mic fixup) (for code that shouldn't even need to be here)

This commit is contained in:
nitsuja 2009-08-28 09:47:45 +00:00
parent a9a0412a69
commit 0a07f61db0
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ void mic_savestate(EMUFILE* os)
bool mic_loadstate(EMUFILE* is, int size) bool mic_loadstate(EMUFILE* is, int size)
{ {
is->seekg(size, std::ios::cur); is->fseek(size, SEEK_CUR);
return TRUE; return TRUE;
} }

View File

@ -152,11 +152,11 @@ u8 Mic_ReadSample()
/* FIXME: stub! */ /* FIXME: stub! */
void mic_savestate(EMUFILE* os) void mic_savestate(EMUFILE* os)
{ {
write32le(0,os); write32le((u32)(-1),os);
} }
bool mic_loadstate(EMUFILE* is, int size) bool mic_loadstate(EMUFILE* is, int size)
{ {
is->fseek(size-4, SEEK_CUR); is->fseek(size, SEEK_CUR);
return TRUE; return TRUE;
} }