From 54cddd812a676cc4cd4d8249cbc0e5ae5dee1e43 Mon Sep 17 00:00:00 2001 From: Niko Date: Sun, 4 Feb 2024 06:13:24 -0500 Subject: [PATCH] fix audio on PSP and ePSXe --- include/psn00bsdk/include/hwregs_c.h | 4 ++-- include/psn00bsdk/local changes.txt | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/include/psn00bsdk/include/hwregs_c.h b/include/psn00bsdk/include/hwregs_c.h index 21529866f..c99f5fc5d 100644 --- a/include/psn00bsdk/include/hwregs_c.h +++ b/include/psn00bsdk/include/hwregs_c.h @@ -16,8 +16,8 @@ /* Constants */ -#define IOBASE 0xbf800000 -#define EXP1BASE 0xbf000000 +#define IOBASE 0x1f800000 +#define EXP1BASE 0x1f000000 #define F_CPU 33868800L #define F_GPU 53222400L diff --git a/include/psn00bsdk/local changes.txt b/include/psn00bsdk/local changes.txt index 2ab9d6243..128bf3a32 100644 --- a/include/psn00bsdk/local changes.txt +++ b/include/psn00bsdk/local changes.txt @@ -1,3 +1,8 @@ changed some headers < .h> to + changed #if 0 to #if 1 for SpuVolume -changed psxgpu.h to use "NikoFakeDrEnv" in DRAWENV \ No newline at end of file + +changed psxgpu.h to use "NikoFakeDrEnv" in DRAWENV + +changed hwregs_c.h 0xBFxxxxxx to 0x1Fxxxxxx, because psyq does that, + and because PSP Popsloader + ePSXe wont recognize 0xBFxxxxxx \ No newline at end of file