Commit Graph

690 Commits

Author SHA1 Message Date
retro-wertz
28e729177e Implement mapper 224 (kt-008) and add related games to ines-correct
- Most of these games are incorrectly assigned to Mapper 4. so correct it with hash
http://wiki.nesdev.com/w/index.php/INES_Mapper_224
2019-05-29 19:06:28 +08:00
retro-wertz
5dc795233b unif: Assign a few boards to ines mappers
- CHINA_ER_SAN2 -> Mapper19_Init, http://forums.nesdev.com/viewtopic.php?t=16465&p=216531
- WAIXING-FW01 -> Mapper227_Init, https://wiki.nesdev.com/w/index.php/Talk:INES_Mapper_242
- WAIXING-FS005 -> BMCFK23C_Init, https://wiki.nesdev.com/w/index.php/INES_Mapper_176
2019-05-29 09:02:58 +08:00
Twinaphex
5e1d648a07 Merge pull request #266 from retro-wertz/mappers
Mappers
2019-05-27 17:12:35 +02:00
retro-wertz
ffef1743d8 Add Super Donkey Kong (Unl) [o1] to ines-correct 2019-05-27 21:39:27 +08:00
retro-wertz
6fd12ed6bf BMC-8157: ignore prg mapping for split rom types
- fixes 1 of only 2 CK-001 4-in-1 carts i found so far
2019-05-27 21:35:12 +08:00
retro-wertz
005eb7bdc3 Implement mappers 28, 29, 31, 56, 63, 255, BMC-60311C, BMC-WS, BMC-HPxx
- Added a few mappers to the list. Tested with roms from goodnes set and some demos
- Fix IRQ for Kaiser7032/202 - Issue noticeable with SMB2/3's status status bar
2019-05-27 19:18:02 +08:00
Twinaphex
2a58bc129e Merge pull request #265 from retro-wertz/vsuni
vsuni: simplify game database and other fixes
2019-05-22 21:29:48 +02:00
retro-wertz
e654ed305c vsuni: simplify game database and other fixes
- simplify game database
- remove pre-configured core options. they are now created on a per-game basis on rom load.
- some minor data type changes
2019-05-22 20:32:50 +08:00
Twinaphex
b4c8e40ef1 Merge pull request #264 from retro-wertz/dips2
add vsuni and nwc dipswitch and minor fixes
2019-05-18 18:00:14 +02:00
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