From 6d3e3f78dab9c63cedbfb4e40f0c484147bbe3e1 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 28 Dec 2023 15:37:22 +1000 Subject: [PATCH] System: Shorten libcrypt error on Android --- src/core/system.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/system.cpp b/src/core/system.cpp index 2146675dc..8e4166aff 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -3402,6 +3402,7 @@ bool System::CheckForSBIFile(CDImage* image) } else { +#ifndef __ANDROID__ Host::ReportErrorAsync( TRANSLATE("System", "Error"), 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 " "name of the SBI file must match the name of the disc image."), 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; } }