Commit Graph

228 Commits

Author SHA1 Message Date
OBattler
eb4c9f3e40 Fixed warnings in the VISO and Wacom Tablet codes. 2023-06-11 14:00:18 +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
RichardG867
6abf0bbafb VISO: Attempt fix for clang compiler warning 2023-04-04 20:49:45 -03:00
Jasmine Iwanek
0e53a29e3d Fix build when ENABLE_CDROM_LOG is set 2023-02-06 14:28:59 -05:00
Jasmine Iwanek
6978f6d7d4 Fix uninitialized use in mitsumi_cdrom_reset 2023-02-06 01:49:21 -05:00
OBattler
54d862d0b7 Fixed another warning in cdrom/cdrom.c. 2023-01-10 04:15:29 +01:00
OBattler
b91f79dcdc Fixed warnings in cdrom/cdrom.c. 2023-01-10 03:50:47 +01:00
Jasmine Iwanek
42ceb4cfcc Fix some bits which got lost in the last merge 2023-01-08 15:25:28 -05:00
TC1995
f9bc675a62 Git, so, stop the pull/push errors, anyway, fix compile again. 2023-01-08 14:32:58 +01:00
TC1995
1064c697e2 Darn git. 2023-01-08 14:25:18 +01:00
TC1995
e5496e2638 Overhauled CD-ROM selection for SCSI and ATAPI, including model and vendor specific commands.
Fixed the Spock SCSI ID selection.
Fixed CD Audio on NCR 5380-based SCSI controllers.
Added a proprietary CD-ROM controller selection (not hooked up yet).
All on qt only.
2023-01-07 23:48:45 +01:00
TC1995
df3c4b155a SCSI/CD-ROM fixes: Properly implemented the Toshiba specific SCSI commands including the Audio side per the Toshiba CD-ROM SCSI-2 manual from 1990 (they were previously implemented with some hacks). 2022-12-04 20:53:03 +01:00
RichardG867
ab086750ec VISO: Disable temporary logging 2022-11-25 16:33:04 -03:00
RichardG867
033deeedb5 VISO: Allow short directory names to have an extension 2022-11-23 17:33:45 -03:00
RichardG867
3dbfedbff0 Temporarily enable VISO logging 2022-11-22 20:00:59 -03:00
RichardG867
26dfadb73f VISO: Fix opendir fds still leaking under some circumstances 2022-11-21 17:18:56 -03:00
RichardG867
bdddfdb4b8 VISO: Overhaul format selection system 2022-11-21 17:07:33 -03:00
RichardG867
711eaf5bdd VISO: Automatically disable version suffixes upon detecting Windows NT El Torito boot structure 2022-11-21 16:23:42 -03:00
RichardG867
1695980271 VISO: Add flags field and calculate timezone format on ISO only 2022-11-21 15:58:33 -03:00
RichardG867
1ec5765f3f VISO: Fix file descriptor leak on directory traversal 2022-11-21 15:52:23 -03:00
RichardG867
dadc6ee2a7 VISO: Fix segfault if a directory fails to be enumerated 2022-11-21 15:36:20 -03:00
RichardG867
2cf20cb7b3 Merge branch 'master' of ssh://github.com/86Box/86Box 2022-11-21 14:29:09 -03:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
6ea253896d Remove unnecessary clang-format comment 2022-11-13 21:15:59 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Miran Grča
d13faa820e Merge pull request #2819 from jriwanek-forks/warnfixes
More compile warning fixes
2022-11-06 23:57:16 +01:00
OBattler
ced49538d4 Added a pointer cast to cdrom/cdrom_mitsumi.c to fix a warning pointed out by lemondrops. 2022-11-06 23:57:02 +01:00
Jasmine Iwanek
6ea143e107 More compile warning fixes 2022-11-06 15:55:16 -05:00
Jasmine Iwanek
381960dfc0 More mitsumi cdrom stuff 2022-11-05 20:17:39 -04:00
RichardG867
46d0ff92cc Merge branch 'master' of ssh://github.com/86Box/86Box 2022-11-01 14:51:51 -03:00
OBattler
4d19b8a1e4 Added the ability to select earlier CD-ROM drive (emulates Chinon CDS-431 for SCSI and NEC CDR-260 for ATAPI) - needs to be ported to QT. 2022-10-29 06:44:30 +02:00
RichardG867
b9d3de00a7 VISO: Some micro-optimizations 2022-10-26 00:15:52 -03:00
RichardG867
40a6fe1486 VISO: Fix tiny mistake in timestamp upper clamping 2022-10-25 23:16:14 -03:00
RichardG867
177fe6a3ac VISO: Fix mistake in bad mtime logging 2022-10-25 22:13:39 -03:00
RichardG867
ea351e99fc VISO: Fix small mistake in timestamp clamping 2022-10-25 22:07:55 -03:00
RichardG867
08c4f6dafb VISO: Handle invalid timestamps correctly 2022-10-25 21:56:26 -03: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
99617668ea VISO: Overhaul El Torito boot code insertion, now following the 7-Zip syntax which allows for explicit type definition 2022-10-16 01:59:13 -03:00
RichardG867
b5964d8c93 VISO: Disable logging 2022-10-15 19:16:35 -03:00
RichardG867
f0ee61041c VISO: Small micro-optimization and cleanup 2022-10-15 14:45:49 -03: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
Jasmine Iwanek
5d999920f5 Move SCSI defines to scsi.h 2022-08-02 22:35:43 -04:00
RichardG867
537e43a1f9 Merge branch 'master' of ssh://github.com/86Box/86Box into cleanup30 2022-07-12 20:07:19 -03:00