mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-23 19:19:22 +01:00
Snes9x - Remove S9xChooseFilename (#941)
This is integration of the frontend with the core. Disable the snapshot button mappings that use it. Any frontend should implement those port commands its own. Co-authored-by: dborth <dborth@gmail.com>
This commit is contained in:
parent
c14ff9464a
commit
c1fb2e5a1e
@ -194,12 +194,6 @@ bool S9xPollPointer(uint32 id, int16 * x, int16 * y)
|
||||
* compile. Where possible, they will return an error signal.
|
||||
***************************************************************************/
|
||||
|
||||
const char *S9xChooseFilename(bool8 read_only)
|
||||
{
|
||||
ExitApp();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char * S9xGetDirectory(enum s9x_getdirtype dirtype)
|
||||
{
|
||||
ExitApp();
|
||||
|
@ -2269,11 +2269,9 @@ void S9xApplyCommand (s9xcommand_t cmd, int16 data1, int16 data2)
|
||||
break;
|
||||
|
||||
case LoadFreezeFile:
|
||||
S9xUnfreezeGame(S9xChooseFilename(TRUE));
|
||||
break;
|
||||
|
||||
case SaveFreezeFile:
|
||||
S9xFreezeGame(S9xChooseFilename(FALSE));
|
||||
break;
|
||||
|
||||
case LoadOopsFile:
|
||||
|
@ -47,7 +47,6 @@ const char * S9xStringInput (const char *);
|
||||
const char * S9xGetDirectory (enum s9x_getdirtype);
|
||||
const char * S9xGetFilename (const char *, enum s9x_getdirtype);
|
||||
const char * S9xGetFilenameInc (const char *, enum s9x_getdirtype);
|
||||
const char * S9xChooseFilename (bool8);
|
||||
const char * S9xBasename (const char *);
|
||||
|
||||
// Routines the port has to implement if it uses command-line
|
||||
|
@ -52,12 +52,6 @@ void S9xExit()
|
||||
}
|
||||
|
||||
/*** File based functions ***/
|
||||
const char *
|
||||
S9xChooseFilename(bool8 read_only)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char *
|
||||
S9xGetDirectory(enum s9x_getdirtype dirtype)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user