summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2016-08-08 05:13:46 +0200
committertwinaphex2016-08-08 05:13:46 +0200
commitfebda24fb86e777e129deaffaa1d0a266da69859 (patch)
treea462534ceae6deb839f307e193ad630c583985ed
parent4dd0294a7a11d6dd8cb2890df9e66fcc17bc7937 (diff)
downloadsnes9x2002-febda24fb86e777e129deaffaa1d0a266da69859.tar.gz
snes9x2002-febda24fb86e777e129deaffaa1d0a266da69859.tar.bz2
snes9x2002-febda24fb86e777e129deaffaa1d0a266da69859.zip
Cleanups
-rw-r--r--libretro/libretro.c14
-rw-r--r--src/display.h4
2 files changed, 0 insertions, 18 deletions
diff --git a/libretro/libretro.c b/libretro/libretro.c
index 1a56c7d..b1958df 100644
--- a/libretro/libretro.c
+++ b/libretro/libretro.c
@@ -563,7 +563,6 @@ const char* S9xGetFilenameInc(const char* in) { return in; }
const char *S9xGetHomeDirectory() { return NULL; }
const char *S9xGetSnapshotDirectory() { return NULL; }
const char *S9xGetROMDirectory() { return NULL; }
-const char* S9xChooseFilename(bool8 a) { return NULL; }
bool8 S9xInitUpdate() { return TRUE; }
bool8 S9xContinueUpdate(int width, int height) { return TRUE; }
void S9xSetPalette() {}
@@ -576,17 +575,6 @@ START_EXTERN_C
void S9xToggleSoundChannel (int channel) {}
-bool8 S9xMovieActive() { return FALSE; }
-bool8 S9xMoviePlaying() { return FALSE; }
-void S9xMovieFreeze() {}
-void S9xMovieUnfreeze() {}
-int S9xMovieCreate (const char* filename, uint8 controllers_mask, uint8 opts, const wchar_t* metadata, int metadata_length) { return FALSE; }
-void S9xMovieStop (bool8 suppress_message) {}
-const char *S9xChooseMovieFilename(bool8 read_only) { return NULL; }
-void S9xMovieUpdate(bool addFrame) {}
-void S9xMovieUpdateOnReset() {}
-int S9xMovieOpen(const char* filename, bool8 read_only) { return FALSE; }
-uint32 S9xMovieGetFrameCounter() { return 0; }
const char *S9xStringInput(const char *message) { return NULL; }
END_EXTERN_C
@@ -610,8 +598,6 @@ bool8 S9xOpenSoundDevice (int mode, bool8 stereo, int buffer_size) {
const char *emptyString = "";
const char *S9xBasename (const char *filename) { return emptyString; }
-bool8 S9xOpenSnapshotFile (const char *base, bool8 read_only, STREAM *file) { *file = OPEN_STREAM(0, 0); return TRUE; }
-void S9xCloseSnapshotFile (STREAM file) { CLOSE_STREAM(file); }
void S9xMessage(int a, int b, const char* msg)
{
diff --git a/src/display.h b/src/display.h
index 43eea19..a378c44 100644
--- a/src/display.h
+++ b/src/display.h
@@ -66,10 +66,6 @@ bool8_32 S9xLoadROMImage(const char* string);
const char* S9xSelectFilename(const char* def, const char* dir,
const char* ext, const char* title);
-const char* S9xChooseFilename(bool8_32 read_only);
-bool8_32 S9xOpenSnapshotFile(const char* base, bool8_32 read_only, STREAM* file);
-void S9xCloseSnapshotFile(STREAM file);
-
const char* S9xBasename(const char* filename);
const char* S9xGetHomeDirectory();