summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MCIWave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/MCIWave.cpp')
-rw-r--r--Stars45/MCIWave.cpp4
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);