From 756d488c765f5ac1e4719d224cb15ecd986eaad7 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 19 Jun 2023 09:24:17 +0200 Subject: [PATCH] fix main.cpp --- ISLE/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ISLE/main.cpp b/ISLE/main.cpp index dd48e97e..4b27d8e3 100644 --- a/ISLE/main.cpp +++ b/ISLE/main.cpp @@ -35,14 +35,14 @@ BOOL StartDirectSound(void) int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { // Look for another instance, if we find one, bring it to the foreground instead - if (!findExistingInstance()) { + if (!FindExistingInstance()) { return 0; } // Attempt to create DirectSound instance BOOL soundReady = FALSE; for (int i = 0; i < 20; i++) { - if (startDirectSound()) { + if (StartDirectSound()) { soundReady = TRUE; break; }