software list items need to be *after* slot configuration so they have access to the 3.5" disk controller card, for example.

This commit is contained in:
Kelvin Sherlock 2022-02-26 15:52:13 -05:00
parent e09a151c91
commit 79c3eba93e
1 changed files with 6 additions and 5 deletions

View File

@ -459,11 +459,6 @@ static NSString *ShellQuote(NSString *s) {
//[argv addObject: @"mame"];
[argv addObject: _machine];
if (_software) {
NSString *name = [_softwareSet nameForSoftware: _software];
if (name) [argv addObject: name];
}
// -confirm_quit?
[argv addObject: @"-skip_gameinfo"];
@ -552,6 +547,12 @@ static NSString *ShellQuote(NSString *s) {
[argv addObjectsFromArray: tmp];
}
// software *AFTER* slots so, eg, apple2ee has access to the superdrive.
if (_software) {
NSString *name = [_softwareSet nameForSoftware: _software];
if (name) [argv addObject: name];
}
if (_mameSpeed < 0) {
[argv addObject: @"-nothrottle"];
} else if (_mameSpeed > 1) {