-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple CMS and OPL emulations from dosbox-staging #5220
Conversation
Decouple CMS and OPL emulations from dosbox-staging. |
src/dosbox.cpp
Outdated
@@ -1393,6 +1393,7 @@ void DOSBOX_SetupConfigSections(void) { | |||
const char* gustypes[] = { "classic", "classic37", "max", "interwave", nullptr }; | |||
const char* sbtypes[] = { "sb1", "sb2", "sbpro1", "sbpro2", "sb16", "sb16vibra", "gb", "ess688", "ess1688", "reveal_sc400", "none", nullptr }; | |||
const char* oplmodes[]={ "auto", "cms", "opl2", "dualopl2", "opl3", "opl3gold", "none", "hardware", "hardwaregb", "esfm", nullptr }; | |||
const char* Set_CMS[]"on", "off", "auto"}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const char* Set_CMS[]={"on", "off", "auto"};
To make it like the DosBox Staging commit, in line 3721 line 3736 In Somewhere, such as right after the
And in the destructor
I haven't tested these changes. Currently this PR is not compiling, I don't know if the above changes will fix that. Also, DOSBox-X has an additional |
You put things within switch statements. When I wrote things like "immediately after the switch," I didn't mean immediately after the line with "switch" in it, I meant after the closing brace of the switch statement. Also you put Also I guess you are making your changes through the GitHub editor, which produces "Update xxx" commit messages, but descriptive commit messages are preferable. You can make those with a program like Git Bash, although learning to use it can take some time. Anyway, I think it would be better to let me make a new PR with the changes. I'll try to do it soon. |
It looks like CI failed. Is this pull request separate from the other one about CMS and OPL? |
Should I close this one and merge the newer pull request? At a glance they do basically the same thing, except that this failed the build test. |
Yes, you can close this one. |
Add a summary of the change(s) brought by this PR here.
What issue(s) does this PR address?
If there are any related issues, reference them here. Ex. #1234, Fixes #1234, Closes #1234, etc.
Does this PR introduce new feature(s)?
If yes, describe the feature(s) introduced.
Does this PR introduce any breaking change(s)?
If yes, describe the breaking change(s) in detail.
Additional information
Add any additional information here.