Fix translatable strings which contain non-positional arguments
This commit is contained in:
parent
17da28ff07
commit
e63b00e562
|
@ -1209,7 +1209,7 @@ void ExecuteCommand(ReplyType reply_type)
|
||||||
default:
|
default:
|
||||||
ERROR_LOG_FMT(DVDINTERFACE, "Unknown command {:#010x} (Buffer {:#010x}, {:#x})", s_DICMDBUF[0],
|
ERROR_LOG_FMT(DVDINTERFACE, "Unknown command {:#010x} (Buffer {:#010x}, {:#x})", s_DICMDBUF[0],
|
||||||
s_DIMAR, s_DILENGTH);
|
s_DIMAR, s_DILENGTH);
|
||||||
PanicAlertFmtT("Unknown DVD command {:08x} - fatal error", s_DICMDBUF[0]);
|
PanicAlertFmtT("Unknown DVD command {0:08x} - fatal error", s_DICMDBUF[0]);
|
||||||
SetDriveError(DriveError::InvalidCommand);
|
SetDriveError(DriveError::InvalidCommand);
|
||||||
interrupt_type = DIInterruptType::DEINT;
|
interrupt_type = DIInterruptType::DEINT;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -344,7 +344,7 @@ static void FinishRead(u64 id, s64 cycles_late)
|
||||||
DVDInterface::DIInterruptType interrupt;
|
DVDInterface::DIInterruptType interrupt;
|
||||||
if (buffer.size() != request.length)
|
if (buffer.size() != request.length)
|
||||||
{
|
{
|
||||||
PanicAlertFmtT("The disc could not be read (at {:#x} - {:#x}).", request.dvd_offset,
|
PanicAlertFmtT("The disc could not be read (at {0:#x} - {1:#x}).", request.dvd_offset,
|
||||||
request.dvd_offset + request.length);
|
request.dvd_offset + request.length);
|
||||||
|
|
||||||
DVDInterface::SetDriveError(DVDInterface::DriveError::BlockOOB);
|
DVDInterface::SetDriveError(DVDInterface::DriveError::BlockOOB);
|
||||||
|
|
|
@ -525,7 +525,7 @@ void SetCpClearRegister()
|
||||||
void HandleUnknownOpcode(u8 cmd_byte, void* buffer, bool preprocess)
|
void HandleUnknownOpcode(u8 cmd_byte, void* buffer, bool preprocess)
|
||||||
{
|
{
|
||||||
// TODO(Omega): Maybe dump FIFO to file on this error
|
// TODO(Omega): Maybe dump FIFO to file on this error
|
||||||
PanicAlertFmtT("GFX FIFO: Unknown Opcode ({:#04x} @ {}, {}).\n"
|
PanicAlertFmtT("GFX FIFO: Unknown Opcode ({0:#04x} @ {1}, {2}).\n"
|
||||||
"This means one of the following:\n"
|
"This means one of the following:\n"
|
||||||
"* The emulated GPU got desynced, disabling dual core can help\n"
|
"* The emulated GPU got desynced, disabling dual core can help\n"
|
||||||
"* Command stream corrupted by some spurious memory bug\n"
|
"* Command stream corrupted by some spurious memory bug\n"
|
||||||
|
|
|
@ -51,7 +51,7 @@ bool TextureToPng(const u8* data, int row_stride, const std::string& filename, i
|
||||||
File::IOFile fp(filename, "wb");
|
File::IOFile fp(filename, "wb");
|
||||||
if (!fp.IsOpen())
|
if (!fp.IsOpen())
|
||||||
{
|
{
|
||||||
PanicAlertFmtT("Screenshot failed: Could not open file \"{}\" (error {})", filename, errno);
|
PanicAlertFmtT("Screenshot failed: Could not open file \"{0}\" (error {1})", filename, errno);
|
||||||
goto finalise;
|
goto finalise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1666,7 +1666,7 @@ bool Renderer::StartFrameDumpToImage(const FrameDump::FrameData&)
|
||||||
std::string filename = GetFrameDumpNextImageFileName();
|
std::string filename = GetFrameDumpNextImageFileName();
|
||||||
if (File::Exists(filename))
|
if (File::Exists(filename))
|
||||||
{
|
{
|
||||||
if (!AskYesNoFmtT("Frame dump image(s) '{}' already exists. Overwrite?", filename))
|
if (!AskYesNoFmtT("Frame dump image(s) '{0}' already exists. Overwrite?", filename))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue