BII: fixed writing xpram file

This commit is contained in:
kanjitalk755 2020-05-16 21:18:16 +09:00
parent 617a723a16
commit a528b0a40f
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ void SaveXPRAM(void)
SDL_snprintf(full_path, sizeof(full_path), "%s/%s", dir, XPRAM_FILE_NAME);
// Save the XPRAM file
FILE *f = fopen(XPRAM_FILE_NAME, "wb");
FILE *f = fopen(full_path, "wb");
if (f != NULL) {
fwrite(XPRAM, 256, 1, f);
fclose(f);