Commit Graph

692 Commits

Author SHA1 Message Date
NewRisingSun
86356c24c2 Make mapper 59 always reset to menu. Add mapper 59 multicarts that had previously been set to 60, colliding with 'Reset-based 4-in-1', to CRC-based correction table. 2021-04-14 19:09:02 +02:00
Autechre
04a5d87a98 Merge pull request #444 from NRS-NewRisingSun/mindkids
MINDKIDS/KT-008
2021-04-10 21:55:58 +02:00
NewRisingSun
f3bdbd6581 Forgot one KT-008 hack remnant. 2021-04-10 21:40:01 +02:00
NewRisingSun
0657d21366 MINDKIDS accessible as NES 2.0 m268.1; mapper 224 is MINDKIDS; remove KT-008 remnants from mmc3.c 2021-04-10 14:38:49 +02:00
negativeExponent
61c2d95dac Add support for Konami Hyper Shot
This is just a quick hook-up of the konami hyper shot controller.

-The Konami Hyper Shot is used (and required for gameplay) in the following games:

* Hyper Olympic (J) Konami (1985)
* Hyper Sports (J) Konami (1985)

Fix #439
2021-04-10 15:20:57 +08:00
negativeExponent
50b9024080 more C89 fixes 2021-04-10 02:21:29 +08:00
negativeExponent
491975cf97 C89 fixes 2021-04-09 20:28:15 +08:00
twinaphex
cb9ea8f94e More C89 build fixes - for loop initial declarations 2021-04-08 17:50:56 +02:00
twinaphex
960528aa15 Style nits, C89 build fixes 2021-04-08 17:46:51 +02:00
NewRisingSun
d14623a966 readALU_DIP already returned a value in every case, but LGTM apparently did not get it. 2021-04-08 17:27:41 +02:00
NewRisingSun
c06e25ed30 Rewrite and unify J.Y. ASIC emulation. Add multicart mappers. 2021-04-08 17:06:17 +02:00
NewRisingSun
f4a5c2a420 Mapper 332: Add CNROM mode, support larger multicarts 2021-04-07 18:45:37 +02:00
negativeExponent
8fa62114d8 Apply region overrides when loading new rom (Fix#430) 2021-03-01 06:33:17 +08:00
NewRisingSun
82ce944aa3 Combine the very similar mappers 126/422/534/BS400/BS4040 into one common source code file. Rewrite for accuracy and compatibility with all known game dumps. Replace FUTURE KIDS hack with correct CNROM masking. 2021-01-31 15:51:09 +01:00
twinaphex
b5f6221abc Fix MSVC 2003 build 2021-01-20 07:59:45 +01:00
Francisco Javier Trujillo Mata
c85ab05800 Fix wrong aligment in the buffer 2021-01-14 21:56:40 +01:00
Autechre
9223fe174f Merge pull request #415 from Dwedit/save_state_fix
Save state fix
2020-12-30 22:08:04 +01:00
Dwedit
d87f7e5b34 Prevent adding NULL terminator to save state extra list 2020-12-30 15:50:22 -05:00
Dwedit
5fc31e82be Fixed a bug that caused extended save state information to be truncated early. 2020-12-30 15:33:27 -05:00
twinaphex
1a0eec1b17 Update 2020-12-20 03:46:42 +01:00
negativeExponent
8deefc3bef Fix warning 2020-11-17 06:52:11 +08:00
negativeExponent
565391c213 Directly apply NES 2.0 overrides when available 2020-11-17 06:46:41 +08:00
negativeExponent
d98245e49c Misc update 2020-11-17 06:40:10 +08:00
negativeExponent
faa58abe0f Add mapper 401 2020-11-17 03:30:05 +08:00
negativeExponent
0cc55ba1f1 m293: Fix alignment and update 2020-11-17 00:19:02 +08:00
negativeExponent
14b689cde6 Add mapper 293 2020-11-16 18:17:00 +08:00
Autechre
79b76eb197 Merge pull request #405 from michaelforney/toplevel-semicolons
Remove extraneous semicolons at top-level
2020-11-12 02:11:13 +01:00
negativeExponent
d8132fa88d Update bs4xxxr 2020-11-12 02:45:46 +08:00
Michael Forney
066899eaff Remove extraneous semicolons at top-level
These are unnecessary and not strictly allowed in ISO C.
2020-11-10 19:23:34 -08:00
negativeExponent
ed01e34323 Add unif multicarts
- Add unif board BS400R
- Add unif board BS4040R
2020-11-09 20:12:54 +08:00
Autechre
e7e7610c27 Merge pull request #401 from negativeExponent/mappers
Add mapper 370 and 395, update mapper 221
2020-10-30 17:47:45 +01:00
Autechre
0a473440c3 Merge pull request #402 from negativeExponent/fix
add workaround for some multicart games
2020-10-30 17:47:35 +01:00
negativeExponent
66dc404582 Fix #398 2020-10-31 00:23:37 +08:00
negativeExponent
344c12301f Add mapper 370 and 395, update mapper 221
Add support for mapper 395
Add support for mapper 370
Update mapper 221 for 2MB bank support
2020-10-31 00:16:42 +08:00
Autechre
0e173120c3 Merge pull request #399 from negativeExponent/updates
misc updates
2020-10-27 16:48:04 +01:00
Alcaro
1258eb759f Don't set pixel_format in retro_init
libretro.h says "This function should be called inside retro_load_game() or retro_get_system_av_info().", let's do as it says.
2020-10-27 04:00:53 +01:00
negativeExponent
9f46517792 Fix some warnings reported from LGTM 2020-10-26 07:41:48 +08:00
negativeExponent
4e2c5468e4 Overclock: Remove this for region change
These variables, normal_scanlines and totalscanlines will get updated if
FCUI_SetVidSystem(), so no need to set it here.
2020-10-26 06:36:10 +08:00
negativeExponent
2ae14b75de APU: Move duty cycle swapping during apu writes 2020-10-26 06:35:58 +08:00
negativeExponent
6eccb4401f Update libretro-common 2020-10-25 12:01:27 +08:00
negativeExponent
565f60c0f2 Fix some warnings 2020-10-25 08:31:41 +08:00
negativeExponent
71daae412e UNIF: Ensure that used memory are freed on errors
- removes "goto" jumps
- frees ROM and VROM if necessary
2020-10-23 10:24:12 +08:00
negativeExponent
c542204651 UNIF: Fix incorrect ines-mapper log and cleanup 2020-10-23 09:51:17 +08:00
negativeExponent
75165981fb Change c++ to c comments 2020-10-22 19:59:23 +08:00
negativeExponent
5538bbedd9 Update mapper 059/060
Excerpt from nesdev:

NESten's Mapper DLL v1.0 contained an incorrect implementation of T3H53 as iNES mapper 059 and UNIF mapper BMC-T3H53. The UNIF implementation was improved in NESten's Mapper DLL v1.2 while the iNES implementation was not, causing confusion about what kind of cartridge the unimproved mapper 59 was supposed to be. As Nintendulator's mapper DLL is based on NESten's mapper DLL, this was carried over to Nintendulator. Presumably as a result of this confusion, FCEUX and others put the correct implementation of T3H53 at INES Mapper 060, displacing the "Reset-based NROM-128 4-in-1" in the process.

With that said above, im following nesdev's notes and change the
following:

- Reassign Mapper 60 as Mapper 59.
- Add BMC-T3H53, a UNIF cart using the same UNIF-board D1038 which is
  assigned as iNES Mapper 59
- Add the Reset-Based NRON-128 mapper, Mapper 60
2020-10-22 05:49:41 +08:00
negativeExponent
fc99e34a2c Typo 2020-10-21 21:07:13 +08:00
negativeExponent
c2594418a9 m176: Fix battery save size, silence parenthesis warning 2020-10-21 21:03:36 +08:00
negativeExponent
e0cb4d2814 Fix warnings [-Wimplicit-fallthrough=] 2020-10-21 20:55:08 +08:00
negativeExponent
99c0d8351f Fix warnings [-Wmissing-field-initializers] 2020-10-21 20:35:05 +08:00
negativeExponent
2c97c53c8b m176: Fix address mask causing incorrect register writes 2020-10-20 22:13:03 +08:00