mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Delay singlecore gpu interrupts
Fixes Bomberman Jetters in single core mode. When single core mode pauses the CPU to execute the GPU FIFO it greedily executes the whole thing. Before this commit, Finish and Token interrupts would happen instantly, not even taking into account how long the current FIFO window has taken to execute. The interrupts would be effectively backdated to the start of this execution window. This commit does two things: It pipes the current FIFO window execution time though to the interrupt scheduling and it enforces a minimum delay of 500 cycles before an interrupt will be fired.
This commit is contained in:
@ -2205,7 +2205,7 @@ struct BPMemory
|
||||
|
||||
extern BPMemory bpmem;
|
||||
|
||||
void LoadBPReg(u32 value0);
|
||||
void LoadBPRegPreprocess(u32 value0);
|
||||
void LoadBPReg(u32 value0, int cycles_into_future);
|
||||
void LoadBPRegPreprocess(u32 value0, int cycles_into_future);
|
||||
|
||||
std::pair<std::string, std::string> GetBPRegInfo(u8 cmd, u32 cmddata);
|
||||
|
Reference in New Issue
Block a user