BSNES/Lua: Value of V and H registers appear to always be equal. #2040
Labels
Core: BSNES
Super Nintendo Entertainment System (SNES) / Super Famicom (SFC) / Super Game Boy (SGB) core
Repro: Affects 2.3/2.3.1/2.3.2
(2.3.3 has its own label)
Repro: Fixed/added in 2.5
Summary
When using the BSNES core (I have not tested others), the values of the V and H scanline registers appear to be identical at all times, as returned by the Lua emu.getregister() function.
Repro
This Lua script can demonstrate the behavior:
I have no interest in using onmemoryexecuteany, but event.onmemoryexecute targeted to the code of interest demonstrates the same behavior.
Output
This output was produced by the Lua script (truncated to only a few instructions for demo purposes):
When doing a trace log of the same frame, the results are as follows:
I've looked over some of the relevant BizHawk code and I don't see any obvious reason this should be the case, so I'd like to hope I'm simply doing something wrong.
Host env.
The text was updated successfully, but these errors were encountered: