spu2: Rename spu2x to SPU2 in some logs.

This commit is contained in:
lightningterror 2021-02-23 18:18:07 +01:00
parent 87eb7f1e1f
commit 2243b56115
2 changed files with 9 additions and 9 deletions

View File

@ -93,7 +93,7 @@ int targetIPS = 750;
// Dynamic tuning can have a slight negative effect on the behavior of the algorithm, so it's preferred to have it off.
//Currently it looks like it's around 750/sec on all systems when playing at 100% speed (50/60fps),
// and proportional to that speed otherwise.
//If changes are made to SPU2X which affects this number (but it's still the same on all systems), then just change targetIPS.
//If changes are made to SPU2 which affects this number (but it's still the same on all systems), then just change targetIPS.
//If we find out that some systems are very different, we can turn on dynamic tuning by uncommenting the next line.
//#define NEWSTRETCHER_USE_DYNAMIC_TUNING

View File

@ -729,40 +729,40 @@ void V_Core::WriteRegPS1(u32 mem, u16 value)
case 0x1d90: // Channel FM (pitch lfo) mode (0-15)
SPU2_FastWrite(REG_S_PMON, value);
if (value != 0)
ConLog("spu2x warning: wants to set Pitch Modulation reg1 to %x \n", value);
ConLog("SPU2 warning: wants to set Pitch Modulation reg1 to %x \n", value);
break;
case 0x1d92: // Channel FM (pitch lfo) mode (16-23)
SPU2_FastWrite(REG_S_PMON + 2, value);
if (value != 0)
ConLog("spu2x warning: wants to set Pitch Modulation reg2 to %x \n", value);
ConLog("SPU2 warning: wants to set Pitch Modulation reg2 to %x \n", value);
break;
case 0x1d94: // Channel Noise mode (0-15)
SPU2_FastWrite(REG_S_NON, value);
if (value != 0)
ConLog("spu2x warning: wants to set Channel Noise mode reg1 to %x\n", value);
ConLog("SPU2 warning: wants to set Channel Noise mode reg1 to %x\n", value);
break;
case 0x1d96: // Channel Noise mode (16-23)
SPU2_FastWrite(REG_S_NON + 2, value);
if (value != 0)
ConLog("spu2x warning: wants to set Channel Noise mode reg2 to %x\n", value);
ConLog("SPU2 warning: wants to set Channel Noise mode reg2 to %x\n", value);
break;
case 0x1d98: // 1F801D98h - Voice 0..23 Reverb mode aka Echo On (EON) (R/W)
//Regs.VMIXEL = value & 0xFFFF;
SPU2_FastWrite(REG_S_VMIXEL, value);
SPU2_FastWrite(REG_S_VMIXER, value);
//ConLog("spu2x warning: setting reverb mode reg1 to %x \n", Regs.VMIXEL);
//ConLog("SPU2 warning: setting reverb mode reg1 to %x \n", Regs.VMIXEL);
break;
case 0x1d9a: // 1F801D98h + 2 - Voice 0..23 Reverb mode aka Echo On (EON) (R/W)
//Regs.VMIXEL = value << 16;
SPU2_FastWrite(REG_S_VMIXEL + 2, value);
SPU2_FastWrite(REG_S_VMIXER + 2, value);
//ConLog("spu2x warning: setting reverb mode reg2 to %x \n", Regs.VMIXEL);
//ConLog("SPU2 warning: setting reverb mode reg2 to %x \n", Regs.VMIXEL);
break;
// this was wrong? // edit: appears so!
@ -777,12 +777,12 @@ void V_Core::WriteRegPS1(u32 mem, u16 value)
//break;
case 0x1d9c: // Voice 0..15 ON/OFF (status) (ENDX) (R) // writeable but hw overrides it shortly after
//Regs.ENDX &= 0xff0000;
ConLog("spu2x warning: wants to set ENDX reg1 to %x \n", value);
ConLog("SPU2 warning: wants to set ENDX reg1 to %x \n", value);
break;
case 0x1d9e: // // Voice 15..23 ON/OFF (status) (ENDX) (R) // writeable but hw overrides it shortly after
//Regs.ENDX &= 0xffff;
ConLog("spu2x warning: wants to set ENDX reg2 to %x \n", value);
ConLog("SPU2 warning: wants to set ENDX reg2 to %x \n", value);
break;
case 0x1da2: // Reverb work area start