Commit Graph

452 Commits

Author SHA1 Message Date
Sergiy Dvodnenko
0b2e6eb2bd Saturn: cancel the fix for TOC, add hack for WWF games (#973) 2025-03-15 00:55:11 +08:00
Martin Donlon
785d0a4b3e Arcade cheat support (#969)
Remove dip switch based cheat support which was unused by any core.
MRA files can now specify cheat data directly
2025-02-20 16:11:28 +08:00
Sergiy Dvodnenko
80107bf693 Saturn: recalculate the CD cycle time when file access is delayed (Time Gal & Ninja Hayate) 2025-02-08 11:28:34 +02:00
Sergiy Dvodnenko
9003f1706f Saturn: fix the start of the track in the TOC (WWF Wrestlemania, WWF In Your House) 2025-02-08 11:17:37 +02:00
Sergiy Dvodnenko
6bbc3a4809 Saturn: add delay for the Seek command (Radiant Silvergun stage 4D) (#960) 2025-02-06 23:58:02 +08:00
humply
adc62bb1ea ao486: Improve UMA by using the real ROM size when loading a ROM (#961) 2025-01-31 20:44:29 +08:00
Andre Zeps
57d29ae3e5 Philips CD-i: Subcode and image handling (#954)
* Philips CD-i: Rewritten image handling

Added subchannel Q data
Added Table of Contents
Fixed differences between CUE and CHD
Fixed handling of data in pregap

* Philips CD-i: Add support for scrambled sectors

Fixes "The Apprentice (Europe)"
2025-01-19 15:49:05 +08:00
kdedon
020b1d7706 Read new .cfg file, update drive structure (#949) 2025-01-13 21:35:06 +08:00
humply
7e40f55c37 AO486: Improve memory initialization (#942) 2024-12-19 13:38:14 +08:00
Andre Zeps
b79e95ee97 Philips CD-i (#939)
* CD-i: add cd reading support

Inspired by the PSX code

* CD-i: add cd reading support

Fix CDI track type

* CD-i: NvRAM backup and restore
2024-12-16 13:04:40 +08:00
Sergiy Dvodnenko
5418c6f09a Saturn: initialize the external backup memory. (#938) 2024-12-09 13:03:25 +08:00
paulb-nl
ee55783393 SNES: remove hardcoded index for ROM. (#934)
This allows for changing the index without breaking older core releases
and also to use boot0-3.rom.
2024-11-25 14:40:35 +08:00
Sergiy Dvodnenko
2ae40aeadb SNES: add Sufami Turbo support (combined rom) (#927) 2024-10-31 01:16:12 +08:00
paulb-nl
425780205a Minor: N64 fix include path. SNES load rom with index 0 only (#921) 2024-10-03 14:34:28 +08:00
Sergiy Dvodnenko
d1fe487a48 SNES: increase the maximum bsram size to 256Kb 2024-09-12 11:31:32 +03:00
Sergiy Dvodnenko
5e23bfe6f3 Saturn: fix the Seek command (Die Hard Arcade) 2024-09-12 11:26:45 +03:00
Rikard Bengtsson
b2c96be7f8 **N64** (#916)
Add in-memory patching to the few remaining games that still don't work property, like Jet Force Gemeni and Resident Evil 2.
Removed unused tag.
2024-09-04 14:18:14 +08:00
Rikard Bengtsson
f3736a4e13 Fix potential error in the trim() function (#912)
String length returned at line #514 could be longer than 20, not good. Using strnlen instead, to avoid reading garbage bytes.
2024-08-27 18:30:39 +08:00
terminator2k2
cab156339e add support for svcsplus .Neo Format (#909) 2024-07-11 20:59:16 +08:00
Sergiy Dvodnenko
74d819b35a Saturn: finish reading one sector when a PLAY command is immediately interrupted by a SEEK command (Astal sound stutters) (#893) 2024-03-31 11:59:50 +08:00
RoboSchmied
bd096798a0 Fix: 8 typos (#892)
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-29 16:37:43 +08:00
Sorgelig
77b41d0c6a MGL/MRA: add same_dir attribute for setname. 2024-03-26 01:11:12 +08:00
Alyssa Dierking
8d14a4ddb7 PSX: Fix the end sector for the last track on audio CDs (#888) 2024-03-24 20:42:41 +08:00
Zakk
9d7f739e34 PSX: match user_io buffer size to chd hunk size 2024-03-12 19:53:45 -04:00
Zakk
3a0d20577e Use hunksize from chd instead of header constant 2024-03-12 19:31:10 -04:00
Zakk
40501a8775 Update to latest libchdr
zstd compression and removal of flac (moved to single file implementation)
2024-03-12 19:28:51 -04:00
Rikard Bengtsson
6ab4f0036f N64: Software cheats (#882)
* N64: Implement cheats

* Remove unused function

* Corrected byte mask condition (skip if 0xffffffff)

* Meow

* Final changes to make the parser compatible with gamehacking.org's cheat files.

* Revert back to old pointer convention.
2024-03-07 19:39:20 +08:00
Sergiy Dvodnenko
39e21237c1 Saturn: fix track offset for CHD 2024-03-03 17:39:39 +02:00
Sergiy Dvodnenko
7e6231c768 Saturn: fix audio track buffering (audible clicks) 2024-03-03 17:36:35 +02:00
Sergiy Dvodnenko
bb31f66e3a Saturn: ignore index 0 when parsing CUE for CHD compatibility (#879) 2024-03-02 00:31:14 +08:00
Sergiy Dvodnenko
09b64eb927 Saturn: fix track count 2024-02-28 18:42:19 +02:00
Sergiy Dvodnenko
6a154079bf Saturn: send disc system ID data to FPGA 2024-02-28 17:54:52 +02:00
Sergiy Dvodnenko
9f7a6c3124 Saturn: add support for multi-index tracks (Monster Slider) 2024-02-28 17:50:25 +02:00
Sergiy Dvodnenko
f19685b118 Saturn: use a common save file for multi-disc games (#872) 2024-02-06 23:45:05 +08:00
Rikard Bengtsson
9ba9b7febd N64: Push transfer pak save data directly to GAMEBOY folder (#871)
* N64: Implement improved save handling for Transfer Pak games.
2024-02-03 23:47:53 +08:00
Rikard Bengtsson
03b4e0097c N64: Hide auto-detect info with MiSTer.ini (#868) 2024-01-16 20:24:40 +08:00
Rikard Bengtsson
09e2f4fd03 Fix bug in dead zone code affecting DS3/DS4 (#866)
A small bug was introduced with the new dead zone code that made it ignore "quirks" regarding DS3/DS4. These devices should automatically be given a dead zone of 10, as it was before.
2024-01-15 13:00:13 +08:00
Rikard Bengtsson
1b8ed443a8 Add setting to disable automatic switching of controller pak for p1 (#863) 2023-12-22 14:36:23 +08:00
Marcoen Hirschberg
52076b908b N64: support fast ROM loading (#862)
Normal ROM loading is still supported to not break older versions of the
core.
2023-12-16 01:35:57 +08:00
Rikard Bengtsson
e9340593f4 N64 improvements, save files (#859)
N64 improvements. Split N64 save files into eep, sra, fla, mpk and tpk files.
Add "wide" tag detection to database, auto-switches to widescreen if found.
Prioritize N64-database_user.txt, so that people can override games already in the regular database file.
Honor order that rpak, cpak and tpak are written in database, for p1 controller.
2023-12-05 20:55:12 +08:00
Rikard Bengtsson
c802a6a014 N64 improvements. (#853)
* N64 improvements.

Better Auto detection of N64 games (region, security chips, save type).
Better info message after loading a game. Clean up.

* Update n64.cpp

Accidentally included the header file twice.
2023-11-21 02:08:58 +08:00
trbocode
c0e69e170b Fix N64 for gb file extension (#847)
Previous commit detected .gb files as N64
2023-11-06 16:34:00 +08:00
trbocode
c3c0d8cf64 Fix N64 condition (#845) 2023-11-03 18:41:22 +08:00
Rikard Bengtsson
61efed2cba N64: Add CIC5101 type. Don't analyze gameboy roms. (#843)
* Squashed commit of the following:

commit 40c58abf1d87e870d20ab77bf2934df6ed6d7b94
Merge: 1fc9c37 7c65b22
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 09:00:07 2023 +0200

    Merge branch 'master' of https://github.com/yxkalle/Main_MiSTer

commit 1fc9c37c070b54719aa6ae14890db5fc6bcec3e1
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 08:57:57 2023 +0200

    N64: Just some cleanup. Made code simpler. Added some comments where needed.

commit 7c65b22cab1a33f599b3a7ecb2faaaa27613046b
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 04:09:51 2023 +0200

    Delete MiSTer_noface

commit fe2169544f5ce5ace125109bf65df16dc65594a2
Merge: c163956 ee5659a
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 03:28:02 2023 +0200

    Merge branch 'master' into add-id-to-db

commit c1639563da1ea714575f51f27a21df9c2f493a6e
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:15:05 2023 +0200

    Update n64.cpp

commit f4a6b98b5dd650bc13e08db8bb21e3da31fea64b
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:12:51 2023 +0200

    cleanup

commit 401b9dc6a9b2d0dd06c18be1e48014b3dc81e946
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Tue Oct 3 22:48:03 2023 +0200

    Clean-up

    Clean-up the code, added some comments. Allow uppercase md5s in the database.

commit e0e2affdfe277577820ba73a202b06311b645ec7
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Mon Oct 2 20:05:28 2023 +0200

    Cleaner code?

commit 554666832bd55d924b531f469a45cb7996f13e03
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:13:00 2023 +0200

    Delete N64-database.txt

    Delete before PR

commit 9e8fc3f30c36ea9de59d4f1801a4341edbf73eb8
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:09:07 2023 +0200

    Some commenting and clean-up

commit be19bb6e679cd76d32f9b0382c08052ba1e68944
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 01:19:05 2023 +0200

    Autodetect settings by ID

    Settings are saved in the database text files as usual, but you can match by both MD5 (first 4096), MD5 (full) as well as ID + region + revision.

* Added support for hacked boot codes

* Update n64.cpp
2023-10-29 06:52:17 +08:00
Sorgelig
4fab9a5aa7 IDE support for Uneon core. 2023-10-24 22:36:22 +08:00
trbocode
78edf5f58c Added controller handling for new N64 options (#838)
* Added controller handling for new N64 options

* Move to N64 folder and add per stick ranges

* Improve latency
2023-10-16 07:08:44 +08:00
zakk4223
9685215fec Saturn CHD image loading (#835) 2023-10-11 18:26:20 +08:00
Patrick Pollock
22834acc98 Scale N64 analog optimally for different gate shapes (#834)
* Scale N64 analog optimally wrt gate shapes

* Limit max_range to near diagonals

* Make magic numbers adjustable constants
2023-10-11 03:05:52 +08:00
Rikard Bengtsson
c9994f9dd2 Cleanup of n64.cpp (#833)
* Squashed commit of the following:

commit 40c58abf1d87e870d20ab77bf2934df6ed6d7b94
Merge: 1fc9c37 7c65b22
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 09:00:07 2023 +0200

    Merge branch 'master' of https://github.com/yxkalle/Main_MiSTer

commit 1fc9c37c070b54719aa6ae14890db5fc6bcec3e1
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 08:57:57 2023 +0200

    N64: Just some cleanup. Made code simpler. Added some comments where needed.

commit 7c65b22cab1a33f599b3a7ecb2faaaa27613046b
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 04:09:51 2023 +0200

    Delete MiSTer_noface

commit fe2169544f5ce5ace125109bf65df16dc65594a2
Merge: c163956 ee5659a
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 03:28:02 2023 +0200

    Merge branch 'master' into add-id-to-db

commit c1639563da1ea714575f51f27a21df9c2f493a6e
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:15:05 2023 +0200

    Update n64.cpp

commit f4a6b98b5dd650bc13e08db8bb21e3da31fea64b
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:12:51 2023 +0200

    cleanup

commit 401b9dc6a9b2d0dd06c18be1e48014b3dc81e946
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Tue Oct 3 22:48:03 2023 +0200

    Clean-up

    Clean-up the code, added some comments. Allow uppercase md5s in the database.

commit e0e2affdfe277577820ba73a202b06311b645ec7
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Mon Oct 2 20:05:28 2023 +0200

    Cleaner code?

commit 554666832bd55d924b531f469a45cb7996f13e03
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:13:00 2023 +0200

    Delete N64-database.txt

    Delete before PR

commit 9e8fc3f30c36ea9de59d4f1801a4341edbf73eb8
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:09:07 2023 +0200

    Some commenting and clean-up

commit be19bb6e679cd76d32f9b0382c08052ba1e68944
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 01:19:05 2023 +0200

    Autodetect settings by ID

    Settings are saved in the database text files as usual, but you can match by both MD5 (first 4096), MD5 (full) as well as ID + region + revision.

* Added support for hacked boot codes
2023-10-07 02:36:57 +08:00
Rikard Bengtsson
ee5659ad9c N64: Find ROM settings in database by ID, region and revision (#830)
ID, region and revision are grabbed from the games' header and are looked up in the database text file, the same file where MD5 hashes are now. Both MD5 and ID will be valid ways of determining ROM settings, so old database files will still work. The benefit of this is that the database can be shrunk quite considerably, as many, many duplicates can be removed. It will be (much) easier to maintain. I'm hoping to see fewer pull request made to the database repository as a consequence of this change.
2023-10-01 19:56:12 +08:00