mirror of https://github.com/sm64pc/sm64pc.git
Removed missing bcopy on save write
This commit is contained in:
parent
f8c0c10a8b
commit
e4aedd39d0
|
@ -136,7 +136,7 @@ namespace MoonInternal {
|
|||
cfg->setArray<string>("game.achievements", obtainedAchievements);
|
||||
cfg->setBool("game.updated", cheatsGotEnabled);
|
||||
#endif
|
||||
bcopy(&gSaveBuffer.files[fileIndex][0], &gSaveBuffer.files[fileIndex][1], sizeof(gSaveBuffer.files[fileIndex][1]));
|
||||
memcpy(&gSaveBuffer.files[fileIndex][0], &gSaveBuffer.files[fileIndex][1], sizeof(gSaveBuffer.files[fileIndex][1]));
|
||||
|
||||
cfg->save();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue