From 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 31 Mar 2022 23:41:46 +0200 Subject: Moved HINST and HWND from Game to GameWinDX9 --- Stars45/MCIWave.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/MCIWave.cpp') diff --git a/Stars45/MCIWave.cpp b/Stars45/MCIWave.cpp index 4840eb6..a8c0a0b 100644 --- a/Stars45/MCIWave.cpp +++ b/Stars45/MCIWave.cpp @@ -12,7 +12,7 @@ */ #include "Types.h" -#include "Game.h" +#include "GameWinDX9.h" #include "Utils.h" // +----------------------------------------------------------------------+ @@ -25,7 +25,7 @@ static MMRESULT wav_err; static int mci_send_string(const char* cmd_str) { - mci_err = mciSendString(cmd_str, ret_str, sizeof(ret_str), Game::GetInstance()->GetHWND()); + mci_err = mciSendString(cmd_str, ret_str, sizeof(ret_str), GameWinDX9::GetInstance()->GetHWND()); if (mci_err) { if (mciGetErrorString(mci_err, err_str, sizeof(err_str))) Print("Error (%s): '%s'\n", cmd_str, err_str); -- cgit v1.1