From 01c5fe81f19ceda4d0cde3e77cc89264b08d2f87 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 14 Dec 2022 19:26:21 +1100 Subject: sega/sms.cpp: Refactored Game Gear handling. (#10682) Use a memory view to switching between Game Gear and Master System compatibility I/O space mapping. Got rid of most of the conditional code checking whether it's a Game Gear driver. Got rid of the special Game Gear EXT port slot. It's the same thing as a Mega Drive controller/expansion I/O port with a different connector. sega/mdioport.cpp: Added a variant for the Game Gear with the TH/PC6 interrupt latch, and added it to the Game Gear. --- scripts/src/bus.lua | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'scripts/src/bus.lua') diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index 749d453b783..347b1edd6f3 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -3828,20 +3828,6 @@ if (BUSES["GAMEBOY"]~=null) then } end ---------------------------------------------------- --- ---@src/devices/bus/gamegear/ggext.h,BUSES["GAMEGEAR"] = true ---------------------------------------------------- - -if (BUSES["GAMEGEAR"]~=null) then - files { - MAME_DIR .. "src/devices/bus/gamegear/ggext.cpp", - MAME_DIR .. "src/devices/bus/gamegear/ggext.h", - MAME_DIR .. "src/devices/bus/gamegear/smsctrladp.cpp", - MAME_DIR .. "src/devices/bus/gamegear/smsctrladp.h", - } -end - --------------------------------------------------- -- --@src/devices/bus/gba/gba_slot.h,BUSES["GBA"] = true -- cgit v1.2.3