GetDizzy
d6f6e71efe
Attempt to fix cdrom image loading crash.
2025-07-26 22:10:56 -04:00
OBattler
5ac95d43f7
Implement the differentiation between CD and DVD drives and the DVD rejected status (for DVD images inserted into a CD drive).
2025-07-26 22:47:41 +02:00
Miran Grča
62ba66f4ea
image_get_track_info(): Uninvert start and end.
2025-07-26 14:16:36 +02:00
OBattler
f165e7eae3
MDS: Fix an out of bounds fread().
2025-07-25 00:20:56 +02:00
OBattler
82cab486b2
MDS: Roll an in-house solution for UTF-16 to UTF-8 conversion based on code from StackExchange.
2025-07-24 23:45:25 +02:00
OBattler
83314e7cc1
MDS: Apparently, iconv requires pointers to pointers of char.
2025-07-24 23:11:40 +02:00
OBattler
79edc5aa12
MDS: Use iconv instead of wcstombs() on non-Windows platforms.
2025-07-24 22:58:55 +02:00
OBattler
73cec3ab2a
MDS: Do not use fgetws, as it does not behave correctly on Linux.
2025-07-24 22:38:36 +02:00
OBattler
ea7f01c793
MDS: Do not open the same file more than once in a row.
2025-07-24 22:32:23 +02:00
OBattler
1cc310b579
CD-ROM Image: Mark all MDS structures as packed.
2025-07-24 21:04:28 +02:00
OBattler
ae08ac6f46
CD-ROM Image: Handle failed loads more graciously, with a visible warning or two.
2025-07-24 18:28:16 +02:00
OBattler
fb00027eff
CD-ROM: Fix CRC and parity checking for XA Mode 2 Form 1 sectors.
2025-07-24 16:49:01 +02:00
OBattler
8944c920ae
CD-ROM: Parity and CRC checking support, System Shock 2 now works with a directly mounted .CUE image as well.
2025-07-24 14:12:20 +02:00
OBattler
1923f3ec66
Added MDS support.
2025-07-24 12:08:58 +02:00
OBattler
c438073d68
CD-ROM Image: Actually close image if ret = 0 also in case of a cue sheet, and also warn if ret = 0, closes #5552 .
2025-05-06 03:41:33 +02:00
OBattler
74e0408201
Current WIP CD-ROM changes.
2025-02-09 20:06:15 +01:00
OBattler
35a12e0826
CD-ROM: IOCTL now detects medium changes without having to read the host drive's TOC on every operation, improves performance.
2025-02-03 10:57:19 +01:00
OBattler
2d7fb72830
CD-ROM Image: close log before closing the file, fixes segmentation fault on image unload.
2025-01-28 23:22:06 +01:00
OBattler
7c6f45b4cd
Fixed CD-ROM image mounting crashes and, hopefully, Linux compiles.
2025-01-28 18:39:26 +01:00
OBattler
90e1190c92
The great CD-ROM clean-up and rewrite, fixes #5134 .
2025-01-28 16:26:28 +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
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
OBattler
7c74a977fa
There goes the legacy host_drive.
2024-05-20 02:15:17 +02:00
OBattler
9dc92bc1d4
More IOCTL fixes - audio now works correctly.
2024-05-20 01:57:15 +02:00
OBattler
641da43f15
IOCTL and CD-ROM changes.
2024-05-19 21:17:57 +02:00
Jasmine Iwanek
ce451a2bf4
More fixes for sonarcloud findings
2023-05-28 21:02:17 -04:00
Jasmine Iwanek
bd75bc141a
Header cleanups
...
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
RichardG867
10e9285f61
Merge branch 'master' of ssh://github.com/86Box/86Box into cleanup30
...
# Conflicts:
# src/cdrom/cdrom_image.c
# src/cdrom/cdrom_image_backend.c
# src/include/86box/cdrom.h
# src/include/86box/cdrom_image_backend.h
# src/include/86box/resource.h
# src/qt/qt_mediamenu.cpp
# src/qt/qt_mediamenu.hpp
# src/unix/unix.c
# src/win/win.c
# src/win/win_devconf.c
# src/win/win_dialog.c
# src/win/win_joystick_rawinput.c
# src/win/win_media_menu.c
# src/win/win_mouse.c
# src/win/win_settings.c
# src/win/win_ui.c
2022-10-15 14:00:00 -03:00
RichardG867
e706fffb34
Run clang-formats for merge
2022-10-15 13:38:10 -03:00
Jasmine Iwanek
d044f8d1f6
clang-format in src/cdrom/
2022-09-18 17:19:21 -04:00
Cacodemon345
740108c37c
cdrom: Properly empty the path of image if it can't be loaded
2022-08-11 01:13:49 +06: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
OBattler
6d7acaa100
Made sure cdrom_image.c doesn't strcpy() from the same place to the same place.
2021-08-26 10:14:27 +02:00
David Hrdlička
dfbbe08a07
rewrite the emulator to use UTF-8 internally
2021-03-30 09:46:49 +02:00
David Hrdlička
a505894a10
Move all include files to src/include
...
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
Daniel Gurney
0c509fd551
Remove version tree-wide
2020-03-25 00:46:02 +02:00
OBattler
490c04fcae
Current WIP code.
2020-02-29 19:12:23 +01:00
OBattler
2d02d941f8
Fixed for DVD-related stuff, DVD images should now be better readable on 86Box.
2020-01-17 03:02:12 +01:00
OBattler
04247f2664
The CD-ROM image code function to check if a track is audio now simply returns with a false condition if the track number obtained from the sector is -1.
2020-01-14 20:45:20 +01:00
OBattler
51b06be28c
Removed DOSBox OPL code, and made NukedOPL, the CD-ROM image code (incl. former cdrom_dosbox.cpp/h), and Raw Input mouse code C instead of C++, and fixed OPL2 emulation with NukedOPL.
2019-12-21 20:06:34 +01:00