Skip to content

Commit

Permalink
Update sblaster.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RNMB15 committed Sep 24, 2024
1 parent b9ce77d commit 1d62b06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hardware/sblaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3988,6 +3988,10 @@ bool is_cms_enabled()
case OPL_esfm:
OPL_Init(section,oplmode);
break;
sb.cms = is_cms_enabled();
if (cms) {
CMS_Init(section);
}
case OPL_hardwareCMS:
assert(!IS_PC98_ARCH);
#if HAS_HARDOPL
Expand All @@ -4002,10 +4006,6 @@ bool is_cms_enabled()
#else
LOG_MSG("OPL pass-through is disabled. It may not be supported on this operating system.");
#endif
sb.cms = is_cms_enabled();
if (cms) {
CMS_Init(section);
}
break;
}
if (sb.type==SBT_NONE || sb.type==SBT_GB) return;
Expand Down

0 comments on commit 1d62b06

Please sign in to comment.