Commit Graph

1240 Commits

Author SHA1 Message Date
Tarek Soliman
f37c2339dc Media history: fix buffer overflow 2024-09-06 17:05:44 -05:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
Miran Grča
19a27214e7 Merge pull request #4792 from chungy/ftruncate
Use ftruncate on Unix to create hard disk images quickly
2024-09-04 00:42:11 +02:00
OBattler
8dc8079c21 QT: Attempt to fix mouse wheel on Linux. 2024-09-04 00:01:03 +02:00
Mike Swanson
00354749f2 Use ftruncate on Unix to create hard disk images quickly
Instead of writing out disk blocks slowly across the entire volume,
just use the ftruncate function to create a file instantly at the
desired size.

Depending on file system, this can either result in identical results
to the old code just faster (eg: ZFS and btrfs with compression
enabled), sparse files (most native Unix file systems without
compression, eg ext4 and UFS), or a full non-sparse file like before
(creating an image on FAT).
2024-09-02 22:52:24 -07:00
Alexander Babikov
c54286ccd2 Remove leftovers of the "Reload prev. image" option 2024-09-03 03:15:43 +05:00
Alexander Babikov
cf2a074dc0 Fix SDL UI failing to build when C++11 threads are disabled 2024-08-28 02:06:35 +05:00
OBattler
26cc61fdba Part 3. 2024-08-27 05:09:35 +02:00
OBattler
c0037eaa2f Media history implementation for the remaining devices: Part 1. 2024-08-27 03:15:54 +02:00
OBattler
208b213aac Media history: Fixed the handling of relative paths. 2024-08-27 03:02:42 +02:00
OBattler
cdd01eceea QT: Restore RichardG's hard reset workaround. 2024-08-24 04:24:06 +02:00
Joakim L. Gilje
98eed0b85d qt_private_headers are needed for both qt5 and qt6 2024-08-21 08:50:48 +02:00
OBattler
366ebea651 S3 ViRGE fixes by TC995 and switched threads on Windows builds back to Win32 threads since the C++ threads were breaking the ViRGE blitting in some cases (eg. CD Gamer on 24 bpp). 2024-08-17 01:22:06 +02:00
Jasmine Iwanek
0219547a16 Put Wacom tablets on dev branch 2024-08-08 19:31:49 -04:00
OBattler
90592d57dc QT Main Window: Clear full screen on and off signals after full screen toggle, fixes Ctrl+Alt+PgDn not working immediately after Ctrl+Alt+PgUp. 2024-08-07 23:21:58 +02:00
OBattler
37ceea4ed0 Fix emulator-handled UI keyboard combinations when keyboard requires capture and is not captured, also fix keyboard input in full screen in such situations, fixes #4697. 2024-08-07 06:11:50 +02:00
OBattler
f537ae792e Actually fix that correctly now by actually adding the shortcut to the menu item. 2024-08-07 05:38:05 +02:00
OBattler
3c8c66d649 Re-add the English translations of the Fullscreen menu item, they're apparently needed for the keyboard shortcut to show up in the menu. 2024-08-07 05:32:52 +02:00
Alexander Babikov
2b6ca97ab4 qt_progsettings.cpp: use a switch case to determine the Windows font 2024-07-29 20:07:00 +05:00
Alexander Babikov
115583c4a0 Add translations for "MiB" in the HDD table header 2024-07-29 19:44:41 +05:00
Alexander Babikov
2c0acb290e Fix "None" option not being translated in several places
Also fix "POV # (X/Y) axis" too
2024-07-29 18:55:20 +05:00
OBattler
91021c55e3 The exclamation mark icon. 2024-07-28 03:36:43 +02:00
Jos van Mourik
04a7a35f27 Microtouch: add option to turn off visible mouse crosshair for people using touchscreens 2024-07-26 20:12:10 +02:00
Miran Grča
79bf0b94b3 Merge pull request #4643 from Cacodemon345/libsndfile
Libsndfile
2024-07-23 19:21:54 +02:00
OBattler
52e6581846 Attempt to make QT actually use them. 2024-07-22 05:05:45 +02:00
OBattler
4b2955416f CD-ROM image icon. 2024-07-22 04:42:45 +02:00
OBattler
2a60eb243a CD-ROM host drive icon. 2024-07-22 04:35:37 +02:00
OBattler
2a5d623986 CD-ROM folder icon. 2024-07-22 04:33:52 +02:00
OBattler
e503deb097 CD-ROM mute and unmute icons. 2024-07-22 04:16:46 +02:00
Miran Grča
acb832d776 Merge pull request #4361 from joshuashaffer/master
For Qt5 add Gui Private Include Header. Fix C++ union initializer syn…
2024-07-21 23:48:04 +02:00
rilysh
189be035d2 Mark plat_vidapi() argument as const and remove the NULL
* plat_vidapi() accepts char pointer, which never gets modifed
later on. Mark it as const.

