More GUS code cleanup
This commit is contained in:
@@ -708,7 +708,6 @@ gus_read(uint16_t addr, priv_t priv)
|
|||||||
else
|
else
|
||||||
port = addr & 0xf0f; /* Bit masking GUS dynamic IO*/
|
port = addr & 0xf0f; /* Bit masking GUS dynamic IO*/
|
||||||
|
|
||||||
|
|
||||||
switch (port) {
|
switch (port) {
|
||||||
case 0x300: /*MIDI status*/
|
case 0x300: /*MIDI status*/
|
||||||
val = dev->midi_status;
|
val = dev->midi_status;
|
||||||
@@ -1331,7 +1330,7 @@ static const device_config_t gus_config[] = {
|
|||||||
static const device_config_t gus_max_config[] = {
|
static const device_config_t gus_max_config[] = {
|
||||||
{
|
{
|
||||||
"base", "Address", CONFIG_HEX16, "", 0x220,
|
"base", "Address", CONFIG_HEX16, "", 0x220,
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
"210H", 0x210
|
"210H", 0x210
|
||||||
},
|
},
|
||||||
@@ -1350,11 +1349,11 @@ static const device_config_t gus_max_config[] = {
|
|||||||
{
|
{
|
||||||
"260H", 0x260
|
"260H", 0x260
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"gus_ram", "Onboard RAM", CONFIG_SELECTION, "", 1,
|
"gus_ram", "Onboard RAM", CONFIG_SELECTION, "", 1,
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
"512 KB", 1
|
"512 KB", 1
|
||||||
},
|
},
|
||||||
@@ -1364,7 +1363,7 @@ static const device_config_t gus_max_config[] = {
|
|||||||
{
|
{
|
||||||
NULL
|
NULL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"", "", -1
|
"", "", -1
|
||||||
|
|||||||
Reference in New Issue
Block a user