diff --git a/source/s9xsupport.cpp b/source/s9xsupport.cpp index 4fe8c48..9a0cbeb 100644 --- a/source/s9xsupport.cpp +++ b/source/s9xsupport.cpp @@ -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(); diff --git a/source/snes9x/controls.cpp b/source/snes9x/controls.cpp index 4919d02..eaac35a 100644 --- a/source/snes9x/controls.cpp +++ b/source/snes9x/controls.cpp @@ -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: diff --git a/source/snes9x/display.h b/source/snes9x/display.h index 3e77070..a2f1267 100644 --- a/source/snes9x/display.h +++ b/source/snes9x/display.h @@ -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 diff --git a/source/xenon/s9xsupport.cpp b/source/xenon/s9xsupport.cpp index 8624061..5b64261 100644 --- a/source/xenon/s9xsupport.cpp +++ b/source/xenon/s9xsupport.cpp @@ -52,12 +52,6 @@ void S9xExit() } /*** File based functions ***/ -const char * -S9xChooseFilename(bool8 read_only) -{ - return NULL; -} - const char * S9xGetDirectory(enum s9x_getdirtype dirtype) {