mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-12 03:56:26 +00:00
Merge pull request #355 from Asmodean-/master
Add reg.chcr warning check.
This commit is contained in:
commit
fda48f3d55
@ -270,7 +270,12 @@ static __ri void DmaExec( void (*func)(), u32 mem, u32 value )
|
||||
//Final Fantasy XII sets the DMA Mode to 3 which doesn't exist. On some channels (like SPR) this will break logic completely. so lets assume they mean chain.
|
||||
if (reg.chcr.MOD == 0x3)
|
||||
{
|
||||
DevCon.Warning(L"%s CHCR.MOD set to 3, assuming 1 (chain)", ChcrName(mem));
|
||||
static bool warned; //Check if the warning has already been output to console, to prevent constant spam.
|
||||
if (!warned)
|
||||
{
|
||||
DevCon.Warning(L"%s CHCR.MOD set to 3, assuming 1 (chain)", ChcrName(mem));
|
||||
warned = true;
|
||||
}
|
||||
reg.chcr.MOD = 0x1;
|
||||
}
|
||||
if (reg.chcr.STR && dmacRegs.ctrl.DMAE && !psHu8(DMAC_ENABLER+2))
|
||||
|
Loading…
Reference in New Issue
Block a user