fix bug in splitpath that made tas savestate filename generation fail
This commit is contained in:
parent
a91d2c414e
commit
29736a18f6
|
@ -343,7 +343,7 @@ void splitpath(const char* path, char* drv, char* dir, char* name, char* ext)
|
|||
for(s=end; (*ext=*s++); )
|
||||
ext++;
|
||||
else
|
||||
for(s=end; *s++; )
|
||||
for(s=end; *s++; ) {}
|
||||
|
||||
/* search for end of directory name */
|
||||
for(p=end; p>path; )
|
||||
|
|
Loading…
Reference in New Issue