summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/extlib.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-02-23 10:32:30 +1100
committer Vas Crabb <vas@vastheman.com>2018-02-23 10:32:30 +1100
commit18541972c01490823fe2c36e21d3187de5b16dab (patch)
tree1beadbd131ea7df6845b641cfe0c6e32ff6a8c53 /docs/release/scripts/extlib.lua
parentaa153f753ec46cdf042e057384aaef590cb6ffa5 (diff)
Untangle cartslot from TV Boy, replace unnecessary bankdev with ROM
bank, fix save state for TV Boy. (nw) This is a great example of why trying to make a derived class that removes stuff from the base is a bad idea. The machine start hook for a2600 both registered variables for save states and mapped the cartridge. The tvboy drivers couldn't call this as there's no cartridge slot present. This meant they didn't register for save state properly either. It may seem tempting to just make devices optional in the base class, but you lose useful validation and set yourself up for subtle issues like this. It's better to separate out the common parts into a base class.
Diffstat (limited to 'docs/release/scripts/extlib.lua')
0 files changed, 0 insertions, 0 deletions