From 0f10db36216c0e4fc30a5c0ab7b5cbdc469d5739 Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Tue, 14 Jan 2025 20:07:40 +0100 Subject: [PATCH] Add some TODOs --- .gitignore | 1 + platforms/libretro/libretro.cpp | 14 +++++++------- src/geargrafx_core.cpp | 5 +++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 88e67b4..b12b681 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6 +52,7 @@ desktop.ini *.sav *.tmp *.state* +TODO #Xcode *.xcuserstate diff --git a/platforms/libretro/libretro.cpp b/platforms/libretro/libretro.cpp index 9947e22..f0e0cfa 100644 --- a/platforms/libretro/libretro.cpp +++ b/platforms/libretro/libretro.cpp @@ -307,7 +307,7 @@ void retro_unload_game(void) unsigned retro_get_region(void) { - // TODO + // TODO [libretro] Implement region detection return RETRO_REGION_NTSC; } @@ -321,19 +321,19 @@ bool retro_load_game_special(unsigned game_type, const struct retro_game_info *i size_t retro_serialize_size(void) { - // TODO + // TODO [libretro] Implement save states return 0; } bool retro_serialize(void *data, size_t size) { - // TODO + // TODO [libretro] Implement save states return false; } bool retro_unserialize(const void *data, size_t size) { - // TODO + // TODO [libretro] Implement save states return false; } @@ -345,7 +345,7 @@ void *retro_get_memory_data(unsigned id) return NULL; case RETRO_MEMORY_SYSTEM_RAM: return NULL; - // TODO + // TODO [libretro] Implement memory access for cheevos //return core->GetMemory()->GetRam(); } @@ -367,12 +367,12 @@ size_t retro_get_memory_size(unsigned id) void retro_cheat_reset(void) { - // TODO + // TODO [libretro] Implement cheats } void retro_cheat_set(unsigned index, bool enabled, const char *code) { - // TODO + // TODO [libretro] Implement cheats } static void set_controller_info(void) diff --git a/src/geargrafx_core.cpp b/src/geargrafx_core.cpp index 53bc3c6..7b854b8 100644 --- a/src/geargrafx_core.cpp +++ b/src/geargrafx_core.cpp @@ -290,7 +290,7 @@ void GeargrafxCore::ResetSound() // void GeargrafxCore::SaveRam(const char*, bool) // { -// // TODO +// // TODO Implement save ram // } // void GeargrafxCore::LoadRam() @@ -300,11 +300,12 @@ void GeargrafxCore::ResetSound() // void GeargrafxCore::LoadRam(const char*, bool) // { -// // TODO +// // TODO Implement load ram // } // void GeargrafxCore::SaveState(int index) // { +// TODO Implement save states // Log("Creating save state %d...", index); // SaveState(NULL, index);