Skip to content

Commit

Permalink
update compat mode count to only include used modes
Browse files Browse the repository at this point in the history
  • Loading branch information
KrahJohlito authored and Tupakaveli committed Dec 2, 2019
1 parent cd5ae9a commit 6741574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/iosupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ enum ERROR_CODE {
#define COMPAT_MODE_7 0x40 // Unused
#define COMPAT_MODE_8 0x80 // Unused

#define COMPAT_MODE_COUNT 8
#define COMPAT_MODE_COUNT 6 // only count modes in use

#define OPL_MOD_STORAGE 0x00097000 //(default) Address of the module storage region

Expand Down

0 comments on commit 6741574

Please sign in to comment.