-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telling LYs tracking bug #3
Comments
I filed Baekalfen/PyBoy#116. |
Not everyone is interested in investigating further, for whatever reason:
|
"For whatever reason" is because "they shouldn't fire all on the same scanline" is a purely statistical take. It's not a bug in the strict sense that it's statistically impossible to press all the buttons on the same scanline, that's just the reality of a human playing the game. But a TAS machine could be rigged up to present this input on a real GB, thus reproducing your "bug" on hardware. And while there may be games that are "affected" by this, in general...no one really cares. |
Mostly I see it as a matter of reliability of button press timing as a source of entropy. I filed two issues against Mesen-SX |
This is a meta-issue for issues filed against emulators for failing the "Telling LYs?" test ROM.
Input changes on same scanline every time
A program can tell that it's running on
$emulator
because the buttons always change right at vblank.To reproduce:
$emulator
$download_link
$buttoncount
buttons in any orderExpect: Arrow moves after each press, followed by "Pass", as on my
$console
Actual: Arrow stays at
$side
of the screen, followed by an "Incorrect behavior" message that clearly isn't "Pass"The Game Boy emulator BGB by beware passes this test. Normally it changes the input on the first scanline of vertical blanking to reduce input latency. But if a program reads input multiple times during a frame, the emulator starts to randomize on which scanline the input changes. This way, the program can't discern that it's being emulated and freeze on a copy protection screen, but it adds one frame of lag. Once the program returns to polling once a frame, BGB returns to the low-latency behavior.
Related forum topic:
$NESdev_BBS_link
When filing a Telling LYs bug, fill in the above template with the appropriate console name, button count, emulator name, BBS topic, download link, and failure side. BBS topics are listed below:
The text was updated successfully, but these errors were encountered: