UI: Allow SNES & Subor mice to be plugged into famicom port 1 & 2 (since this would work on a famicom AV)

This commit is contained in:
Sour 2017-12-21 21:50:32 -05:00
parent 98f2b65c7f
commit ebe5046770
2 changed files with 6 additions and 3 deletions

View file

@ -162,8 +162,7 @@ void GameDatabase::InitializeInputDevices(string inputType, GameSystem system)
MessageManager::Log("[DB] Input: Subor keyboard connected");
system = GameSystem::Famicom;
expDevice = ExpansionPortDevice::SuborKeyboard;
//TODO: FIX
//controllers[2] = ControllerType::SuborMouse;
controllers[1] = ControllerType::SuborMouse;
} else if(inputType.compare("Mahjong") == 0) {
MessageManager::Log("[DB] Input: Jissen Mahjong controller connected");
system = GameSystem::Famicom;

View file

@ -99,7 +99,11 @@ namespace Mesen.GUI.Forms.Config
controllerTypes.Add(InteropEmu.ControllerType.SnesMouse);
controllerTypes.Add(InteropEmu.ControllerType.SuborMouse);
} else {
controllerTypes = new List<InteropEmu.ControllerType>() { InteropEmu.ControllerType.StandardController };
controllerTypes = new List<InteropEmu.ControllerType>() {
InteropEmu.ControllerType.StandardController,
InteropEmu.ControllerType.SnesMouse,
InteropEmu.ControllerType.SuborMouse
};
}
bool isOriginalFamicom = !isNes && !ConfigManager.Config.EmulationInfo.UseNes101Hvc101Behavior;