Fixed put_backslash() function - PCem now correctly reads default CMOS RAM files.
This commit is contained in:
parent
a957e87da4
commit
2ebbec2863
1 changed files with 4 additions and 1 deletions
|
|
@ -444,7 +444,10 @@ void put_backslash(char *s)
|
||||||
{
|
{
|
||||||
int c = strlen(s) - 1;
|
int c = strlen(s) - 1;
|
||||||
if (s[c] != '/' && s[c] != '\\')
|
if (s[c] != '/' && s[c] != '\\')
|
||||||
s[c] = '/';
|
{
|
||||||
|
s[c+1] = '/';
|
||||||
|
s[c+2] = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
char *get_extension(char *s)
|
char *get_extension(char *s)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue