summaryrefslogtreecommitdiff
path: root/csrc
diff options
context:
space:
mode:
Diffstat (limited to 'csrc')
-rw-r--r--csrc/main.c2
-rw-r--r--csrc/media_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/csrc/main.c b/csrc/main.c
index e0eb664..4c1ef62 100644
--- a/csrc/main.c
+++ b/csrc/main.c
@@ -107,7 +107,7 @@ int WINAPI WinMain(HINSTANCE hInstance,
int height = GetSystemMetrics(1);
int width = GetSystemMetrics(0);
gwindowHandle = CreateWindowExA(0, "Rich4", "Rich4", WS_POPUP, 0, 0, width, height, NULL, NULL, ghInstance, NULL);
- int ret = sub_MessageBoxA_5d6();
+ int ret = initialize();
if (ret == 0) {
return 0;
}
diff --git a/csrc/media_init.c b/csrc/media_init.c
index 1b70792..1fcf4b2 100644
--- a/csrc/media_init.c
+++ b/csrc/media_init.c
@@ -17,7 +17,7 @@ void direct_sound_init(int a0)
{
}
-bool MessageBoxA_5d6()
+bool initialize()
{
direct_sound_init(0);
HRESULT res = DirectDrawCreate(NULL, &pddraw, NULL);