mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 06:46:24 +02:00
misc: chore: move Rainbow updating to a separate task started/stopped as needed
update gommon & use the Event class from it to allow easily clearing all handlers when the apphost exits to avoid leftover invalid event handlers in the rainbow event handler list. More robust config application logic to ensure what needs to happen only happens once
This commit is contained in:
parent
9b6afa0ea2
commit
3b5f6170d1
5 changed files with 68 additions and 31 deletions
|
@ -168,8 +168,6 @@ namespace Ryujinx.SDL2.Common
|
|||
HandleSDLEvent(ref evnt);
|
||||
}
|
||||
});
|
||||
|
||||
Rainbow.Tick();
|
||||
|
||||
waitHandle.Wait(WaitTimeMs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue