Commit Graph

767 Commits

Author SHA1 Message Date
Twinaphex
5b57ca32cb Merge pull request #293 from retro-wertz/patch-1
Update vsuni.c
2019-08-01 18:54:26 +02:00
retro-wertz
bf08124293 Update vsuni.c
Change this to normal comparison check
2019-08-01 23:57:52 +08:00
Twinaphex
cc7f786af5 Merge pull request #291 from retro-wertz/updates
update core options and cleanup
2019-08-01 16:45:03 +02:00
retro-wertz
878b0937f5 Update libretro_dipswitch.c 2019-08-01 22:25:58 +08:00
retro-wertz
d807bac15b Remove unused variables 2019-08-01 20:31:42 +08:00
retro-wertz
313f69daaf Silence warning and fix missing NULL terminators on core option struct
- silence warning: missing braces around initializer [-Wmissing-braces]
2019-08-01 20:02:17 +08:00
Twinaphex
0a0fdb8c2b Update libretro_core_options.h 2019-07-31 03:38:05 +02:00
hizzlekizzle
8441c964b0 Merge pull request #287 from retro-wertz/fix_msvc2010
Use sprintf() instead of snprintf()
2019-07-21 10:13:40 -05:00
retro-wertz
de89c5bcfb Use sprintf() instead of snprintf()
- fix msvc2010 build
2019-07-21 16:16:05 +08:00
hizzlekizzle
74c4b02f83 Merge pull request #286 from retro-wertz/core_option_sublabel
dipswitch option sublabel update and fixes
2019-07-20 22:40:38 -05:00
retro-wertz
8446a7ba58 dipswitch.c: Rename src and header file
- (non function-changing update) just for consistency, append "libretro_" to source file to be consistent with new core option file
2019-07-21 10:27:26 +08:00
retro-wertz
be1d0a3dac diswitch.c: Fix crash issues and and cleanup
- Partial rewrite to clean up dipswitch struct to prevent potential crashes
- Fix problems on vs games without dipswitch to cause core to crash
- Create dipswitch struct based on new core options layout
2019-07-21 09:57:03 +08:00
retro-wertz
c310050084 Allow compiling with asan 2019-07-20 17:54:56 +08:00
Twinaphex
191cdcc11c Merge pull request #285 from retro-wertz/fix_m274
BMC-80013B: Fix incorrect bank map
2019-07-19 19:46:53 +02:00
Twinaphex
f2af127faf Merge pull request #284 from retro-wertz/core_option_sublabel
Core option sublabels
2019-07-19 19:46:46 +02:00
retro-wertz
3659603d19 Add core option sublabels 2019-07-20 01:24:08 +08:00
retro-wertz
1df85a7483 BMC-80013B: Fix incorrect bank map 2019-07-20 00:55:17 +08:00
retro-wertz
3a4556dec6 Update libretro-common 2019-07-19 16:12:38 +08:00
hizzlekizzle
c2a432f0f3 Merge pull request #282 from retro-wertz/patch-1
Try to fix PS3 save state issue.
2019-07-16 17:12:52 -05:00
hizzlekizzle
86c02c1e36 Merge pull request #281 from retro-wertz/nes2_wip
Nes2 wip
2019-07-16 17:12:25 -05:00
retro-wertz
26f2dcafe2 Try to fix PS3 save state issue.
In the past while fixing state problems i Wii, this section was the last one i found to be a problem as well. Ignoring this state variable fixes the last Wii state loading problem. PS3 has recently been reported as having state problems and could be similar issue. So, lets just ignore this state variable for all big-endian platforms.
2019-07-17 05:55:37 +08:00
retro-wertz
ec19b07b4d Mapper 226: Updated and remove duplicate mapper
- Updated mapper 226 to support 1.5mb carts, which in turn makes Unif Ghostbusters63n1 a duplicate.
- Unif 42in1ResetSwitch switch to mapper 233
2019-07-12 23:35:11 +08:00
retro-wertz
748f27571d BMC-K-3088: Fix outer bank size 2019-07-12 06:40:18 +08:00
retro-wertz
429f6c4545 UNIF: Update boards based on last commit
- fixes (if necessary), update and cleanup the following boards that now dont need alternate mappings:
- this is part of migrating unif to be usuable in ines mappers
- boards affected in this commit are:
  SUPERVISION16IN1, GS-2004, GS-2013, UNL-SMB2J, MARIO1-MALEE2, UNL-SA-9602B, UNL-KS106C / RESETNROM-XIN1
  UNL-AC08, NES-NTBROM, BMC-K-3033, BMC-GN-26, BMC-GHOSTBUSTERS63IN1, BMC-830425C-4391T
  BMC-830134C, BMC-891227 / BMC-CTC-12IN1, BMC-JC-016-2, UNL-T4A54A, UNL-8157, BMC-T-262
  (might have forgotten to list some...)
