Flyinghead
ac310114fe
Disable total frame count for CHD to allow patched/homebrew
2019-10-16 16:08:32 +02:00
scribam
49b7e0682b
Cleanup
2019-09-07 20:36:13 +02:00
Flyinghead
b388fa4377
imgread: use new logging
2019-07-01 16:10:28 +02:00
Flyinghead
c809c6c56f
Merge branch 'fh/mymaster' into fh/master-merge
2019-03-25 16:47:47 +01:00
Christoph "baka0815" Schwerdtfeger
001a767ab7
CHD: swap bytes of CHDv5+ audio tracks
...
Thanks @flyinghead
See https://github.com/libretro/reicast-emulator/pull/370
2018-11-03 19:29:55 +01:00
Christoph "baka0815" Schwerdtfeger
161e84598d
Respect the offset of the padding
...
The StartHunk logic was flawed and while working with CHD files before v5 didn't work for v5 (and above).
The extraframes logic did work in some cases (read 3 track CHDv5) but didn't work in all cases and was merely a hack in retrospective.
Thanks to the comment of @flyinghead (see also b6c2508922 (diff-cb507bb17d74342aa45b6e4d10d607af)
) the logic is now correct and works for v4 and v5 files.
2018-11-03 19:24:53 +01:00
Flyinghead
2003fc88d7
CHD v5 support
2018-11-02 10:14:25 +01:00
Christoph "baka0815" Schwerdtfeger
6f358ebf8f
CHD: Only pad when version >= 5
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
98c1e7253c
CHD: Use the hunk caching
...
We didn't remember the last hunk and always read again.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
4bb9507695
CHD: Reworked the extra frame handling
...
This way Sonic 2, F355, Crazy Taxi, Rayman 2 and Daytona USA work.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
4691418689
CHD: Check for extra frames
...
If the frame count is not dividable by 4, there are extra frames added to keep a padding.
This is true for F355 (450 frames -> 2 extra frames) and others.
Also move CD_TRACK_PADDING to chd.cpp to work around problems with including from C and C++.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
d24b68f592
CHD: read additional track types
...
Also don't print "Unable to find metadata" as it's mostly not true (we reach this part after the last track)
2018-10-30 21:27:25 +01:00
Flyinghead
282534d7bc
cdi, chd: better error messages
2018-10-22 17:39:02 +02:00
Ender's Games
75215ec0d1
Core: Address some obvious lgtm issues
2018-08-21 02:52:03 -04:00
Stefanos Kornilios Mitsis Poiitidis
d59197f843
gdtool: better command line, stdin lists, cleanup
...
Also, imgread const filenames and such
2014-06-13 18:41:48 +03:00
Stefanos Kornilios Mitsis Poiitidis
2bd1c4c976
First idea for a gdrom tool
2014-05-26 15:35:41 +03:00
Stefanos Kornilios Mitsis Poiitidis
7ef9de3cae
Moving code around, cleanups
2013-12-28 22:20:08 +01:00