Logging: Add TextureReadback logtype and clean up code

This commit is contained in:
Exzap 2023-01-27 06:32:50 +01:00
parent 9bbfd33842
commit 387b712959
10 changed files with 112 additions and 96 deletions

View file

@ -283,7 +283,7 @@ namespace iosu
return -0x400;
}
*fileHandle = fsFileHandle;
cemuLog_log(LogType::File, "Open file {} (access: {} result: ok handle: 0x{})", path, accessModifierStr, (uint32)*fileHandle);
cemuLog_log(LogType::CoreinitFile, "Open file {} (access: {} result: ok handle: 0x{})", path, accessModifierStr, (uint32)*fileHandle);
return (FSStatus)FS_RESULT::SUCCESS;
}
@ -307,7 +307,7 @@ namespace iosu
return -0x400;
}
*dirHandle = fsDirHandle;
cemuLog_log(LogType::File, "Open directory {} (result: ok handle: 0x{})", path, (uint32)*dirHandle);
cemuLog_log(LogType::CoreinitFile, "Open directory {} (result: ok handle: 0x{})", path, (uint32)*dirHandle);
return (FSStatus)FS_RESULT::SUCCESS;
}