mirror of https://github.com/stella-emu/stella.git
Add 'Cartridge.StartBank' ROM property, to specify the startup bank for a ROM to use.
For now, this only modifies the properties database. Still TODO is have the app use the information.
This commit is contained in:
parent
27022ad3a9
commit
5bc84bca52
File diff suppressed because it is too large
Load Diff
|
@ -244,6 +244,7 @@ void Properties::print() const
|
|||
<< get(Cartridge_Note) << "|"
|
||||
<< get(Cartridge_Rarity) << "|"
|
||||
<< get(Cartridge_Sound) << "|"
|
||||
<< get(Cartridge_StartBank) << "|"
|
||||
<< get(Cartridge_Type) << "|"
|
||||
<< get(Console_LeftDifficulty) << "|"
|
||||
<< get(Console_RightDifficulty)<< "|"
|
||||
|
@ -289,6 +290,7 @@ void Properties::printHeader()
|
|||
<< "Cartridge_Note|"
|
||||
<< "Cartridge_Rarity|"
|
||||
<< "Cartridge_Sound|"
|
||||
<< "Cartridge_StartBank|"
|
||||
<< "Cartridge_Type|"
|
||||
<< "Console_LeftDifficulty|"
|
||||
<< "Console_RightDifficulty|"
|
||||
|
@ -315,6 +317,7 @@ string Properties::ourDefaultProperties[LastPropType] = {
|
|||
"", // Cartridge.Note
|
||||
"", // Cartridge.Rarity
|
||||
"MONO", // Cartridge.Sound
|
||||
"", // Cartridge.StartBank
|
||||
"AUTO", // Cartridge.Type
|
||||
"B", // Console.LeftDifficulty
|
||||
"B", // Console.RightDifficulty
|
||||
|
@ -340,6 +343,7 @@ const char* const Properties::ourPropertyNames[LastPropType] = {
|
|||
"Cartridge.Note",
|
||||
"Cartridge.Rarity",
|
||||
"Cartridge.Sound",
|
||||
"Cartridge.StartBank",
|
||||
"Cartridge.Type",
|
||||
"Console.LeftDifficulty",
|
||||
"Console.RightDifficulty",
|
||||
|
|
|
@ -28,6 +28,7 @@ enum PropertyType {
|
|||
Cartridge_Note,
|
||||
Cartridge_Rarity,
|
||||
Cartridge_Sound,
|
||||
Cartridge_StartBank,
|
||||
Cartridge_Type,
|
||||
Console_LeftDifficulty,
|
||||
Console_RightDifficulty,
|
||||
|
|
|
@ -10,20 +10,21 @@ my %prop_type = (
|
|||
"Cartridge.Note" => 4,
|
||||
"Cartridge.Rarity" => 5,
|
||||
"Cartridge.Sound" => 6,
|
||||
"Cartridge.Type" => 7,
|
||||
"Console.LeftDifficulty" => 8,
|
||||
"Console.RightDifficulty" => 9,
|
||||
"Console.TelevisionType" => 10,
|
||||
"Console.SwapPorts" => 11,
|
||||
"Controller.Left" => 12,
|
||||
"Controller.Right" => 13,
|
||||
"Controller.SwapPaddles" => 14,
|
||||
"Controller.MouseAxis" => 15,
|
||||
"Display.Format" => 16,
|
||||
"Display.YStart" => 17,
|
||||
"Display.Height" => 18,
|
||||
"Display.Phosphor" => 19,
|
||||
"Display.PPBlend" => 20
|
||||
"Cartridge.StartBank" => 7,
|
||||
"Cartridge.Type" => 8,
|
||||
"Console.LeftDifficulty" => 9,
|
||||
"Console.RightDifficulty" => 10,
|
||||
"Console.TelevisionType" => 11,
|
||||
"Console.SwapPorts" => 12,
|
||||
"Controller.Left" => 13,
|
||||
"Controller.Right" => 14,
|
||||
"Controller.SwapPaddles" => 15,
|
||||
"Controller.MouseAxis" => 16,
|
||||
"Display.Format" => 17,
|
||||
"Display.YStart" => 18,
|
||||
"Display.Height" => 19,
|
||||
"Display.Phosphor" => 20,
|
||||
"Display.PPBlend" => 21
|
||||
);
|
||||
my @prop_type_as_string = (
|
||||
"Cartridge.MD5",
|
||||
|
@ -33,6 +34,7 @@ my @prop_type_as_string = (
|
|||
"Cartridge.Note",
|
||||
"Cartridge.Rarity",
|
||||
"Cartridge.Sound",
|
||||
"Cartridge.StartBank",
|
||||
"Cartridge.Type",
|
||||
"Console.LeftDifficulty",
|
||||
"Console.RightDifficulty",
|
||||
|
@ -57,6 +59,7 @@ my @prop_defaults = (
|
|||
"",
|
||||
"",
|
||||
"MONO",
|
||||
"",
|
||||
"AUTO",
|
||||
"B",
|
||||
"B",
|
||||
|
|
Loading…
Reference in New Issue