aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/softsynth/opl/dosbox.cpp1
-rw-r--r--sound/softsynth/opl/dosbox.h8
2 files changed, 5 insertions, 4 deletions
diff --git a/sound/softsynth/opl/dosbox.cpp b/sound/softsynth/opl/dosbox.cpp
index 7de66af9f5..29993ce3d8 100644
--- a/sound/softsynth/opl/dosbox.cpp
+++ b/sound/softsynth/opl/dosbox.cpp
@@ -32,6 +32,7 @@
#ifndef DISABLE_DOSBOX_OPL
#include "dosbox.h"
+#include "dbopl.h"
#include "common/system.h"
#include "common/scummsys.h"
diff --git a/sound/softsynth/opl/dosbox.h b/sound/softsynth/opl/dosbox.h
index 4018678806..958310611d 100644
--- a/sound/softsynth/opl/dosbox.h
+++ b/sound/softsynth/opl/dosbox.h
@@ -36,13 +36,9 @@
#include "sound/fmopl.h"
-#include "dbopl.h"
-
namespace OPL {
namespace DOSBox {
-class Handler;
-
struct Timer {
double startTime;
double delay;
@@ -71,6 +67,10 @@ struct Chip {
uint8 read();
};
+namespace DBOPL {
+struct Chip;
+} // end of namespace DBOPL
+
class OPL : public ::OPL::OPL {
private:
Config::OplType _type;