2019-07-11 16:34:39 +08:00
retro-wertz
2a7bd37276 UNIF: Change how roms are loaded in multiple prg/chr file versions
- Part of migrating UNIF to NES 2.0 conversion, which should make
  each unif roms to be compatible with each other. Some roms have
  separate prg and chr banks, which mapper has to do separate banking
  for such file versions.
- This change would  also make the boards to be easily usuable iNes/Nes 2.0.
2019-07-10 11:11:01 +08:00
retro-wertz
8f19234f55 Start assigning NES 2.0 mapper numbers to UNIF boards (256+ boards) 2019-07-09 09:07:23 +08:00
retro-wertz
51199e59d7 NES 2.0: Add preliminary support for iNES 2.0 format
Currently reads and sets the following:
- mapper number up to 4095, prg rom size, chr rom size
- chr ram (volatile + non-volatile), region (ntsc, pal, dendy or multi-region)

todo: submapper handling, w-ram and prg nvram at least...
2019-07-08 09:25:00 +08:00
hizzlekizzle
bb8aef82c1 Merge pull request #279 from retro-wertz/unif
initial database implementation for unif and updates
2019-07-02 08:35:03 -05:00
retro-wertz
7e9b3b146d UNIF: Initial implementation of game overrides (move exiting ones out of mapper code) 2019-07-02 19:34:55 +08:00
retro-wertz
06c99179be Add support for Mapper 237 (Teletubies Y2K multicart) 2019-07-02 09:37:00 +08:00
retro-wertz
dce349932c BMC-411120-C/K-3088: Update PRG banking. Combine both boards
- Both are functionally the same, only dipswitch is different.
- These boards are assigned as NES 2.0 287 mapper in wiki
2019-06-29 17:11:49 +08:00
retro-wertz
634eb688c1 UNIF: Fix potential crash when accessing non-existing rom banks
- As stated, prevent a potential crash on some certain roms using split rom banks. This is done by counting the number of prg/chr banks loaded and using this as limit count during mapper bank switching.
- Update related boards.
2019-06-29 17:11:49 +08:00
retro-wertz
83b2f99527 Mapper134: Update and add support for UNL-T4A54A unif board 2019-06-29 17:11:49 +08:00
Twinaphex
4e1bdaaed0 Merge pull request #277 from ehmry/tup
Tupfile for super-repositories
2019-06-29 01:19:14 +02:00
Emery Hemingway
74e43dbd02 Tupfile for super-repositories
- Revert Genode Make rules
- Tweak Makefile.common for compatiblity
- Allow LIBRETRO_COMM_DIR override
2019-06-28 23:44:06 +02:00
Emery Hemingway
3259e34303 Remove stale references to src/mappers 2019-06-28 23:39:38 +02:00
hizzlekizzle
5b9dfcf2c5 Merge pull request #276 from retro-wertz/unif
add new UNIF boards and some fixes/updates to existing ones
2019-06-26 12:53:37 -05:00
retro-wertz
fa21e91ef5 UNL-EH8813A: Update based on latest wiki 2019-06-27 01:03:17 +08:00
retro-wertz
e734fa8796 Add support for BMC-GN-26 2019-06-27 00:55:49 +08:00
retro-wertz
6d26ce4f9f BMC-K-3036: Fix incorrect write address range 2019-06-26 22:17:29 +08:00
retro-wertz
6653f4028a Add support for BMC-830134C 2019-06-26 16:45:08 +08:00
retro-wertz
38a560df82 A few unif board fixes
- RESET-NROM-XIN1 - fix MD5 mismatch due to uninitialized variable
- RESET-TXROM - improve compatibility with some rom types
2019-06-26 11:04:42 +08:00
retro-wertz
93986604ac Add support for BMC-K-3033 2019-06-26 09:03:01 +08:00
retro-wertz
024a2f904e Add support for FARID_UNROM_8-IN-1 and NEWSTAR-GRM070-8IN1 2019-06-26 00:11:14 +08:00
retro-wertz
3666962090 UNL-KS7017: Smoother state loading...
- Smoother states loading  by using the the register value used during call to Sync() instead of the last value written since write and sync are called at different times.
- (reg value written @ $4A000, sync happens $5100)
2019-06-25 18:38:13 +08:00
retro-wertz
0cb1c866a1 Silence clang warnings 2019-06-25 16:56:05 +08:00
retro-wertz
afaa5eab6c Add support for BMC-CTC-12IN1 and BMC-891227 2019-06-25 16:47:18 +08:00
retro-wertz
6ff34f4c7a Add support for BMC-L6IN1 2019-06-25 11:10:00 +08:00
retro-wertz
177cd68d99 Add support for UNL-BJ-56 and BMC-G631 (probably a Ghostbuster63in1 mislabel) 2019-06-25 08:10:36 +08:00
retro-wertz
42ae290d46 Add BMC-STREETFIGTER-GAME4IN1 2019-06-24 18:45:20 +08:00