You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if onmemoryexecute is called from lua, it will run RefreshMemoryCallbacks with only HasExecutes as true. Any calls to onmemorywrite or onmemoryread will still register the functions on the lua end, but the function pointer for those collections will never be passed to the core.
The text was updated successfully, but these errors were encountered:
gifvex
changed the title
lua: MemoryCallbackSystem ActiveChanged only invoked on first Add
MemoryCallbackSystem ActiveChanged only invoked on first Add
Mar 26, 2018
See: MemoryCallbackSystem.cs
This is an issue for cores that rely on the event handler to pass callbacks in:
https://github.com/TASVideos/BizHawk/blob/519e14aa1ad7a9d6df2edc7808c5ed687dfee046/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.IDebuggable.cs#L74-L84
For example, if onmemoryexecute is called from lua, it will run RefreshMemoryCallbacks with only HasExecutes as true. Any calls to onmemorywrite or onmemoryread will still register the functions on the lua end, but the function pointer for those collections will never be passed to the core.
The text was updated successfully, but these errors were encountered: