CPU: Support stalling CPU for bus activity such as DMA

This commit is contained in:
Connor McLaughlin
2019-10-18 00:20:38 +10:00
parent 0324ae2fd7
commit 9d5f3c1306
3 changed files with 13 additions and 0 deletions

View File

@ -58,6 +58,9 @@ public:
void SetDowncount(TickCount downcount);
void Synchronize();
// Adds ticks to the global tick counter, simulating the CPU being stalled.
void StallCPU(TickCount ticks);
void SetController(u32 slot, std::shared_ptr<PadDevice> dev);
void SetMemoryCard(u32 slot, std::shared_ptr<PadDevice> dev);