mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00: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:
parent
0b81640dd1
commit
f5c550e9cb
5 changed files with 29 additions and 22 deletions
|
@ -61,8 +61,8 @@ void DoState(PointerWrap& p);
|
|||
void RegisterMMIO(MMIO::Mapping* mmio, u32 base);
|
||||
|
||||
// gfx backend support
|
||||
void SetToken(const u16 token, const bool interrupt);
|
||||
void SetFinish();
|
||||
void SetToken(const u16 token, const bool interrupt, int cycle_delay);
|
||||
void SetFinish(int cycle_delay);
|
||||
UPEAlphaReadReg GetAlphaReadMode();
|
||||
|
||||
} // namespace PixelEngine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue