Using SamB's idea.

This commit is contained in:
n-a-c-h
2004-01-13 23:34:19 +00:00
parent d0f86d6a9b
commit 470f176a16

View File

@@ -668,9 +668,9 @@ void SplitSetup(char *basepath, char *basefile, unsigned int MirrorSystem)
SplittedROM = true; SplittedROM = true;
} }
extern char STPath; extern char STPath[1024];
extern char GNextPath; extern char GNextPath[1024];
extern char SGPath; extern char SGPath[1024];
void SplitSupport() void SplitSupport()
{ {
unsigned char *ROM = (unsigned char *)romdata; unsigned char *ROM = (unsigned char *)romdata;
@@ -682,7 +682,7 @@ void SplitSupport()
{ {
addOnStart = 0x200000; addOnStart = 0x200000;
addOnSize = 0x80000; addOnSize = 0x80000;
SplitSetup(&SGPath, "SAMEGAME.ZIP", 1); SplitSetup(SGPath, "SAMEGAME.ZIP", 1);
} }
//SD Gundam G-Next add on //SD Gundam G-Next add on
@@ -691,7 +691,7 @@ void SplitSupport()
{ {
addOnStart = 0x400000; addOnStart = 0x400000;
addOnSize = 0x80000; addOnSize = 0x80000;
SplitSetup(&GNextPath, "G-NEXT.ZIP", 2); SplitSetup(GNextPath, "G-NEXT.ZIP", 2);
addOnStart = 0x200000; addOnStart = 0x200000;
} }
@@ -700,7 +700,7 @@ void SplitSupport()
{ {
addOnStart = 0x100000; addOnStart = 0x100000;
addOnSize = curromspace; addOnSize = curromspace;
SplitSetup(&STPath, "STBIOS.ZIP", 3); SplitSetup(STPath, "STBIOS.ZIP", 3);
} }
} }