* In src/config.c, va_name is initialized as NULL, however,
plat_vidapi_name() never returns a NULL pointer, nor it was
initialized under a condition branch. Removing NULL, might
save one instruction, which requires zeroing the register
before setting its initial value.
2024-07-21 12:49:06 +05:30
Jasmine Iwanek
680f65cf19 Standardize hdc_current into an array 2024-07-20 14:49:24 -04:00
Jasmine Iwanek
05e7d9239c Standardize fdc_type into fdc_current
Also make it into an array
2024-07-20 14:49:24 -04:00
Miran Grča
529cef56e3 Revert win_cdrom_ioctl.c to the previous version, fixes regressions. 2024-07-20 19:55:47 +02:00
Miran Grča
4387b3e137 Merge pull request #4626 from jriwanek-forks/qtvideo
Initial underlying code support for more than 2 video cards
2024-07-20 05:47:59 +02:00
Jasmine Iwanek
de21053e5d Add logic for serial 5-7 in QT UI 2024-07-19 23:29:37 -04:00
Jasmine Iwanek
20439f24fa Cleanups in qt_settingsports.hpp 2024-07-19 23:29:37 -04:00
Jasmine Iwanek
322adf1c2b Initial underlying code support for more than 2 video cards 2024-07-19 23:27:21 -04: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
fba01a9b39 CD-ROM IOCTL: Raw sector read fix. 2024-07-15 15:38:36 +02:00
TC1995
0a2fa21f06 SCSI and disk fixes (July 14th, 2024)
All: the icon refresh for the respective storage now works properly across all adapters that use it (especially the aha154x compatibles and spock/tribble).
SCSI CD-ROM: The Sony/Texel/DEC SCSI command 0xC0 (Set Address Format) isn't a command that checks for ready status, however, it is for other vendors like NEC, Matsushita, etc. and I am not wishing to create a duplicate command_flags array duplicate just for vendor unique commands. This fixes the MSF bit of Sony/Texel/DEC CD-ROM drives which don't use the Mode Page equivalent.
Toshiba only: attempt to mark the 3201B as a SCSI-1 only CD-ROM drive properly.
2024-07-14 20:42:50 +02:00
cold-brewed
eeb8af91f5 qt: Fix settings on mac and linux 2024-07-13 09:30:36 -04:00
Jasmine Iwanek
8aba1361e6 Commented out support for hiding internal fdc 2024-07-07 18:56:21 -04:00
RichardG867
8a4ae19d6b qt: Fix invalid scancodes crashing Windows raw input 2024-07-02 16:54:22 -03:00
Jasmine Iwanek
3a3eb13334 Fix typos in qt_settingsports.cpp 2024-06-29 19:21:57 -04:00
Jasmine Iwanek
597735ded6 Fix null pointers in qt_settingsports.cpp 2024-06-29 18:57:52 -04:00
Miran Grča
22f1ef57de Merge pull request #4583 from cold-brewed/media-menu-string
Fix strings in enumeration of host drives
2024-06-29 00:34:44 +02:00
cold-brewed
421cbcb165 qt: UUID updates
* Ensure relative paths are properly resolved
* Do not display a mismatch prompt unless the system has configured NICs
2024-06-28 10:43:19 -04:00
cold-brewed
d82d8cefed qt: Fix strings in enumeration of host drives 2024-06-28 10:16:12 -04:00
OBattler
d2ce14f967 Fatals now work again. 2024-06-26 23:09:55 +02:00