mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
fixed crash on linux, added DISCIO logging type, some extra logging messages and some logging cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2533 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -174,6 +174,11 @@ bool CreateFullPath(const char *fullPath)
|
||||
int panicCounter = 100;
|
||||
INFO_LOG(COMMON, "CreateFullPath: path %s\n", fullPath);
|
||||
|
||||
if (File::Exists(fullPath)) {
|
||||
INFO_LOG(COMMON, "CreateFullPath: path exists %s\n", fullPath);
|
||||
return true;
|
||||
}
|
||||
|
||||
const char *position = fullPath;
|
||||
while (true) {
|
||||
// Find next sub path, support both \ and / directory separators
|
||||
@ -329,6 +334,7 @@ u64 GetSize(const char *filename)
|
||||
// on windows it's actually _stat64 defined in commonFuncs
|
||||
struct stat64 buf;
|
||||
if (stat64(filename, &buf) == 0) {
|
||||
DEBUG_LOG(COMMON, "GetSize: %s: %d", filename, buf.st_size);
|
||||
return buf.st_size;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user