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:
bladeoner 2020-08-08 18:45:42 +02:00 committed by GitHub
parent c14ff9464a
commit c1fb2e5a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 15 deletions

View File

@ -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();

View File

@ -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:

View File

@ -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

View File

@ -52,12 +52,6 @@ void S9xExit()
}
/*** File based functions ***/
const char *
S9xChooseFilename(bool8 read_only)
{
return NULL;
}
const char *
S9xGetDirectory(enum s9x_getdirtype dirtype)
{