Rewire memory domain pointers after reset in Citra

Add 3DS framerate in PlatformFrameRates
This commit is contained in:
CasualPokePlayer 2023-07-31 21:22:57 -07:00
parent 1ee2ef928c
commit 811275cca8
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ namespace BizHawk.Client.Common
["GBA"] = 262144.0 / 4389.0, // 59.7275005696
["NDS"] = 33513982.0 / 560190.0, // 59.8260982881
["3DS"] = 268111856.0 / 4481136.0, // 59.8312249394
["GEN"] = 53693175 / (3420.0 * 262),
["GEN_PAL"] = 53203424 / (3420.0 * 313),

View File

@ -29,6 +29,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.N3DS
if (_controller.IsPressed("Reset"))
{
_core.Citra_Reset(_context);
// memory domain pointers are no longer valid, reset them
WireMemoryDomains();
}
_core.Citra_RunFrame(_context);