redesign main emu loop to use timestamps instead of being a trainwreck

* cleaner code
* faster in some cases
* more accurate (on-demand compensation for timers and GPU)
* less prone to desyncs
* overall betterer
This commit is contained in:
StapleButter
2019-01-05 05:28:58 +01:00
parent 90f2c0834e
commit 669247e8c8
14 changed files with 360 additions and 412 deletions

View File

@ -34,7 +34,10 @@ public:
void WriteCnt(u32 val);
void Start();
s32 Run(s32 cycles);
void Run();
void Run9();
void Run7();
bool IsInMode(u32 mode)
{