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
9f422647c9
commit
88ed7eed7d
@ -784,6 +784,13 @@ inline bool IsleApp::Tick()
|
||||
NULL
|
||||
);
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Failed to open ISLE.si: Failed to start initial action");
|
||||
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
|
||||
);
|
||||
return false;
|
||||
}
|
||||
m_gameStarted = TRUE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user