These two variables are added later but not saved, however, since they
are used in the update_state method to control how many cycles to feed
to the channel update methods, they should be saved to ensure correct
emulation.
* new NOT WORKING - VG Pocket (VG-2000) [BeckieRGB]
* new NOT WORKING
VG Pocket Mini (VG-1500) [BeckieRGB]
mostly needs the nametable mirroring registers emulated, and proper palettes for this extended mode
I recently noticed that it takes very long to load a gba state, sometimes
dozens of seconds, and the older the state is, the longer it takes to load.
I found out it's caused by gameboy_sound_device does not save the m_last_updated
variable, and after loading a state, in the update_state method, now could end
up being much larger than m_last_updated, and leads to substantial yet wasted
calculation of the channel state.
Simply adding save_item(NAME(m_last_updated)) should fix the problem, however,
since it will break current existing saved states, and optimize the channel
update methods is in the TODO list, I took the latter choice, now the calculation
to update the channel state is really negligible and the state loading is
almost instantaneous.
---------
Blades of Steel (Konami handheld) [hap, Sean Riddle]
Bucky O'Hare (Konami handheld) [hap, Sean Riddle]
Double Dragon (Tiger handheld) [hap, Sean Riddle, Kaede]
Sonic The Hedgehog (Tiger handheld) [hap, Sean Riddle]
* use Caps0ff dump for srdarwin
handcraft MCU rom for srdarwinj like was done for other games in the driver so the old sim can be killed off, marked as BAD_DUMP
seems stable, although I had to boost the interleave.
NOTE, this game has never been emulated correctly
Fixes fp1100 regression in:
SHA-1: 907115ed06
* create c-chip device with correct CPU type in it and a bunch of notes (pinout etc.)
create a uPD78C11 derived CPU type for this purpose, with internal ROM map
use internal ROM map for other uPD78C10 chips as it's always present.
add missing NO_DUMP definitions to various games using C-Chips with correct size etc.
pump megablast through the device code as really all it ever does is bank the c-chip window and test the RAM.