[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:
water111 2023-06-04 10:57:34 -04:00 committed by GitHub
parent c23bef45bb
commit fee91d2240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}