mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-06 05:33:29 +00:00
BII: fixed writing xpram file
This commit is contained in:
parent
617a723a16
commit
a528b0a40f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user