aboutsummaryrefslogtreecommitdiff
path: root/utils/gen_adldata/progs_cache.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2019-07-01 05:01:55 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2019-07-01 05:01:55 +0300
commit81f905ea76f0efb6ea35331bd1fe476f14f804de (patch)
tree8146611e945a5080db9e7f6fc1805cc77565204b /utils/gen_adldata/progs_cache.h
parentd02cf717c2da0344b37db1ffb864d312713f3208 (diff)
downloadlibADLMIDI-81f905ea76f0efb6ea35331bd1fe476f14f804de.tar.gz
libADLMIDI-81f905ea76f0efb6ea35331bd1fe476f14f804de.tar.bz2
libADLMIDI-81f905ea76f0efb6ea35331bd1fe476f14f804de.zip
First working of new database
// not so stable, needs a polishing, however, multibank from embedded 72'th bank (DMXOPL3) works!
Diffstat (limited to 'utils/gen_adldata/progs_cache.h')
-rw-r--r--utils/gen_adldata/progs_cache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/gen_adldata/progs_cache.h b/utils/gen_adldata/progs_cache.h
index 09f75f6..34e42a3 100644
--- a/utils/gen_adldata/progs_cache.h
+++ b/utils/gen_adldata/progs_cache.h
@@ -335,6 +335,13 @@ struct BanksDump
uint_fast32_t opId = 0;
uint_fast32_t d_E862 = 0;
uint_fast32_t d_40 = 0;
+ explicit Operator() {}
+ Operator(const Operator &o)
+ {
+ opId = o.opId;
+ d_E862 = o.d_E862;
+ d_40 = o.d_40;
+ }
bool operator==(const Operator &o)
{
return ((d_E862 == o.d_E862) && (d_40 == o.d_40));