mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-13 05:00:59 +00:00
HACK no longer required.
svn-id: r17686
This commit is contained in:
parent
414def8566
commit
6783d3e301
@ -1670,7 +1670,7 @@ void ScummEngine_v72he::o72_jumpToScript() {
|
||||
}
|
||||
|
||||
void ScummEngine_v72he::o72_openFile() {
|
||||
int mode, slot, len, i, j;
|
||||
int mode, slot, len, i;
|
||||
byte filename[256];
|
||||
|
||||
mode = pop();
|
||||
@ -1678,20 +1678,6 @@ void ScummEngine_v72he::o72_openFile() {
|
||||
|
||||
debug(0,"Original filename %s", filename);
|
||||
|
||||
// HACK: Convert paths in lost/smaller
|
||||
if (filename[0] == ':') {
|
||||
len = resStrLen(filename) + 1;
|
||||
j = 0;
|
||||
for (i = 1; i < len; i++) {
|
||||
if (filename[i] == ':')
|
||||
filename[j++] = '/';
|
||||
else
|
||||
filename[j++] = filename[i];
|
||||
}
|
||||
filename[j] = 0;
|
||||
debug(0,"Converted filename to %s", filename);
|
||||
}
|
||||
|
||||
if (_substResFileNameIndex > 0) {
|
||||
char buf1[128];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user