encore: add lag detection

This commit is contained in:
CasualPokePlayer 2024-03-08 20:25:25 -08:00
parent 59176ca2d3
commit 90369fce13
4 changed files with 3 additions and 3 deletions

Binary file not shown.

@ -1 +1 @@
Subproject commit dcc66239fafafbf596436758b714798e0960c507
Subproject commit 361ec298fb82399b8bd4b3d6fbc32d87398035c7

View File

@ -33,7 +33,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.N3DS
WireMemoryDomains();
}
_core.Encore_RunFrame(_context);
IsLagFrame = _core.Encore_RunFrame(_context);
OnVideoRefresh();

View File

@ -116,7 +116,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.N3DS
public abstract bool Encore_LoadROM(IntPtr context, string romPath, byte[] errorMessageBuffer, int errorMessageBufferLen);
[BizImport(cc)]
public abstract void Encore_RunFrame(IntPtr context);
public abstract bool Encore_RunFrame(IntPtr context);
[BizImport(cc)]
public abstract void Encore_Reset(IntPtr context);