Commit Graph

681 Commits

Author SHA1 Message Date
retro-wertz
a3a16a68e7 vsuni: Add "VS TKO Boxing [a1]" to supported games 2019-05-18 23:10:00 +08:00
retro-wertz
b868d519ab Remove duplicates in Makefile.libretro 2019-05-18 22:43:28 +08:00
retro-wertz
16b689f7e0 Fix other input types not working on startup when type is set to auto 2019-05-18 22:39:23 +08:00
retro-wertz
f9aa5e5462 Add dipswitch for VS games and Mapper105 (NWC) 2019-05-18 22:38:41 +08:00
hizzlekizzle
e4de631ecd Merge pull request #263 from retro-wertz/patch-3
VRC7: Update instrument patch dumped by Nuke.YKT
2019-03-27 08:46:01 -05:00
retro-wertz
5c1ddf45d4 VRC7: Update instrument patch dumped by Nuke.YKT
https://wiki.nesdev.com/w/index.php/VRC7_audio#cite_note-2
2019-03-27 18:03:30 +08:00
hizzlekizzle
ac97d4aa9d Merge pull request #259 from retro-wertz/move_vars
Move some startup variables into retro_load_game
2019-03-11 10:30:34 -05:00
retro-wertz
d164ea7470 Move some startup variables into retro_load_game 2019-03-11 15:39:57 +08:00
Twinaphex
80664f9367 Merge pull request #258 from retro-wertz/patch-2
Update libretro.c
2019-02-23 19:07:01 +01:00
retro-wertz
75e837f34a Update libretro.c 2019-02-24 01:51:44 +08:00
Twinaphex
b1a1718ae8 Merge pull request #257 from fjtrujy/master
[PS2] Fix wrong palette in FCEUmm
2019-02-22 01:48:56 +01:00
Francisco Javier Trujillo Mata
e962d1f19c [PS2] Fix wrong palette in FCEUmm 2019-02-22 00:05:24 +01:00
Twinaphex
4b9fffa33a Merge pull request #256 from fjtrujy/master
[PS2] Improvement paddings
2019-02-17 23:53:04 +01:00
Francisco Javier Trujillo Mata
9715f13bc7 Improvement paddings
Improvement palette
2019-02-17 23:23:12 +01:00
Twinaphex
d3f4d8f30c Merge pull request #253 from fjtrujy/master
Add palette into FCEumm for PS2
2019-02-02 03:39:53 +01:00
Francisco Javier Trujillo Mata
d7f7709a37 Add palette into FCEumm for PS2 2019-02-01 23:39:18 +01:00
hizzlekizzle
3efe223f13 Merge pull request #250 from retro-wertz/patch-1
FDS: Fix pointers are not freed when closing rom
2019-01-05 21:54:26 -06:00
retro-wertz
55b3d8a5bc FDS: Fix pointers are not freed when closing rom 2019-01-06 10:42:12 +08:00
hizzlekizzle
3d46793a39 Merge pull request #249 from retro-wertz/fds-save
update FDS to use retro_get_memory_data/size for handling modified disks
2019-01-04 10:32:11 -06: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
twinaphex
919468f74c Update Makefile 2019-01-03 14:05:53 +01:00
twinaphex
290b1f92ce Add MSVC2008 target 2018-12-27 19:52:49 +01:00
retro-wertz
b6c251b7b2 Cleanup (#248)
* Silence some clang warnings

* Cleanup input and turbo functions

* Update apu pulse' swap duty cycle
2018-12-23 08:46:17 -06: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
e3cf3efc69 fix vrc7 issue #235, update state.c (#245)
* 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
2018-12-11 16:16:02 -06:00
hizzlekizzle
25fdf55f8f Merge pull request #244 from retro-wertz/fix
Fix
2018-12-09 07:52:56 -06:00
retro-wertz
c352ddd9da Update Makefile.libretro
accidentally left debugging options enabled...
2018-12-09 20:29:49 +08:00
retro-wertz
049007f33b Use -fsigned-char on some builds 2018-12-09 20:23:53 +08:00
hizzlekizzle
4d24c4be4a Merge pull request #243 from retro-wertz/apu_pulse
Apu pulse
2018-12-08 08:51:41 -06:00
retro-wertz
fd5c95e60c Fix pulse channel fails to clock lenght counter when silenced
- Backported implementation from Mednafen-NES
- Reference test roms:
https://forums.nesdev.com/viewtopic.php?t=15346
https://github.com/christopherpow/nes-test-roms/tree/master/apu_mixer
2018-12-08 19:56:31 +08:00
retro-wertz
3b2511a8fe Fix APU IRQ inhibit flag $4017 and dmc 2018-12-08 11:35:04 +08:00
retro-wertz
68c5289726 Update apu sweep unit
- http://wiki.nesdev.com/w/index.php/APU_Sweep
- APU sweep test roms:
   https://forums.nesdev.com/viewtopic.php?t=219&p=1403
- Fixes R.C. Pro AM II intro music
2018-12-08 08:42:33 +08:00
hizzlekizzle
64bccb470a Revert "Fix RC Pro Am II intro music and pulse phase reset behavior (#241)" (#242)
This reverts commit 5bc56f786b.
2018-12-05 13:25:25 -06:00
retro-wertz
5bc56f786b Fix RC Pro Am II intro music and pulse phase reset behavior (#241)
References:
- RC Pro Am II, intro music square channels are wrong.
- apu_phase_reset.nes -
http://forums.nesdev.com/viewtopic.php?f=2&t=15346
2018-12-05 10:45:24 -06:00
Twinaphex
3cb9e9924a Merge pull request #240 from retro-wertz/fix
fixes crash, audio states and comments
2018-12-05 13:47:59 +01:00
retro-wertz
34985a9d6e Set max_width and max_height to its actual NES values
Fix crash while using video filters and video dimensions is changed
for example when using the overscan options.
2018-12-05 16:05:55 +08:00
retro-wertz
095fd57117 Fix audio states in VRC6 2018-12-05 15:52:20 +08:00
retro-wertz
1993f31352 Fix wrong info in some comments 2018-12-05 15:09:13 +08:00
bparker06
1f10cc631c Merge pull request #239 from Tatsuya79/patch-5
Remove space in core option
2018-12-04 08:52:47 -05:00
Tatsuya79
b238ca5d62 Update libretro.c 2018-12-04 11:27:54 +01:00
retro-wertz
b5803e0e1d c89 compliant? (#237)
* 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
2018-12-03 20:25:17 -06:00
retro-wertz
829a7552f1 Audiostuff (#236)
* 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
2018-11-29 19:22:36 -06:00
Twinaphex
e3362d3772 Merge pull request #234 from ehmry/master
Build rules for Genode platform
2018-11-26 15:25:24 +01:00
Emery Hemingway
60d6f17cea Build rules for Genode platform 2018-11-26 11:40:37 +01:00
hizzlekizzle
495f32a0a4 Merge pull request #233 from retro-wertz/updates
Updates
2018-11-25 21:04:37 -06:00
retro-wertz
e07255c87c Remove redundant memset() calls 2018-11-26 10:43:06 +08:00
retro-wertz
9d9c48007d Add core option: RAM power up state 2018-11-25 21:45:52 +08:00