Commit Graph

630 Commits

Author SHA1 Message Date
negativeExponent
47f84dea99 ntsc: Remove magic numbers and cleanup 2020-10-02 19:18:04 +08:00
negativeExponent
e566538c99 Fix warning 2020-09-09 11:51:04 +08:00
negativeExponent
f4ef507222 Cheats: Add check for valid game genie code format
- Partially reverts changes in 0b362afcc0
- Checks the codestring if its a valid game genie code before attempting
  to decode it. If code fails, then assume it to be a pro action replay
cheat.

Issue: Cheats where failing because a value of 0 in the decoder does not
mean an error.

Fix https://github.com/libretro/libretro-fceumm/issues/384
2020-09-09 11:33:36 +08:00
negativeExponent
11ebeed2ac Cheats: Fix RAW cheats that use zero-page address 2020-09-01 23:05:54 +08:00
negativeExponent
771822a2e0 Fix logs 2020-08-31 17:26:18 +08:00
negativeExponent
0ca1e69a9d Cheat: Add raw codes support in xxxx?yy:zz format 2020-08-31 13:42:17 +08:00
negativeExponent
0b362afcc0 Cheats: Fix pro action replay cheat format
Two issues are causiong PAR cheats to not work.
1. GG decoder should only accept specific characters. When it fails,
   assume PAR code.
2. The corrent code that makes PAR decoding work was not set.

Both fixed on this PR with some added notes.
2020-08-31 12:49:42 +08:00
negativeExponent
3e50be9cb9 Cheat: Add raw format and multiline cheat support
- Add handling raw cheat formats
Fix https://github.com/libretro/libretro-fceumm/issues/378

- Add multiline cheat support
2020-08-31 10:50:19 +08:00
negativeExponent
a20dc87b43 Fix SIGSEGV error when using Famicom expansion devices (port 5) 2020-07-25 14:17:26 +08:00
Jean-André Santoni
aeaae26136 Add Micro Mages to fourscore_db_list 2020-07-12 21:04:09 +07:00
negativeExponent
48b80d3230 Fix input not working on big-endian systems (regression fix)
Fix https://github.com/libretro/libretro-fceumm/issues/372
2020-06-04 13:26:06 +08:00
Francisco Javier Trujillo Mata
c68bfd4c7f Adapt ps2 port to latest SDK Status 2020-05-19 22:12:38 +02:00
twinaphex
9604a33f7a MSVC2010 buildfix 2020-05-17 23:30:06 +02:00
twinaphex
ed784833dd Buildfix 2020-05-17 23:09:23 +02:00
hizzlekizzle
b894f42f2b Merge pull request #356 from arpruss/master
user-adjustable Zapper tolerance
2020-05-16 19:35:50 -05:00
arpruss
176e250c6a reduce max zapper tolerance to 20 2020-05-16 15:11:36 -05:00
negativeExponent
83457362e7 ines-correct.h: Fix MMC1 overrides
MMC1 overrides are treated as ines 2.0, so its needs at least default values for prgRam and chrRam columns.

