-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys_game: Implemented sys_game_get_rtc_status() & Updated sys_game_board_storage_read() #13268
Conversation
I want to sleep, I gave you the LV2 disassembly in the past. |
If you had counted only on ghidra that parameter would be deemed unused, ghidra is not always trustworthy. |
Alright, noted that. |
Okay, I've confirmed that the buffer |
I'm really not a big fan of having a thread at 100% usage, the sleep is only 200us. If it is not rescheduled in time the system is probably already overwhelmed. So yes it will reduce latency on an overwhelmed system but it will reduce perf in all games that use usb devices for really no reason. I personally tried Taiko and didn't notice any lag from input with that 200us sleep. The current sleep is obviously not ideal but removing the sleep really isn't either. |
Thank you for your suggestion. |
After looking into a number of System 357 games' decompilation, I figured out that the buffer
status
is supposed be set to all 0 bysys_game_get_rtc_status()
if the RTC is successfully checked (required by Dark Escape 4D).Also, with more System 357 games being discovered, I figured out that sys_game_board_storage_read() should always give
buffer1
all 0, and players are responsible for setting a correct PSID in the emulator configuration on a game basis in order to play System 357 games.