Made handling of base cart paths more logical codewise.
This commit is contained in:
@@ -3410,20 +3410,13 @@ NEWSYM loadfileGUI
|
|||||||
mov dword[ZOpenFileName],edx
|
mov dword[ZOpenFileName],edx
|
||||||
|
|
||||||
;This is to get the C stuff to see these variables
|
;This is to get the C stuff to see these variables
|
||||||
xor ecx,ecx
|
mov ebx,STPath
|
||||||
.pathcopy
|
mov [ST_Path],ebx
|
||||||
mov edx,dword[STPath+ecx]
|
mov ebx,GNextPath
|
||||||
mov dword[ST_Path+ecx],edx
|
mov [GNext_Path],ebx
|
||||||
mov edx,dword[GNextPath+ecx]
|
mov ebx,SGPath
|
||||||
mov dword[GNext_Path+ecx],edx
|
mov [SG_Path],ebx
|
||||||
mov edx,dword[SGPath+ecx]
|
|
||||||
mov dword[SG_Path+ecx],edx
|
|
||||||
add ecx,4
|
|
||||||
cmp ecx,1024
|
|
||||||
je .donepathcopy
|
|
||||||
jmp .pathcopy
|
|
||||||
|
|
||||||
.donepathcopy
|
|
||||||
pushad
|
pushad
|
||||||
call loadROM
|
call loadROM
|
||||||
popad
|
popad
|
||||||
|
|||||||
@@ -668,9 +668,7 @@ void SplitSetup(char *basepath, char *basefile, unsigned int MirrorSystem)
|
|||||||
SplittedROM = true;
|
SplittedROM = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
char ST_Path[1024];
|
char *ST_Path, *GNext_Path, *SG_Path;
|
||||||
char GNext_Path[1024];
|
|
||||||
char SG_Path[1024];
|
|
||||||
void SplitSupport()
|
void SplitSupport()
|
||||||
{
|
{
|
||||||
unsigned char *ROM = (unsigned char *)romdata;
|
unsigned char *ROM = (unsigned char *)romdata;
|
||||||
|
|||||||
Reference in New Issue
Block a user