Commit Graph

24 Commits

Author SHA1 Message Date
libretroadmin
6a31522981 Get rid of mostly dead code 2022-06-20 06:07:40 +02:00
negativeExponent
c6f9b96cbb FDS: Permanently use new disk handling functions
FDS was already using the new disk handling code. This PR just removes
the old and now unused one.
2022-06-09 14:07:34 +08:00
jdgleaver
1a961ff6be Add support for emulated Game Genie add-on 2021-10-21 15:52:40 +01:00
jdgleaver
499f1c04de Replace direct file access with VFS routines 2021-10-20 16:58:35 +01:00
negativeExponent
e0cb4d2814 Fix warnings [-Wimplicit-fallthrough=] 2020-10-21 20:55:08 +08:00
negativeExponent
722154b93f Allow FDS conversion mappers to use FDS APU 2020-03-06 02:58:27 +08:00
negativeExponent
cd30d8cc40 (fds.c) backport new fds disk handling
backported from fceux, commit by dinkc64 (fbneo)
0b4be4b639

Fixes saving issue with some games (Bubble Bobble, Super Lode Runner II, ...)
2020-01-25 08:43:37 +08:00
retro-wertz
55b3d8a5bc FDS: Fix pointers are not freed when closing rom 2019-01-06 10:42:12 +08:00
retro-wertz
1b47b366c5 FDS: Print manufacturer label when loading rom 2019-01-04 22:33:26 +08:00
retro-wertz
00bf47ebf8 Fix memory leak 2019-01-04 19:33:26 +08:00
retro-wertz
b53fb91239 FDS: Use retro_get_memory_data/size for disk saving 2019-01-04 17:13:09 +08:00
retro-wertz
a44a9b5be1 FDS: Fix IRQ timing (#247)
- Fixes Druid flickering status window
2018-12-15 18:50:08 -06:00
retro-wertz
b09a060ae6 Wii related updates for save state fixes/workarounds (#246)
* 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.
2018-12-14 20:23:43 -06:00
retro-wertz
e07255c87c Remove redundant memset() calls 2018-11-26 10:43:06 +08:00
twinaphex
1534e17ece Fix warning 2018-01-21 06:58:36 +01:00
retro-wertz
52c8155dee Use C-comment style 2017-10-15 03:13:11 +08:00
retro-wertz
294eb511b4 Update Region Override 2017-10-07 13:35:00 +08:00
retro-wertz
a644fd1292 FDS: do not use fopen/fclose/fread from bios load functions 2017-05-12 14:59:41 +08:00
twinaphex
21aa0759da Remove unused files 2015-08-06 13:34:20 +02:00
twinaphex
f01eb2dc9f Merge fds.c 2015-08-06 13:02:45 +02:00
twinaphex
e982bb637b Revert "Cleanups"
This reverts commit d368ee0054.
2015-08-06 11:39:10 +02:00
twinaphex
d368ee0054 Cleanups 2015-08-06 11:30:34 +02:00
twinaphex
30b4c60b21 Rename files endian.c and memory.c 2014-03-30 22:29:30 +02:00
twinaphex
7e6caac57d Initial commit - http://sourceforge.net/p/fceumm/code/160/ 2014-03-30 22:15:17 +02:00