System: Shorten libcrypt error on Android

This commit is contained in:
Stenzek 2023-12-28 15:37:22 +10:00
parent 958b033a66
commit 6d3e3f78da
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

View File

@ -3402,6 +3402,7 @@ bool System::CheckForSBIFile(CDImage* image)
} }
else else
{ {
#ifndef __ANDROID__
Host::ReportErrorAsync( Host::ReportErrorAsync(
TRANSLATE("System", "Error"), TRANSLATE("System", "Error"),
LargeString::from_format( LargeString::from_format(
@ -3409,6 +3410,11 @@ bool System::CheckForSBIFile(CDImage* image)
"{1}\n\nYour dump is incomplete, you must add the SBI file to run this game. \n\nThe " "{1}\n\nYour dump is incomplete, you must add the SBI file to run this game. \n\nThe "
"name of the SBI file must match the name of the disc image."), "name of the SBI file must match the name of the disc image."),
s_running_game_serial, s_running_game_title)); s_running_game_serial, s_running_game_title));
#else
// Shorter because no confirm messages.
Host::ReportErrorAsync("Missing SBI file.", "The selected game requires a SBI file to run properly.");
#endif
return false; return false;
} }
} }