Use PanicAlertT instead of PanicAlert when appropriate

I tried to change messages that contained instructions for users,
while avoiding messages that are so technical that most users
wouldn't understand them even if they were in the right language.
This commit is contained in:
JosJuice
2015-06-04 13:25:06 +02:00
parent 98ed5881ab
commit 95a2abc1ce
13 changed files with 47 additions and 56 deletions
+3 -2
View File
@@ -179,13 +179,14 @@ bool CBoot::Load_BS2(const std::string& _rBootROMFilename)
ipl_region = EUR_DIR;
break;
default:
PanicAlert("IPL with unknown hash %x", ipl_hash);
PanicAlertT("IPL with unknown hash %x", ipl_hash);
break;
}
std::string BootRegion = _rBootROMFilename.substr(_rBootROMFilename.find_last_of(DIR_SEP) - 3, 3);
if (BootRegion != ipl_region)
PanicAlert("%s IPL found in %s directory. The disc may not be recognized", ipl_region.c_str(), BootRegion.c_str());
PanicAlertT("%s IPL found in %s directory. The disc might not be recognized",
ipl_region.c_str(), BootRegion.c_str());
// Run the descrambler over the encrypted section containing BS1/BS2
CEXIIPL::Descrambler((u8*)data.data() + 0x100, 0x1AFE00);
+1 -1
View File
@@ -430,7 +430,7 @@ void EmuThread()
{
HW::Shutdown();
g_video_backend->Shutdown();
PanicAlert("Failed to initialize DSP emulator!");
PanicAlert("Failed to initialize DSP emulation!");
Host_Message(WM_USER_STOP);
return;
}
+4 -2
View File
@@ -87,12 +87,14 @@ UCodeInterface* UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii)
default:
if (wii)
{
PanicAlert("DSPHLE: Unknown ucode (CRC = %08x) - forcing AXWii.\n\nTry LLE emulator if this is homebrew.", crc);
PanicAlertT("This title might be incompatible with DSP HLE emulation. Try using LLE if this is homebrew.\n\n"
"Unknown ucode (CRC = %08x) - forcing AXWii.", crc);
return new AXWiiUCode(dsphle, crc);
}
else
{
PanicAlert("DSPHLE: Unknown ucode (CRC = %08x) - forcing AX.\n\nTry LLE emulator if this is homebrew.", crc);
PanicAlertT("This title might be incompatible with DSP HLE emulation. Try using LLE if this is homebrew.\n\n"
"DSPHLE: Unknown ucode (CRC = %08x) - forcing AX.", crc);
return new AXUCode(dsphle, crc);
}
+2 -1
View File
@@ -532,7 +532,8 @@ void ChangeDisc(const std::string& newFileName)
auto sizeofpath = fileName.find_last_of("/\\") + 1;
if (fileName.substr(sizeofpath).length() > 40)
{
PanicAlert("Saving iso filename to .dtm failed; max file name length is 40 characters.");
PanicAlertT("The disc change to \"newFileName\" could not be saved in the .dtm.\n"
"The filename of the disc image must not be longer than 40 characters.");
}
Movie::g_discChange = fileName.substr(sizeofpath);
}
+1 -1
View File
@@ -929,7 +929,7 @@ bool NetPlayClient::WiimoteUpdate(int _number, u8* data, const u8 size)
// If it still mismatches, it surely desynced
if (size != nw.size())
{
PanicAlert("Netplay has desynced. There is no way to recover from this.");
PanicAlertT("Netplay has desynced. There is no way to recover from this.");
return false;
}
}
+2 -2
View File
@@ -683,12 +683,12 @@ void UndoLoadState()
}
else
{
PanicAlert("No undo.dtm found, aborting undo load state to prevent movie desyncs");
PanicAlertT("No undo.dtm found, aborting undo load state to prevent movie desyncs");
}
}
else
{
PanicAlert("There is nothing to undo!");
PanicAlertT("There is nothing to undo!");
}
}