Commit Graph

52 Commits

Author SHA1 Message Date
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
OBattler
9d6f6b38ea Fixed a warning in cdrom/cdrom_image_backend.c. 2020-12-12 16:28:04 +01:00
OBattler
26d42adb1e CD-ROM CUE indexes are now respected for skip even if prestart is 0 (fixes CUE+BIN images that use indexes for pregap), CD Audio attenuation is now done per the specification, and proper sound card filtering and volume calculation now applies to CD Audio. 2020-10-19 01:02:40 +02:00
OBattler
649c084eef Rewrote the CD-ROM TOC handling. 2020-07-20 03:18:56 +02:00
OBattler
aeaf5ad34a Properly enabled SMM (and with the correct SMBASE) on AMD 486 CPU's. 2020-07-20 01:44:19 +02:00
OBattler
dc7983902e Fixed some wrong letter casing in cdrom/cdrom_image_backend.c and updated Makefile.local. 2020-06-13 10:44:18 +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
bb3c5a6f52 Fixed a potential overrun in the CD-ROM image backend code. 2020-01-15 02:22:30 +01:00
OBattler
9f9883f8da Fixed a maintainability issue in the CD-ROM image backend code. 2020-01-15 02:16:25 +01:00
OBattler
70ccf03f2d The CD-ROM image code now returns with error if a seek has failed. 2020-01-14 20:49:01 +01:00
OBattler
0139c44b7d Removed an obsolete return with error in the CD-ROM image backend code. 2020-01-14 20:43:04 +01:00
OBattler
a021607228 Fixed a bug in the CD-ROM image backend code. 2020-01-14 20:10:01 +01:00
OBattler
ad47659fd6 The CD-ROM image backed code no longer returns the pointer of a stack variable. 2020-01-14 19:46:02 +01:00
OBattler
1861d8cb0d Changed the fatal condition in the CD-ROM image backend code. 2020-01-14 19:30:33 +01:00
OBattler
fea96d6b67 Fixed some bugs in the CD-ROM image backend code. 2020-01-14 19:26:27 +01:00
OBattler
fb088329e1 Fixed NULL pointer dereferences in the CD-ROM image code. 2020-01-13 21:46:45 +01:00
OBattler
dcf06f4ba9 Fixed the mess in cdrom/cdrom_image_backend.c. 2020-01-13 21:06:32 +01:00
OBattler
be9b57fcad Added some sanity checks and pointer frees / NULL'ings to the CD-ROM image code, fixes #543. 2020-01-13 21:03:58 +01:00
OBattler
1b8017640e Fixed parsing of PREGAP clauses in CUE sheets. 2020-01-11 22:30:28 +01:00