mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
FDS corrections
This commit is contained in:
parent
aec5667532
commit
f2773a5b9c
@ -802,7 +802,7 @@ if (!disableBatteryLoading)
|
||||
diskdatao[x]=(uint8 *)FCEU_malloc(65500);
|
||||
memcpy(diskdatao[x],diskdata[x],65500);
|
||||
}
|
||||
|
||||
#ifndef GEKKO
|
||||
if((tp=FCEU_fopen(fn,0,"rb",0)))
|
||||
{
|
||||
FreeFDSMemory();
|
||||
@ -816,6 +816,7 @@ if (!disableBatteryLoading)
|
||||
DiskWritten=1; /* For save state handling. */
|
||||
}
|
||||
free(fn);
|
||||
#endif
|
||||
}
|
||||
|
||||
GameInfo->type=GIT_FDS;
|
||||
@ -862,6 +863,10 @@ if (!disableBatteryLoading)
|
||||
|
||||
void FDSClose(void)
|
||||
{
|
||||
#ifdef GEKKO
|
||||
FreeFDSMemory();
|
||||
return;
|
||||
#endif
|
||||
FILE *fp;
|
||||
int x;
|
||||
char *fn=strdup(FCEU_MakeFName(FCEUMKF_FDS,0,0).c_str());
|
||||
|
@ -283,7 +283,7 @@ copy_to_xfb (u32 arg)
|
||||
switch(FDSSwitchRequested)
|
||||
{
|
||||
case 1:
|
||||
// FCEUI_FDSEject(); // eject disk
|
||||
FCEUI_FDSInsert(); // eject disk
|
||||
FDSSwitchRequested++;
|
||||
break;
|
||||
case 2:
|
||||
|
Loading…
Reference in New Issue
Block a user