foxygit / fake-08-xbox360 Log in
commit 09bdede9eeda4c6a29ff38c856eda2134bdb08e7
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sun Sep 18 19:58:46 2022 -0600
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sun Sep 18 19:58:46 2022 -0600

    implment libretro retro_reset
---
 platform/libretro/libretro.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platform/libretro/libretro.cpp b/platform/libretro/libretro.cpp
index 1344f7f..651efde 100644
--- a/platform/libretro/libretro.cpp
+++ b/platform/libretro/libretro.cpp
@@ -174,6 +174,7 @@ EXPORT void retro_set_controller_port_device(unsigned port, unsigned device)

 EXPORT void retro_reset()
 {
+    _vm->QueueCartChange(_vm->CurrentCartFilename());
 }

 static std::array<int, 7> buttons