From 87c0e2767ecdca514f5e6a4923c6558a71966594 Mon Sep 17 00:00:00 2001 From: AKuHAK <621640+AKuHAK@users.noreply.github.com> Date: Sun, 8 Dec 2024 23:12:06 +0200 Subject: [PATCH] Workaround for PSX DESR --- ee/gs/src/gsFontM.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ee/gs/src/gsFontM.c b/ee/gs/src/gsFontM.c index 3c9443a..cc613a2 100644 --- a/ee/gs/src/gsFontM.c +++ b/ee/gs/src/gsFontM.c @@ -157,7 +157,12 @@ int gsKit_fontm_unpack(GSFONTM *gsFontM) if(FontMFile < 0) { printf("Failed to open FONTM from ROM0\n"); - return -1; + FontMFile = open("rom0:FONTM", O_RDONLY); + if(FontMFile < 0) + { + FontMFile = open("mc0:FONTM", O_RDONLY); + return -1; + } } PackedSize = lseek(FontMFile, 0, SEEK_END);