mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
GOB: Add a sanity check to the copyFile stub
svn-id: r55647
This commit is contained in:
parent
4588d4cc97
commit
e4a9cafab8
@ -366,8 +366,16 @@ void Inter_Playtoons::oPlaytoons_CD_25() {
|
||||
}
|
||||
|
||||
void Inter_Playtoons::oPlaytoons_copyFile() {
|
||||
Common::String file1 = _vm->_game->_script->evalString();
|
||||
Common::String file2 = _vm->_game->_script->evalString();
|
||||
Common::String path1 = _vm->_game->_script->evalString();
|
||||
Common::String path2 = _vm->_game->_script->evalString();
|
||||
|
||||
Common::String file1 = getFile(path1.c_str());
|
||||
Common::String file2 = getFile(path2.c_str());
|
||||
|
||||
if (file1.equalsIgnoreCase(file2)) {
|
||||
warning("oPlaytoons_copyFile(): \"%s\" == \"%s\"", path1.c_str(), path2.c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
warning("Playtoons Stub: copy file from \"%s\" to \"%s\"", file1.c_str(), file2.c_str());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user