mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
isleapp: Add missing error dialog when ISLE.si fails
This commit is contained in:
parent
ae123ed2d2
commit
9f422647c9
@ -776,6 +776,13 @@ inline bool IsleApp::Tick()
|
|||||||
ds.SetUnknown24(-1);
|
ds.SetUnknown24(-1);
|
||||||
ds.SetObjectId(0);
|
ds.SetObjectId(0);
|
||||||
if (Start(&ds) != SUCCESS) {
|
if (Start(&ds) != SUCCESS) {
|
||||||
|
SDL_ShowSimpleMessageBox(
|
||||||
|
SDL_MESSAGEBOX_ERROR,
|
||||||
|
"LEGO® Island Error",
|
||||||
|
"\"LEGO® Island\" failed to start.\nPlease quit all other applications and try again."
|
||||||
|
"\nFailed to load ISLE.si",
|
||||||
|
NULL
|
||||||
|
);
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Failed to open ISLE.si: Failed to start initial action");
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Failed to open ISLE.si: Failed to start initial action");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user