Commit Graph

1199 Commits

Author SHA1 Message Date
negativeExponent
d6c854abd8 Use fopen_utf8 instead of fopen 2021-04-20 16:18:54 +08:00
Autechre
107d886bd8 Merge pull request #446 from NRS-NewRisingSun/mapper59
Make mapper 59 always reset to menu. Add previous mapper 60 ROM files to iNES correction table.
2021-04-14 21:47:05 +02:00
NewRisingSun
825cdb8788 Add lock bit, necessary for NT-234's Road Fighter 2021-04-14 21:03:59 +02:00
NewRisingSun
89bd38c33b Typo in ines.c 2021-04-14 19:30:47 +02:00
NewRisingSun
9cfea5b7d1 Typos in 428.c 2021-04-14 19:29:08 +02:00
NewRisingSun
5fc30e3d20 Add TF2740 to unif.c 2021-04-14 19:17:53 +02:00
NewRisingSun
cf476194ce Combine UNIF AB-G1L, WELL-NO-DG450 and TF2740 into NES 2.0 Mapper 428. 2021-04-14 19:16:57 +02:00
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