Commit Graph

73 Commits

Author SHA1 Message Date
OBattler
370c560c34 Only attempt Cue sheet parsing on files that end in .cue (in any letter case), fixes errors with some .ISO images. 2025-01-03 01:19:52 +01:00
OBattler
7ad3b81058 Rewritten the CD-ROM image handling and Cue sheet parsing, also fixes crashes when using VISO. 2025-01-02 22:38:10 +01:00
OBattler
3187595885 Fixed some warnings. 2024-12-31 04:40:14 +01:00
OBattler
7b6a9181c6 Current state of the CD-ROM node - no CUE/BIN overhaul or MDS/MDF support yet, but the rest is already there. 2024-12-31 04:37:21 +01:00
OBattler
5c27083af6 CD-ROM interface API to get raw track data, IOCTL now actually provides it, and IOCTL is now actually instantiable, as well as cleaned up a bit. 2024-11-25 21:23:28 +01:00
OBattler
593d09b9ec CD-ROM: Fix track starting address calculation. 2024-11-20 00:29:02 +01:00
RichardG867
aeaaa09b16 CD-ROM: Report image backend I/O errors as media CRC errors to the drive 2024-10-27 13:17:55 -03:00
Jasmine Iwanek
5b922c4747 Cleanups to logging in cdrom_image_backend.c 2024-08-07 01:07:51 -04:00
OBattler
5912a88a1b Fixed initializations in the CD-ROM code, fixes #4653. 2024-07-25 19:05:05 +02:00
Cacodemon345
94c44da4d1 Add support for using directories and .iso files within CUE sheets
Add support for big-endian binary files

Remove unused is_dir member
2024-07-17 13:34:15 +06:00
Cacodemon345
4dd4d2e6e1 A bit of more fixes 2024-07-17 13:34:15 +06:00
Cacodemon345
138059ff45 libsndfile support 2024-07-17 13:34:15 +06:00
OBattler
382b941ff9 CD-ROM image backend: Add the 8-byte skip also to ISO image loading. 2024-06-15 17:40:41 +02:00
OBattler
bf105c6f29 CD-ROM image backend: Skip 8 bytes on every sector on non-raw CD-XA Mode 2 images. 2024-06-15 17:27:19 +02:00
OBattler
b997b9df3e CD-ROM image backend: Fix handling of CD-XA Mode 2 Form 1 images with a sector size of 2336. 2024-06-15 16:59:02 +02:00
Jasmine Iwanek
193838b7c2 Fix several uninitialized variables 2024-06-11 21:01:47 -04:00
OBattler
10fd8fb004 Assorted CD-ROM fixes, fixes #4386. 2024-04-22 02:04:57 +02:00
OBattler
fb53ed47b0 cdrom_image_backend: Fix sector header generation for non-raw sectors. 2024-03-24 16:21:25 +01:00
OBattler
209c8fbbda Assorted CD-ROM fixes (now cue sheets starting at a non-zero sector work correctly) and increased the maximum number of CD-ROM drives to 8. 2023-10-04 02:49:22 +02:00
Jasmine Iwanek
12070eb62a More linting in src/cdrom 2023-08-22 19:50:44 -04:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
OBattler
c183b1da38 Added a specific NULL check to cdrom/cdrom_image_backend.c to please cppcheck. 2023-06-18 23:51:15 +02:00
Jasmine Iwanek
ce451a2bf4 More fixes for sonarcloud findings 2023-05-28 21:02:17 -04:00
cold-brewed
12f5e06b92 viso: Make sure to close file descriptor when a directory is detected (#3251)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-04-14 14:05:11 -03:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Miran Grča
e153e2e7eb Merge pull request #2721 from cold-brewed/viso-posix-fixes
VISO fixes for mac / linux
2022-10-19 15:10:29 +02:00
cold-brewed
b81d4170f9 viso: Check for directory without S_ISDIR macro for msvc 2022-10-18 14:20:33 -04:00
ts-korhonen
f7c11a94e9 Fix windows clang+vcpkg build. 2022-10-18 20:44:09 +03:00
cold-brewed
5409364cf2 viso: use stat to check for directory in bin_init 2022-10-18 10:58:42 -04:00
RichardG867
e706fffb34 Run clang-formats for merge 2022-10-15 13:38:10 -03:00
RichardG867
537e43a1f9 Merge branch 'master' of ssh://github.com/86Box/86Box into cleanup30 2022-07-12 20:07:19 -03:00
OBattler
3e2f6cfa56 Patch to allow some CD-protected discs to behave correctly. 2022-07-10 22:04:36 +02:00
RichardG867
0582c11e90 Fix build 2022-04-26 01:52:19 -03:00
RichardG867
2e2adc6945 Merge branch 'master' of ssh://github.com/86Box/86Box into cleanup30
# Conflicts:
#	src/cdrom/cdrom_image.c
#	src/cdrom/cdrom_image_backend.c
2022-04-21 13:35:15 -03:00
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Alexander Babikov
1a6d596fea Remove the now-redundant LARGEFILE macro definitions 2022-04-14 07:10:20 +05:00
RichardG867
e11b211af8 Virtual ISO: Add Qt and Win32 user interfaces 2022-03-26 23:38:38 -03:00
RichardG867
eeeb7b258d Virtual ISO: Initial commit 2022-03-26 22:17:09 -03:00
OBattler
960cae34d4 Changed all the CD-ROM files to the new agreed upon coding style. 2022-02-22 22:04:40 +01:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
OBattler
5b972fc477 Implemented CD Audio de-emphasizing for pre-emphasized tracks, closes #1623. 2021-09-02 20:52:30 +02:00
Cacodemon345
d9fdc5fcc1 Implement keyboard support
Numpad will be done eventually
2021-08-29 23:50:21 +06:00
OBattler
eb827a6629 Fixed CD-ROM backend logging. 2021-08-26 21:26:56 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00