mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 00:34:18 +01:00
Only unlock GPU channel state on queue wait if it was previously locked
This commit is contained in:
parent
a5e0a64adc
commit
d849875656
@ -359,9 +359,11 @@ namespace skyline::soc::gm20b {
|
||||
}, [this, &channelLocked]() {
|
||||
// If we run out of GpEntries to process ensure we submit any remaining GPU work before waiting for more to arrive
|
||||
Logger::Debug("Finished processing pushbuffer batch");
|
||||
if (channelLocked) {
|
||||
channelCtx.executor.Submit();
|
||||
channelCtx.Unlock();
|
||||
channelLocked = false;
|
||||
}|
|
||||
});
|
||||
} catch (const signal::SignalException &e) {
|
||||
if (e.signal != SIGINT) {
|
||||
|
Loading…
Reference in New Issue
Block a user