Fix emblem importing in SS3 causing a glitched image to appear

This commit is contained in:
RocketRobz 2024-09-17 11:04:56 -06:00
parent 378f3ebfa8
commit 51bdbf134b

View File

@ -1793,7 +1793,7 @@ void writeSS3EmblemToSave(void) {
FILE* saveData = fopen(ss3SavePath, "rb+");
fseek(saveData, offset, SEEK_SET);
fwrite(ss3Save, 0x804, 1, saveData);
fwrite((char*)ss3Save+(offset), 0x804, 1, saveData);
fclose(saveData);
ss3SaveModified = true;