Removed missing bcopy on save write

This commit is contained in:
KiritoDv 2021-06-02 15:36:37 +00:00
parent f8c0c10a8b
commit e4aedd39d0
1 changed files with 1 additions and 1 deletions

View File

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