Skip to content

Commit

Permalink
IPU: Perform an interrupt on IPU_CTRL Reset. (#3555)
Browse files Browse the repository at this point in the history
* IPU: Perform an interrupt on IPU_CTRL Reset.
Doing this reset performs a forced command end, meaning the IPU will run through the procedure of ending any command running and telling the core that it is done, even if there is no command currently active.
Fixes Fightbox

* Remove Fightbox patch
  • Loading branch information
refractionpcsx2 committed Jul 24, 2020
1 parent a1acaaa commit b283826
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions bin/GameIndex.dbf
Expand Up @@ -9949,12 +9949,6 @@ Serial = SLES-51390
Name = Fightbox
Region = PAL-E
vuClampMode = 0 // Fixes missing 3D
[patches = E7EFA0BF]
comment= Gets around GS SIGNAL hang, game expects value other than C in SIGNAL but the PATH2 packet sends double 0xC
comment= The SIGNAL value is compared to the value at address 0x34CDF3, if this address contains 0x4 (OR'd with 0x8)
commend= the interrupt doesn't get acknoledged and cleared and so the PATH2 packet hangs
patch=1,EE,001f5a0c,word,30840008
[/patches]
---------------------------------------------
Serial = SLES-51391
Name = RTL Skispringen 2003
Expand Down
1 change: 1 addition & 0 deletions pcsx2/IPU/IPU.cpp
Expand Up @@ -283,6 +283,7 @@ void ipuSoftReset()
ipuRegs.cmd.DATA = 0; // required for Enthusia - Professional Racing after fix, or will freeze at start of next video.

memzero(g_BP);
hwIntcIrq(INTC_IPU); // required for FightBox
}

__fi bool ipuWrite32(u32 mem, u32 value)
Expand Down

0 comments on commit b283826

Please sign in to comment.