Loop GLScreen with custom method (#244)

* Loop GLScreen with custom method

* Fix deadlocks

* Fix screen resizing

* Change event to bool

* Try to fix quitting error

* Set title from main thread

* Queue max 1 vsync, fix high FPS after a slowdown
This commit is contained in:
ReinUsesLisp 2018-07-12 14:03:52 -03:00 committed by gdkchan
parent 37071285bc
commit cd18ab29df
4 changed files with 113 additions and 11 deletions

View file

@ -71,6 +71,11 @@ namespace Ryujinx.HLE
Os.LoadProgram(FileName);
}
public bool WaitFifo()
{
return Gpu.Fifo.Event.WaitOne(8);
}
public void ProcessFrame()
{
Gpu.Fifo.DispatchCalls();