mirror of
https://github.com/retro100/dosbox-wii.git
synced 2024-11-05 01:45:11 +01:00
fix for Issue 9
This commit is contained in:
parent
70c08ab644
commit
e09f1acccf
@ -29,12 +29,12 @@ void CreateAppPath(char origpath[])
|
|||||||
if (loc != NULL)
|
if (loc != NULL)
|
||||||
*loc = 0; // strip file name
|
*loc = 0; // strip file name
|
||||||
|
|
||||||
loc = strchr(path,'/'); // looking for / from fat:/
|
loc = strchr(path,'/'); // looking for / from fat:/ (or sd:/)
|
||||||
if (loc != NULL)
|
if (loc != NULL)
|
||||||
pos = loc - path + 1;
|
pos = loc - path + 1;
|
||||||
|
|
||||||
if(pos >= 0 && pos < 1024)
|
if(pos >= 0 && pos < 1024)
|
||||||
sprintf(appPath, &(path[pos]));
|
sprintf(appPath, "sd:/%s", &(path[pos]));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WiiMessagePause(const char *s) {
|
bool WiiMessagePause(const char *s) {
|
||||||
|
Loading…
Reference in New Issue
Block a user