From 016a68c018540323a445e2182cd913685c5e7c70 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Mon, 8 May 2017 10:10:24 +0800 Subject: [PATCH] Silence stuffs we dont use in libretro --- src/ines.c | 4 ++-- src/sound.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ines.c b/src/ines.c index 3721b3a..65c07c3 100644 --- a/src/ines.c +++ b/src/ines.c @@ -90,7 +90,7 @@ static void iNESGI(int h) { break; case GI_CLOSE: { - FCEU_SaveGameSave(&iNESCart); + /* FCEU_SaveGameSave(&iNESCart); */ if (iNESCart.Close) iNESCart.Close(); if (ROM) { @@ -793,7 +793,7 @@ int iNESLoad(const char *name, FCEUFILE *fp) { if (!iNES_Init(MapperNo)) FCEU_PrintError("iNES mapper #%d is not supported at all.", MapperNo); - FCEU_LoadGameSave(&iNESCart); + /* FCEU_LoadGameSave(&iNESCart); */ GameInterface = iNESGI; FCEU_printf("\n"); diff --git a/src/sound.c b/src/sound.c index 14025d3..b4c5472 100644 --- a/src/sound.c +++ b/src/sound.c @@ -952,7 +952,7 @@ int FlushEmulateSound(void) { } inbuf = end; - FCEU_WriteWaveData(WaveFinal, end); /* This function will just return + /* FCEU_WriteWaveData(WaveFinal, end); This function will just return if sound recording is off. */ return(end); }