Commit Graph

501 Commits

Author SHA1 Message Date
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
retro-wertz
78c0cb422e BMC-K-3088: move to its own mapper for better compatibility. 2019-06-24 18:24:22 +08:00
retro-wertz
db8a5ab2c9 Add UNL-AX-40G 2019-06-24 18:03:18 +08:00
retro-wertz
c9b3dfb8d5 Add BMC-T-262 2019-06-24 07:00:29 +08:00
retro-wertz
503dd5249b Add BMC-JC-016-2 2019-06-24 06:26:44 +08:00
retro-wertz
e89bcbfb0d UNIF: Update mirroring on some boards based on last commit 2019-06-23 21:27:13 +08:00
retro-wertz
130580d70e BMC-830425C-4391T: Update cpu banking
- Fixes loading Mermaid game.
2019-06-23 20:15:32 +08:00
retro-wertz
706ee28294 UNIF: Allow mirroring override (removes hard mirroring in vertical/horizontal modes)
- A few multi-cart UNIF carts are incorrectly using vertical/horizontal mirroring but the mapper used has mapper-controlled mirroring which does not work when using previous hard-mirroring.

- This PR allows overriding the initial mirroring set (vertical/horizontal) when cart requests a mirroring change for multi-cart games.
2019-06-23 20:04:11 +08:00
twinaphex
dae081ba6d Implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS 2019-06-21 11:21:46 +02:00
retro-wertz
b414ad2176 Add UNIF boards...
- Add UNL-TH2131-1, UNL-LH51, BMC-RESETNROM-XIN1, BMC-RESET-TXROM
- Add FARID_SLROM_8-IN-1, BMC-830425C-4391T, BMC-TJ-03, BMC-CTC-09
- Add BMC-K-3046, BMC-SA005-A, BMC-K-3006, BMC-K-3036, MINDKIDS
- Add UNL-KS7021A, KS106C, BTL-900218
- Cleanup VRC2and4 (unify power function)
2019-06-20 04:09:07 +08:00
retro-wertz
650bc4579a Update ines-correct based on latest tests, update m36...
- Update exiting game database based on latest changes and testing (reference nesdev for one)
- Update mapper 36, supports F-15 City War (Spain) (Gluk Video) (Unl)
- add Reset function to m177, fixes games freezing when reset is pressed (might not be a hardware behavior, but its annoying for emulators :D)
2019-06-18 09:02:36 +08:00
hizzlekizzle
27a71cc3fb Merge pull request #272 from yoshisuga/lightgun_touchscreen_support
Add back support for pointer device (touchscreen) for lightgun input
2019-06-12 22:47:35 -05:00
retro-wertz
67ae7663b8 Add m114.1(boogerman), m281, bmc-80013b. Update m205. Disable kt-008 hack on mmc3. Add a few games to ines-correct.h
- Support for Boogerman (SuperGame) Mapper 114, submapper 1
- Update Mapper 205 based on nesdev, move previous mapper 205 to separate GN-45 mapper with retained support to emulate OK-411
- Use nes-to-unif wrapper for some games which does not have nes 2.0 header.
- add unif board BMC-80013-B
- add mapper 281 (JY-052)
- disable KT-008 hack on mmc3. KT-008 boards should be assigned as Mapper 224. Fixes Final Fantasy X1/X2
- force-assign a few roms using ines-correct.h
2019-06-12 01:25:16 +08:00
Yoshi Sugawara
38ba67413f Add back support for pointer device (touchscreen) for lightgun input 2019-06-10 17:16:00 -10:00
retro-wertz
7e745cc5eb Assign a few more games as mapper 215
- these games were assigned to mapper 217 in goodnes. this mapper is deprecated and the said games are Mapper 215's
- Minor adjustment of rom info logs at startup
2019-06-01 19:06:04 +08:00
retro-wertz
74513dd8e4 Update bus conflict for some games using mapper 3, add some games to ines-correct.h 2019-06-01 01:51:53 +08:00
retro-wertz
950479cc7a NROM: update prg mapping 2019-05-31 20:33:46 +08:00
retro-wertz
5c4a659b49 mapper63: try fixing openbus reads again 2019-05-31 19:45:45 +08:00
retro-wertz
1c0d0192d1 Silence clang warnings (-Wbitwise-op-parentheses) 2019-05-30 23:17:00 +08:00
retro-wertz
897221a503 Fix missing openbus read in mapper 63 2019-05-30 22:56:40 +08:00
retro-wertz
3d4ebd5b7b Add mapper 126
- supports the game, PowerJoy 84-in-1 Multicart (PJ-008)
2019-05-30 22:49:51 +08:00
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
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
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
retro-wertz
a3a16a68e7 vsuni: Add "VS TKO Boxing [a1]" to supported games 2019-05-18 23:10:00 +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
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
retro-wertz
d164ea7470 Move some startup variables into retro_load_game 2019-03-11 15:39:57 +08:00
retro-wertz
75e837f34a Update libretro.c 2019-02-24 01:51:44 +08:00
Francisco Javier Trujillo Mata
e962d1f19c [PS2] Fix wrong palette in FCEUmm 2019-02-22 00:05:24 +01:00
Francisco Javier Trujillo Mata
9715f13bc7 Improvement paddings
Improvement palette
2019-02-17 23:23:12 +01:00
Francisco Javier Trujillo Mata
d7f7709a37 Add palette into FCEumm for PS2 2019-02-01 23:39:18 +01:00
retro-wertz
55b3d8a5bc FDS: Fix pointers are not freed when closing rom 2019-01-06 10:42:12 +08: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
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