summaryrefslogtreecommitdiff
path: root/csrc/main.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-01 09:32:06 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-01 09:32:06 +0800
commit9e41f154fcda14dbbf2c3e5307073db2a6a3f3a1 (patch)
treebb00a00da08809caa1ebe0c053318257e42e5ff2 /csrc/main.c
parent78971bbec44303681719e91c69316bea95458e5e (diff)
downloadrich4-9e41f154fcda14dbbf2c3e5307073db2a6a3f3a1.tar.xz
topbar button and ui functions
Diffstat (limited to 'csrc/main.c')
-rw-r--r--csrc/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/csrc/main.c b/csrc/main.c
index 7132ed1..3cee0c7 100644
--- a/csrc/main.c
+++ b/csrc/main.c
@@ -155,7 +155,7 @@ LRESULT CALLBACK entryCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
switch (dw_48a184) {
case 1:
fcn.00402460(0);
- eax = process_checkpoint(0);
+ eax = load_ui(0);
if (eax != -1) {
Post_0402_Message(dw_48a184);
break;
@@ -169,7 +169,7 @@ LRESULT CALLBACK entryCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
case 2:
fcn.00402460(0);
sub.WINMM.dll_mciSendStringA_acb();
- fcn.00411b53(0);
+ options_ui(0);
sub.WINMM.dll_mciSendStringA_9cf(0);
IDirectDrawSurface_Lock(pddrawsf2, NULL, &sfdesc1, 1, 0);
fcn.004563f5(sfdesc1.lpSurface, dw_48a180 + 12, 0, 0);
@@ -347,7 +347,7 @@ start_msg_loop:
fcn_004075c1();
goto case_401de8_0;
case 3:
- if (process_checkpoint(0) == -1)
+ if (load_ui(0) == -1)
goto case_401de8_0;
goto switch_401cb8_case_1;
default: