mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Merge pull request #20566 from hrydgard/atrac-cleanup
Atrac code cleanup, logging and comment fixes
This commit is contained in:
1 parent
dde8d22ba6
commit
db5ef6fb87
17 files changed
+462
-389
No files matched your search
+2
-2
@@ -295,7 +295,7 @@ static bool CPU_Init(FileLoader *fileLoader, IdentifiedFileType type, std::strin
|
||||
// TODO: Better would be to check that it was loaded successfully.
|
||||
if (!File::Exists(g_CoreParameter.fileToStart / INDEX_FILENAME)) {
|
||||
auto sc = GetI18NCategory(I18NCat::SCREEN);
|
||||
g_OSD.Show(OSDType::MESSAGE_CENTERED_WARNING, sc->T("ExtractedIsoWarning", "Extracted ISOs often don't work.\nPlay the ISO file directly."), g_CoreParameter.fileToStart.ToVisualString(), 7.0f);
|
||||
g_OSD.Show(OSDType::MESSAGE_WARNING, sc->T("ExtractedIsoWarning", "Extracted ISOs often don't work.\nPlay the ISO file directly."), g_CoreParameter.fileToStart.ToVisualString(), 7.0f);
|
||||
} else {
|
||||
INFO_LOG(Log::Loader, "Extracted ISO loaded without warning - %s is present.", INDEX_FILENAME.c_str());
|
||||
}
|
||||
@@ -950,7 +950,7 @@ void DumpFileIfEnabled(const u8 *dataPtr, const u32 length, std::string_view nam
|
||||
fwrite(dataPtr, sizeof(u8), lengthToWrite, file);
|
||||
fclose(file);
|
||||
|
||||
INFO_LOG(Log::sceModule, "Successfully wrote %s to %s", DumpFileTypeToString(type), fullPath.c_str());
|
||||
INFO_LOG(Log::sceModule, "Successfully wrote %s to %s", DumpFileTypeToString(type), fullPath.ToVisualString().c_str());
|
||||
|
||||
char *path = new char[strlen(fullPath.c_str()) + 1];
|
||||
strcpy(path, fullPath.c_str());
|
||||
|
||||
Reference in new issue
Block a user