* fix fds bug; .sav file was being opened read-only and causing "error reading auxillary FDS file"
* someone please test this change on win32 to ensure nothing is broken
This commit is contained in:
parent
e0988eac20
commit
bd1d923b78
|
@ -813,7 +813,7 @@ if (!disableBatteryLoading)
|
|||
memcpy(diskdatao[x],diskdata[x],65500);
|
||||
}
|
||||
|
||||
if((tp=FCEU_fopen(fn,0,"rb",0)))
|
||||
if((tp=FCEU_fopen(fn,0,"wb",0)))
|
||||
{
|
||||
FreeFDSMemory();
|
||||
if(!SubLoad(tp))
|
||||
|
|
Loading…
Reference in New Issue