From 35e2fbe238b33f1f49255fbf203cddbfc5dc5cf8 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Mon, 15 Jun 2009 16:31:56 +0000 Subject: [PATCH] *Added missing "Child" language *Fixed "Eject Error" --- source/language/language.c | 4 ++++ source/usbloader/disc.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/language/language.c b/source/language/language.c index a00cb00a..7df1159b 100644 --- a/source/language/language.c +++ b/source/language/language.c @@ -386,6 +386,10 @@ void language_set(char *name, char *val) strcopy(LANGUAGE.Cantdelete, val, sizeof(LANGUAGE.Cantdelete)); return; } + if (strcmp(name, "Child") == 0) { + strcopy(LANGUAGE.Child, val, sizeof(LANGUAGE.Child)); + return; + } if (strcmp(name, "ClicktoDownloadCovers") == 0) { strcopy(LANGUAGE.ClicktoDownloadCovers, val, sizeof(LANGUAGE.ClicktoDownloadCovers)); return; diff --git a/source/usbloader/disc.c b/source/usbloader/disc.c index 4eb9f153..13813953 100644 --- a/source/usbloader/disc.c +++ b/source/usbloader/disc.c @@ -35,9 +35,9 @@ void __Disc_SetLowMem(void) *(vu32 *)0x80000060 = 0x38A00040; *(vu32 *)0x800000E4 = 0x80431A80; *(vu32 *)0x800000EC = 0x81800000; // Dev Debugger Monitor Address - *(vu32 *)0x800000F0 = 0x01800000; // Simulated Memory Size + *(vu32 *)0x800000F0 = 0x01800000; // Simulated Memory Size - *(vu32*)0x80003184 = 0x80000000; // Game ID Address + //*(vu32*)0x80003184 = 0x80000000; // Game ID Address /* Copy disc ID */ memcpy((void *)0x80003180, (void *)0x80000000, 4);