Commit Graph

1016 Commits

Author SHA1 Message Date
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
Autechre
2a317f27b3 Merge pull request #397 from negativeExponent/updates
misc updates
2020-10-23 04:50:08 +02: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
Autechre
a921a0f6e5 Merge pull request #396 from negativeExponent/mapper_updates
Update mapper 059/060
2020-10-22 02:07:58 +02: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
Autechre
168515f6e3 Merge pull request #395 from negativeExponent/fix_warnings
Fix warnings
2020-10-21 21:37:02 +02: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
Autechre
b3da5fcdce Merge pull request #394 from negativeExponent/mapper_updates
m176: Fix address mask causing incorrect register writes
2020-10-20 18:49:08 +02:00
negativeExponent
2c97c53c8b m176: Fix address mask causing incorrect register writes 2020-10-20 22:13:03 +08:00
Autechre
09cb100ddd Merge pull request #393 from negativeExponent/updates
misc updates, fixes and cleanup
2020-10-19 05:27:03 +02:00
negativeExponent
8b3c191f68 Remove NETWORK branch
This was part of netplay.c that do not exist anymore. Its empty and not
relevant to current codebase.
2020-10-19 09:32:42 +08:00
negativeExponent
7d232046a1 Remove unused functions 2020-10-19 09:31:16 +08:00
negativeExponent
023d2a397b m176: Updates
- Fix incorrect chr-bank mask (let's see which games complain again)

- Enables the 7-stage dipswitch support through reset switch.
  E.g switches multicart type on supported carts. like 10-in-1 to
  20-in-1 etc.
2020-10-19 09:17:45 +08:00
negativeExponent
412e40698d Fix overrides incorrectly setting flags 2020-10-19 08:18:23 +08:00
Autechre
abe6e3d232 Update .gitlab-ci.yml 2020-10-18 19:20:16 +02:00
twinaphex
b42551e232 Add ps2 target 2020-10-16 00:56:39 +02:00
Autechre
5da9c6b547 Merge pull request #391 from negativeExponent/mapper_updates
m176: Always enable wram for ines-headered roms
2020-10-12 22:59:10 +02:00
negativeExponent
7b1cb3e224 Enable default 8K wram to unif fk32ca 2020-10-13 04:27:33 +08:00
negativeExponent
658370fa90 m176: Always enable wram for ines-headered roms 2020-10-12 11:20:11 +08:00
Autechre
547bd25709 Merge pull request #390 from negativeExponent/mapper411
Add mapper 411
2020-10-11 17:17:48 +02:00
negativeExponent
8073cfba7e Add mapper 411 2020-10-11 22:56:00 +08:00
Autechre
863b561a7d Merge pull request #389 from negativeExponent/mapper554
Add mapper 554
2020-10-11 16:50:25 +02:00
negativeExponent
5657cb9a1c Add mapper 554 2020-10-11 22:48:58 +08:00
twinaphex
e03f7adc85 Fix warnings 2020-10-07 00:09:44 +02:00
twinaphex
451a040d26 (gitlab) Add vita 2020-10-07 00:07:12 +02:00
Autechre
5218acf52c Update .gitlab-ci.yml 2020-10-06 20:37:48 +02:00
Autechre
da770d9ac8 Update .gitlab-ci.yml 2020-10-06 20:33:47 +02:00
Autechre
0a40774e86 Create .gitlab-ci.yml 2020-10-06 18:58:56 +02:00
Autechre
b23be9d6bb Merge pull request #387 from negativeExponent/input_fix_warnings
input: Fix warnings [-Wincompatible-pointer-types]
2020-10-05 04:49:10 +02:00
negativeExponent
085efc98a7 input: Fix warnings [-Wincompatible-pointer-types] 2020-10-05 10:38:44 +08:00
Autechre
ff7d5281ce Merge pull request #386 from negativeExponent/ntsc
ntsc and overscan fixes
2020-10-02 13:53:31 +02:00
negativeExponent
6e1d873846 Rename overscan-related variables
- Rename overscan options to something more readable
- Fixes PSP overscan option logic where some places where the option is reversed
2020-10-02 19:33:26 +08:00
negativeExponent
47f84dea99 ntsc: Remove magic numbers and cleanup 2020-10-02 19:18:04 +08:00
Autechre
5f5c8f27ba Merge pull request #385 from negativeExponent/fix_cheat_support
Cheats: Add check for valid game genie code format
2020-09-09 06:24:05 +02: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
Autechre
96744ba2ab Merge pull request #382 from negativeExponent/fix_cheat_support
Fix https://github.com/libretro/libretro-fceumm/issues/381
2020-09-01 17:20:27 +02:00
negativeExponent
11ebeed2ac Cheats: Fix RAW cheats that use zero-page address 2020-09-01 23:05:54 +08:00
Autechre
55d6d32f47 Merge pull request #380 from negativeExponent/fix_cheat_support
fix pro action replay, add 10-digit raw format
2020-09-01 01:31:17 +02: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
Autechre
274603cd04 Merge pull request #379 from negativeExponent/fix_cheat_support
Cheat: Add raw format and multiline cheat support
2020-08-31 05:41:09 +02:00