mirror of
https://github.com/open-goal/jak-project
synced 2026-08-04 09:09:52 -04:00
[IOP] revert change that ran the iop way too much (#2681)
This caused the IOP thread to use a full core always, just spinning on this. I didn't mean to leave this in.
This commit is contained in:
+1
-2
@@ -317,8 +317,7 @@ void iop_runner(SystemThreadInterface& iface, GameVersion version) {
|
||||
// The IOP scheduler informs us of how many microseconds are left until it has something to do.
|
||||
// So we can wait for that long or until something else needs it to wake up.
|
||||
auto wait_duration = iop.kernel.dispatch();
|
||||
if (wait_duration &&
|
||||
*wait_duration - std::chrono::steady_clock::now() > std::chrono::microseconds(100)) {
|
||||
if (wait_duration) {
|
||||
iop.wait_run_iop(*wait_duration);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user