From a32524f15a568717160fc11be1d39dc90326d7ce Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Wed, 16 Aug 2023 22:22:39 -0400 Subject: [PATCH] Oops, forgot to remove Platform::WriteNDSSave from platform.cpp --- melondsds_libretro.info | 2 +- src/libretro/platform/platform.cpp | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/melondsds_libretro.info b/melondsds_libretro.info index 6a837665..cb1772a2 100644 --- a/melondsds_libretro.info +++ b/melondsds_libretro.info @@ -6,7 +6,7 @@ corename = "melonDS DS" categories = "Emulator" license = "GPLv3" permissions = "" -display_version = "0.3.3" +display_version = "0.3.4" # Hardware Information manufacturer = "Nintendo" diff --git a/src/libretro/platform/platform.cpp b/src/libretro/platform/platform.cpp index 1ba9871e..532c26e8 100644 --- a/src/libretro/platform/platform.cpp +++ b/src/libretro/platform/platform.cpp @@ -219,16 +219,6 @@ void Platform::Sleep(u64 usecs) { sleep_impl(usecs); } -void Platform::WriteNDSSave(const u8 *savedata, u32 savelen, u32 writeoffset, u32 writelen) { - // TODO: Implement a Fast SRAM mode where the frontend is given direct access to the SRAM buffer - if (melonds::sram::NdsSaveManager) { - melonds::sram::NdsSaveManager->Flush(savedata, savelen, writeoffset, writelen); - - // No need to maintain a flush timer for NDS SRAM, - // because retro_get_memory lets us delegate autosave to the frontend. - } -} - void Platform::Camera_Start(int num) { if (_camera.start) { if (_camera.start()) {