* Wii: Fix uninitialized save state size causing load state problems
- Issue origially from Wii and possibly affects similar devices where
retroarch and the core are one program. The problem was that the
serialize size was not reset when you change game, causing the last
serialized size to be carried over to the next game loaded causing save
state issues due to change in size. Initializing this variable during
retro_init() seems enough for most of the games.
- In this same observation, also initialized some variables in a similar
way.
- also exluded a variable used for sound state that was added for smooth
sound after load state which causes similar loading issues as well.
- default sample rate has been lowered to 32K as well as to minimize
some stuttering for these devices, while maintaining 48K sample rate for
others.
- Some comments are added to modified section as necessary.
* Add workaround for save state issue in Wii with expansion audio
- Some mappers are not loading states as well. Seems to affect those
that are using expansion audio. some of these mappers(bandai, mmc5,
namco106), the state variables has to be expanded so that it will
load states fine with big endian while others (vrc6, vrc7 sunsoft), some
variables that were added for smoother audio during load state has been
removed.
- This does not guarantee though that other mappers might not have
similar incompatibilities after loading a state but so far, some of the
most common roms in each mapper has been tested to load fine.
* FDS: Expand state variables for big endian compatibility
* FDS: Change OSD label from Disk 0 to Disk 1... when switching disks
- Minor osd label change that now shows Disk 1 of (# of disks) instead
of just Disk 0 Side nth.
* vrc7: Add sound save states
* Try to fix some save state issues
try to fix big-endian related save problems
* vrc7: fix crash in some cases when loading states
* Replace C++ comments into C comments
* Move INLINE out of Makefile.common, move to fceu-types.h
An INLINE define is still existing in Makefile.common for msvc (dont
have a way to to test that). Moved the rest into fceu-types.h using the
one already existing from emu2413.h.
* Increase maximum volume for apu channels
* Add option to enable/disable audio channels
Audio options are backports from FCEUX. Options are set as on/off toggle for each apu channel.
Compile with DEBUG=1 to see options.
* Add missing audio state vars, fix for hq audio when using runahead
* Additional checks for save ram (battery)
* Cleanup
* Update libretro header