diff options
author | Aki <please@ignore.pl> | 2022-03-31 23:41:46 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-31 23:41:46 +0200 |
commit | 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (patch) | |
tree | fa3ba288acb3f589e16700256ade2b25c73526c9 /Stars45/MCIWave.cpp | |
parent | ac54470e8aeddc2acf9ae215241c77a2bf7e33e3 (diff) | |
download | starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.zip starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.gz starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.bz2 |
Moved HINST and HWND from Game to GameWinDX9
Diffstat (limited to 'Stars45/MCIWave.cpp')
-rw-r--r-- | Stars45/MCIWave.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |