clean up device_config_t formatting
This commit is contained in:
@@ -495,82 +495,52 @@ static int
|
||||
oti067_m300_available(void)
|
||||
{
|
||||
if (rom_present(BIOS_067_M300_15_PATH))
|
||||
return(rom_present(BIOS_067_M300_15_PATH));
|
||||
else
|
||||
return(rom_present(BIOS_067_M300_08_PATH));
|
||||
return(rom_present(BIOS_067_M300_15_PATH));
|
||||
else
|
||||
return(rom_present(BIOS_067_M300_08_PATH));
|
||||
}
|
||||
|
||||
|
||||
static const device_config_t oti067_config[] =
|
||||
{
|
||||
{
|
||||
"memory", "Memory size", CONFIG_SELECTION, "", 512, "", { 0 },
|
||||
{
|
||||
{
|
||||
"256 kB", 256
|
||||
},
|
||||
{
|
||||
"512 kB", 512
|
||||
},
|
||||
{
|
||||
""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"", "", -1
|
||||
}
|
||||
// clang-format off
|
||||
static const device_config_t oti067_config[] = {
|
||||
{
|
||||
"memory", "Memory size", CONFIG_SELECTION, "", 512, "", { 0 },
|
||||
{
|
||||
{ "256 kB", 256 },
|
||||
{ "512 kB", 512 },
|
||||
{ "" }
|
||||
}
|
||||
},
|
||||
{ "", "", -1 }
|
||||
};
|
||||
|
||||
|
||||
static const device_config_t oti067_ama932j_config[] =
|
||||
{
|
||||
{
|
||||
"memory", "Memory size", CONFIG_SELECTION, "", 256, "", { 0 },
|
||||
{
|
||||
{
|
||||
"256 kB", 256
|
||||
},
|
||||
{
|
||||
"512 kB", 512
|
||||
},
|
||||
{
|
||||
""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"", "", -1
|
||||
}
|
||||
static const device_config_t oti067_ama932j_config[] = {
|
||||
{
|
||||
"memory", "Memory size", CONFIG_SELECTION, "", 256, "", { 0 },
|
||||
{
|
||||
{ "256 kB", 256 },
|
||||
{ "512 kB", 512 },
|
||||
{ "" }
|
||||
}
|
||||
},
|
||||
{ "", "", -1 }
|
||||
};
|
||||
|
||||
|
||||
static const device_config_t oti077_config[] =
|
||||
{
|
||||
{
|
||||
"memory", "Memory size", CONFIG_SELECTION, "", 1024, "", { 0 },
|
||||
{
|
||||
{
|
||||
"256 kB", 256
|
||||
},
|
||||
{
|
||||
"512 kB", 512
|
||||
},
|
||||
{
|
||||
"1 MB", 1024
|
||||
},
|
||||
{
|
||||
""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"", "", -1
|
||||
}
|
||||
static const device_config_t oti077_config[] = {
|
||||
{
|
||||
"memory", "Memory size", CONFIG_SELECTION, "", 1024, "", { 0 },
|
||||
{
|
||||
{ "256 kB", 256 },
|
||||
{ "512 kB", 512 },
|
||||
{ "1 MB", 1024 },
|
||||
{ "" }
|
||||
}
|
||||
},
|
||||
{ "", "", -1 }
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
const device_t oti037c_device =
|
||||
{
|
||||
const device_t oti037c_device = {
|
||||
"Oak OTI-037C",
|
||||
"oti037c",
|
||||
DEVICE_ISA,
|
||||
@@ -581,8 +551,7 @@ const device_t oti037c_device =
|
||||
oti_force_redraw
|
||||
};
|
||||
|
||||
const device_t oti067_device =
|
||||
{
|
||||
const device_t oti067_device = {
|
||||
"Oak OTI-067",
|
||||
"oti067",
|
||||
DEVICE_ISA,
|
||||
@@ -594,8 +563,7 @@ const device_t oti067_device =
|
||||
oti067_config
|
||||
};
|
||||
|
||||
const device_t oti067_m300_device =
|
||||
{
|
||||
const device_t oti067_m300_device = {
|
||||
"Oak OTI-067 (Olivetti M300-08/15)",
|
||||
"oti067_m300",
|
||||
DEVICE_ISA,
|
||||
@@ -607,8 +575,7 @@ const device_t oti067_m300_device =
|
||||
oti067_config
|
||||
};
|
||||
|
||||
const device_t oti067_ama932j_device =
|
||||
{
|
||||
const device_t oti067_ama932j_device = {
|
||||
"Oak OTI-067 (AMA-932J)",
|
||||
"oti067_ama932j",
|
||||
DEVICE_ISA,
|
||||
@@ -620,8 +587,7 @@ const device_t oti067_ama932j_device =
|
||||
oti067_ama932j_config
|
||||
};
|
||||
|
||||
const device_t oti077_device =
|
||||
{
|
||||
const device_t oti077_device = {
|
||||
"Oak OTI-077",
|
||||
"oti077",
|
||||
DEVICE_ISA,
|
||||
|
||||
Reference in New Issue
Block a user