Fixes FF1 pink screen due to unmapped chrram.
2020-05-12 09:44:31 +08:00
negativeExponent
542b8e64cb Use proper geometry when switching ntsc filter on or off
- Width changes previously was not respected when using ntsc filter. With full use of overscan, nes width
is 602 px when ntsc filter is used and 256 px on normal
2020-05-06 05:45:24 +08:00
negativeExponent
a81cd5fcb5 Fix build when compiling without NTSC filter support
- broke on last commit
- fixed 3ds build
2020-05-06 05:15:18 +08:00
arpruss
a125c1eec6 adjust Zapper tolerance; make Zapper input tolerance circular rather than rectangular by default 2020-05-05 15:42:26 -05:00
negativeExponent
048d9d9c82 libretro.c: Input updates
- some assorted libretro-related input updates and refactoring
2020-05-05 17:14:15 +08:00
negativeExponent
99347130c3 Fix timing when changing from PAL/Dendy to NTSC
- Happens when starting with PAL/Dendy region and changing to NTSC can cause frame to get stuck in 50 Hz
- using RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO should remedy this.
2020-05-05 10:00:26 +08:00
negativeExponent
122cc30a96 Ntsc: Remove height doubling/scanline effect
- We just use shaders for scanline if needed. ntsc + height doubling causes performance hit
for some slow devices. Any decent platform should be able to handle scanline effect shaders at least.
2020-05-05 09:07:55 +08:00
negativeExponent
5263e0a22a ines.c: Simplify rom info logs and cleanup 2020-05-03 14:35:21 +08:00
negativeExponent
e6fcff5e99 Fk23c: Fix chr issues for some games
- Affects mostly waixing using mixed chr rom/ram modes (bit 2 of ram config register $A001)
2020-04-26 08:19:45 +08:00
negativeExponent
40ff23d0df Update ines-correct.h
- Add overrides for FK23C
- Move MMC1 overrides
- Move MMC5 overrides
2020-04-25 19:17:49 +08:00
negativeExponent
53a43479f3 Move overrides out of some mappers
Move mapper-based overrides out and use ines-correct.h if possible. Affects the following mappers below:
- Move Cnrom database to ines-correct.h
- Mapper 201 update
- Mapper 91: Add Street Fighter III (Submapper 1) to ines-correct.h
- Add dipswitch notes to m237
- Update mapper9 (PC10 version of Mike Tyson's Punch-out)
2020-04-08 16:29:04 +08:00
negativeExponent
5df33af7dd Move battery-backed prg ram override to ines-correct.h 2020-04-08 00:14:53 +08:00
negativeExponent
03dc02cfc3 Start expanding internal override database (ines-correct.h) 2020-04-07 12:44:50 +08:00
negativeExponent
915c2be6a8 Fix unable to load some unif carts 2020-03-24 01:50:10 +08:00
negativeExponent
e1bf53e80c m274: Update 2020-03-24 01:46:36 +08:00
negativeExponent
a9f679ef15 Add 42-in-80000 multicart (m380) 2020-03-24 01:34:03 +08:00
negativeExponent
a09293bcc0 Add mapper 389 (Caltron 9-in-1) 2020-03-22 11:30:49 +08:00
hizzlekizzle
51db7e8ccc Merge pull request #345 from negativeExponent/update_bmcfk23c
m176: Minor tweak to chr mixed ram/rom logic check and others
2020-03-20 21:55:22 -05:00
negativeExponent
9d90c0ca21 Fix https://github.com/libretro/libretro-fceumm/issues/346 2020-03-21 08:49:45 +08:00
negativeExponent
d44a530a64 Add Mortal Kombat Trilogy - 8 People (M1274) (Ch) [!].nes to ines-correct.h
from nesdev notes:
GoodNES 3.23b's "Mortal Kombat Trilogy - 8 People (M1274) (Ch) [!]" is actually the "KY-9005 9-in-1" multicart and runs on NES 2.0 Mapper 260.

- assiged to mapper_260
2020-03-21 07:00:40 +08:00
negativeExponent
a1f7cf9d89 Merge unif board BMC-Super24in1SC03 to BMC-FK23C 2020-03-19 22:01:25 +08:00
negativeExponent
311c450d01 m176: Minor tweak to chr mixed ram/rom logic check and others
- tweak chr mixed ram/rom logic check
- minimize updates to address $500x writes when there are no changes to reg values
- fix incompatible pointer type warning
2020-03-19 09:25:44 +08:00
negativeExponent
875ca9004b Simplify dipswitch options for Nintendo World Championships 1990 cart 2020-03-18 09:30:58 +08:00
negativeExponent
7602b0b613 MMC3: Make sure to free any allocated memory when using MMC3 as an external module. 2020-03-17 22:42:12 +08:00
negativeExponent
04ba2ac450 Misc mapper updates
- just some misc non-function changing updates
2020-03-17 22:00:59 +08:00
negativeExponent
ebcb4e66d9 m269: Move chr unscrambling to mapper init 2020-03-17 21:04:06 +08:00
negativeExponent
1788955a90 Unif: Show raw values for prg/chr rom size in logs 2020-03-17 20:19:33 +08:00
negativeExponent
4d06f77e10 Remove unneeded code in BMC-Super24in1SC03
- remove remnants of last mapper update and code section that does not work anymore with fceumm's board handling
2020-03-17 10:55:56 +08:00
negativeExponent
d50f2e26e6 Cleanup 2020-03-17 10:35:56 +08:00
negativeExponent
5dc540dd5c Remove duplicate code in bmc-fk23c 2020-03-17 10:27:57 +08:00
hizzlekizzle
4be418bde3 Merge pull request #341 from negativeExponent/fix_fk23c
Rewrite BMC-FK23C/A (m176) based on latest notes and testing
2020-03-16 18:43:09 -05:00
negativeExponent
16031375d4 Rewrite BMC-FK23C/A (m176) based on updated notes and testing 2020-03-17 02:37:22 +08:00
negativeExponent
374677ae28 Fix incompatible pointer type warning 2020-03-14 20:27:44 +08:00
negativeExponent
f2c3d35d25 Add 168-in-1 New Contra Function 16 to ines-correct.h 2020-03-12 20:47:41 +08:00