shalma:
Duke Nukem - Land of Babes - psxmem.c
- Clear correct dynarec area
- Fixes Paradox intro crash
Dukes of Hazard 2 - psxhw.c
- 32-bit spu write
- fix engine noise
psxRcntWtarget(2, value & 0xffff); return;
default:
+ // Dukes of Hazard 2 - car engine noise
+ if (add>=0x1f801c00 && add<0x1f801e00) {
+ SPU_writeRegister(add, value&0xffff);
+ SPU_writeRegister(add + 2, value>>16);
+ return;
+ }
+
psxHu32ref(add) = SWAPu32(value);
#ifdef PSXHW_LOG
PSXHW_LOG("*Unknown 32bit write at address %x value %x\n", add, value);
DebugCheckBP((mem & 0xffffff) | 0x80000000, W2);
*(u16 *)(p + (mem & 0xffff)) = SWAPu16(value);
#ifdef PSXREC
- psxCpu->Clear((mem & (~1)), 1);
+ psxCpu->Clear((mem & (~3)), 1);
#endif
} else {
#ifdef PSXMEM_LOG