Skip to content

Commit

Permalink
Oops, forgot to remove Platform::WriteNDSSave from platform.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Aug 17, 2023
1 parent a3893da commit a32524f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion melondsds_libretro.info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 0 additions & 10 deletions src/libretro/platform/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit a32524f

Please sign in to comment.