mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 17:29:11 +00:00
Do not call static class methods as if they were instance methods
svn-id: r22172
This commit is contained in:
parent
8bb9ae92ad
commit
8fdcfedf19
@ -329,7 +329,7 @@ void Disk::dumpFile(uint16 fileNr) {
|
||||
filePtr = loadFile(fileNr);
|
||||
sprintf(buf, "dumps/file-%d.dmp", fileNr);
|
||||
|
||||
if (!out.exists(buf)) {
|
||||
if (!Common::File::exists(buf)) {
|
||||
if (out.open(buf, Common::File::kFileWriteMode))
|
||||
out.write(filePtr, _lastLoadedFileSize);
|
||||
}
|
||||
|
@ -333,7 +333,7 @@ byte *ResourceManager::openResource(uint32 res, bool dump) {
|
||||
sprintf(buf, "dumps/%s-%d.dmp", tag, res);
|
||||
#endif
|
||||
|
||||
if (!out.exists(buf)) {
|
||||
if (!Common::File::exists(buf)) {
|
||||
if (out.open(buf, Common::File::kFileWriteMode))
|
||||
out.write(_resList[res].ptr, len);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user