Decompile fn_17829 (ShowErrorDialog)
Batch #1611 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_17829 ShowErrorDialog: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
4f48baf914
commit
4f43f6132f
1 changed files with 7 additions and 0 deletions
|
|
@ -20,3 +20,10 @@ int ShowErrorDialog(CRenderSystemBase* renderSystem, const char* text, UINT type
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: 0x00AD6390
|
// OFFSET: 0x00AD6390
|
||||||
|
// FUNCTION: fn_17829
|
||||||
|
int ShowErrorDialog(int code) {
|
||||||
|
char text[80];
|
||||||
|
wsprintfA(text, "%d\n", code);
|
||||||
|
GetRenderSystemHolder()->PrepareErrorDialog();
|
||||||
|
return MessageBoxA(nullptr, text, "Error", MB_OK);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue