Snes9x - Remove S9xChooseMovieFilename (#942)

This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
This commit is contained in:
bladeoner 2020-08-08 18:28:38 +02:00 committed by GitHub
parent 1c021f105b
commit 158d09b9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 19 deletions

View File

@ -205,12 +205,6 @@ const char *S9xChooseFilename(bool8 read_only)
return NULL; return NULL;
} }
const char * S9xChooseMovieFilename(bool8 read_only)
{
ExitApp();
return NULL;
}
const char * S9xGetDirectory(enum s9x_getdirtype dirtype) const char * S9xGetDirectory(enum s9x_getdirtype dirtype)
{ {
ExitApp(); ExitApp();

View File

@ -2414,15 +2414,15 @@ void S9xApplyCommand (s9xcommand_t cmd, int16 data1, int16 data2)
break; break;
case BeginRecordingMovie: case BeginRecordingMovie:
if (S9xMovieActive()) // if (S9xMovieActive())
S9xMovieStop(FALSE); // S9xMovieStop(FALSE);
S9xMovieCreate(S9xChooseMovieFilename(FALSE), 0xFF, MOVIE_OPT_FROM_RESET, NULL, 0); // S9xMovieCreate(S9xChooseMovieFilename(FALSE), 0xFF, MOVIE_OPT_FROM_RESET, NULL, 0);
break; break;
case LoadMovie: case LoadMovie:
if (S9xMovieActive()) // if (S9xMovieActive())
S9xMovieStop(FALSE); // S9xMovieStop(FALSE);
S9xMovieOpen(S9xChooseMovieFilename(TRUE), FALSE); // S9xMovieOpen(S9xChooseMovieFilename(TRUE), FALSE);
break; break;
case EndRecordingMovie: case EndRecordingMovie:

View File

@ -48,7 +48,6 @@ int S9xMovieGetInfo (const char *, struct MovieInfo *);
void S9xMovieStop (bool8); void S9xMovieStop (bool8);
void S9xMovieToggleRecState (void); void S9xMovieToggleRecState (void);
void S9xMovieToggleFrameDisplay (void); void S9xMovieToggleFrameDisplay (void);
const char * S9xChooseMovieFilename (bool8);
// methods used by the emulation // methods used by the emulation
void S9xMovieInit (void); void S9xMovieInit (void);

View File

@ -58,12 +58,6 @@ S9xChooseFilename(bool8 read_only)
return NULL; return NULL;
} }
const char *
S9xChooseMovieFilename(bool8 read_only)
{
return NULL;
}
const char * const char *
S9xGetDirectory(enum s9x_getdirtype dirtype) S9xGetDirectory(enum s9x_getdirtype dirtype)
{ {