19 Commits
Author SHA1 Message Date
SourMesen d1cfdeb8ea PCE: Fixed CD-ROM playback for WAV files incorrectly interpreting the WAV header as audio samples (#107) 2026-05-12 22:14:50 -07:00
SourMesen 8b4f65dd16 PCE: Fixed PREGAP handling in .cue files, especially when a rom is split across multiple files (#108) 2026-05-12 21:58:08 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
Sour aeed6e0693 PCE: Added support for CD+G discs
Adds support for subcode reads via 1807 (when a .sub file is provided) and implements the subcode irq
2025-06-15 19:32:44 +09:00
Sour d690e97e41 PCE: Fixed issues loading CD-ROM games that are split into multiple files and have pregaps defined for one or more tracks
The pregaps were not calculated properly when starting each subsequent file, causing the start position of subsequent files to be offset by an amount equal to the cumulative pregaps of all the previous tracks
2024-12-06 19:41:10 +09:00
Sour 57eebde6f5 PCE: Improve .cue parsing to allow FILE entries with no quotes 2024-01-27 10:59:44 +09:00
Sour c6b86ba887 PCE: CD-ROM emulation improvements
-ADPCM edge cases work better (reset, length latching, dma, etc.)
-BRAM unlocking/locking fixes
-Read ToC command returns the correct amount of data
-SCSI data port returns the drive's reply whenever a reply is being read, regardless of the value written to the port through $1801
-Implemented/fixed audio sample read behavior (latching, L/R toggle)
-Fixed missing (unused) readable/writable bits in some registes

All of these fixes are based on the test results from krikzz's test rom here: https://github.com/krikzz/turbo-ed-pro-pub/tree/main/tcd-verificator
2023-12-27 23:27:07 +09:00
Sour 452785fee5 PCE: Added support for Games Express CD card/games 2023-04-17 21:29:14 -04:00
Sour c4b6312c0a Refactoring - Added missing folder names in includes 2022-09-08 22:04:18 -04:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour f10059cc8e Fixed compilation warnings 2022-08-22 00:41:12 -04:00
Sour 7f4bdfb1a8 Linux: Fixed compiler warnings 2022-08-19 23:49:28 -04:00
Sour c170fc2bdf PCE: Improved cue loading (MODE1/2048 + multi-file discs) 2022-08-15 20:57:41 -04:00
Sour 189f1118aa PCE: Fixes and improvements for CUE loading & reading from the CD
-Prevent reading outside a file's bounds
-Fixed behavior when trying to read pregap sectors not in the image
-Fixed size of the disc's last track
2022-08-15 19:34:50 -04:00
Sour 4a07aea3f8 PCE: Added support for PREGAP in cue files 2022-08-14 23:37:24 -04:00
Sour e992837327 PCE: Fixed cue error message typo when trying to load missing rom file 2022-08-14 20:31:43 -04:00
Sour b9a611b728 PCE: Fixed bug in CUE loader that causes invalid last sector/sector count values when tracks have lead ins 2022-05-08 20:14:50 -04:00
Sour 23bd5c599f CD audio playback, ADPCM playback 2022-04-16 17:52:25 -04:00
Sour ab023e0a9a Allowing loading CUE files, refactor mappings, implement bram, allow viewing cdrom memory in debug tools, etc. 2022-04-15 12:14:29 -04:00