aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/ROMInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/mt32/ROMInfo.h')
-rw-r--r--audio/softsynth/mt32/ROMInfo.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/audio/softsynth/mt32/ROMInfo.h b/audio/softsynth/mt32/ROMInfo.h
index 4d679403c8..cecbb6054f 100644
--- a/audio/softsynth/mt32/ROMInfo.h
+++ b/audio/softsynth/mt32/ROMInfo.h
@@ -23,6 +23,8 @@
namespace MT32Emu {
+struct ControlROMFeatureSet;
+
// Defines vital info about ROM file to be used by synth and applications
struct ROMInfo {
@@ -34,7 +36,7 @@ public:
const char *description;
enum PairType {Full, FirstHalf, SecondHalf, Mux0, Mux1} pairType;
ROMInfo *pairROMInfo;
- void *controlROMInfo;
+ const ControlROMFeatureSet *controlROMFeatures;
// Returns a ROMInfo struct by inspecting the size and the SHA1 hash
static const ROMInfo* getROMInfo(Common::File *file);
@@ -72,6 +74,15 @@ public:
const ROMInfo *getROMInfo() const;
};
+struct ControlROMFeatureSet {
+private:
+ unsigned int defaultReverbMT32Compatible : 1;
+
+public:
+ ControlROMFeatureSet(bool defaultReverbMT32Compatible);
+ bool isDefaultReverbMT32Compatible() const;
+};
+
}
#endif