mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-07-18 07:17:34 +00:00
os2: fix error message for SDL_LoadObject()
(cherry-picked from commit 4264c0b674
)
This commit is contained in:
parent
36b987dabe
commit
92937ff5e0
|
@ -49,7 +49,7 @@ SDL_LoadObject(const char *sofile)
|
||||||
ulRC = DosLoadModule(acError, sizeof(acError), pszModName, &hModule);
|
ulRC = DosLoadModule(acError, sizeof(acError), pszModName, &hModule);
|
||||||
SDL_free(pszModName);
|
SDL_free(pszModName);
|
||||||
if (ulRC != NO_ERROR) {
|
if (ulRC != NO_ERROR) {
|
||||||
SDL_SetError("Failed loading %s (E%u)", acError, ulRC);
|
SDL_SetError("Failed loading %s: %s (E%u)", sofile, acError, ulRC);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue