Reduced input latency and improved gyro by moving input polling to main game thread and moving frame wait to after DL submission, fixed bluetooth dualsense gyro

This commit is contained in:
Mr-Wiseguy
2024-03-21 02:46:08 -04:00
parent 8db2c655c3
commit 976bfa1969
10 changed files with 178 additions and 4 deletions
+1
View File
@@ -316,6 +316,7 @@ void gfx_thread_func(uint8_t* rdram, std::atomic_flag* thread_ready, ultramodern
RT64EnableInstantPresent(application);
enabled_instant_present = true;
}
ultramodern::measure_input_latency();
// Tell the game that the RSP completed instantly. This will allow it to queue other task types, but it won't
// start another graphics task until the RDP is also complete. Games usually preserve the RSP inputs until the RDP
// is finished as well, so sending this early shouldn't be an issue in most cases.