2236 Commits

Author SHA1 Message Date
Dan
bc1e51f80e additional cases handled (untested) 2025-02-12 19:10:02 -06:00
Dan
76c1c997ac Revert "Fix security related compiler error."
This reverts commit b932545c7b5713d29cdf4a46be78bca1db772fe6.
2025-02-12 19:03:22 -06:00
Dan Saul
b932545c7b Fix security related compiler error.
error: format not a string literal and no format arguments []

add fix to other locations as well, untested
2025-02-12 19:00:14 -06:00
Dan Saul
8699662c4d Fix security related compiler error.
error: format not a string literal and no format arguments []
2025-02-12 09:19:03 -06:00
kanjitalk755
6ddff7bc02
Merge pull request #262 from rakslice/win_extfs_touching_creation_times
extfs file time fixes
2025-01-31 10:03:17 +09:00
rakslice
067e89ce6d Corresponding change to 622f0f4dd965fa1b3d13fb9e27a4a93f4e1f0a32 for SheepShaver and for the Windows versions as well 2025-01-30 15:24:57 -08:00
rakslice
ca8e10b2df debug cleanup 2025-01-30 03:44:50 -08:00
rakslice
70507f89da MacTimeToTime(): ignore offset adjusted mktime() result if it didn't work 2025-01-30 03:44:25 -08:00
rakslice
d66b125513 Apply the day and year offset prefs in MacTimeToTime() 2025-01-30 03:32:03 -08:00
rakslice
f43d2193f1 Windows: do not update file timestamp with invalid value 2025-01-30 02:12:41 -08:00
rakslice
d80663fe37 debug msg if mktime() failed 2025-01-30 02:12:41 -08:00
rakslice
c6474010b5 MacTimeToTime() workaround if mktime() doesn't support <1970 like Win32 2025-01-30 02:12:31 -08:00
rakslice
0655501e55 Actually implement MacTimeToTime() used by extfs 2025-01-30 00:22:35 -08:00
rakslice
308c407e03 Windows: the posix_emu version of utime() should not clobber the file creation time with an access time 2025-01-29 20:36:12 -08:00
rakslice
622f0f4dd9 Fix for SDL3 include that does not work without bash or whatever else has this += operator 2025-01-29 14:02:18 -08:00
rakslice
42a87bfe84 Fix more initializations in bincue and cdrom 2025-01-24 14:38:25 -08:00
rakslice
39f59dab3b With a constructor present those brace initializations don't even compile on older Xcode clang 2025-01-24 13:05:34 -08:00
kanjitalk755
bb2ad33ba4
Merge pull request #257 from rakslice/windows_exit_on_prefs_exit
Windows: when prefs window is closed, do not run the emulator
2025-01-23 14:25:19 +09:00
kanjitalk755
e9c5e21f3c
Merge pull request #256 from rakslice/ether_ignore_other_sigpipe_handler
Do not treat it as an error when ignoring SIGPIPE if there is already a handler installed
2025-01-23 14:24:47 +09:00
kanjitalk755
e5d6fe4e3c
Merge pull request #255 from rakslice/adapt_to_video_mode_segfault
Avoid segfault if SDL did not init successfully
2025-01-23 14:23:08 +09:00
rakslice
3ec0b33c4c Windows: when prefs window is closed, do not run the emulator 2025-01-22 20:03:54 -08:00
rakslice
01dc76b0f4 Do not treat it as an error when ignoring SIGPIPE if there is already a SIGPIPE handler installed 2025-01-22 19:49:54 -08:00
rakslice
e8255c59a4 Avoid segfault on uninitialized SDL surface in driver_base::adapt_to_video_mode() if SDL did not init successfully 2025-01-22 19:03:51 -08:00
rakslice
cb42bdf64d fit the style better 2025-01-22 18:52:53 -08:00
rakslice
05cd8b0a8d GTK2 GUI: replace brace-or-equals default with explicit constructor default 2025-01-22 18:43:37 -08:00
rakslice
2efce1ddd0 GTK2 GUIs: prevent adding the same filename to the volume list multiple times 2025-01-22 14:25:00 -08:00
rakslice
a223adc4e1 windows gtk2 gui: brought across cdrom volume list changes; reworked cdrom combo box
- Reworked the way the CD-ROM drive combo box works a bit; existing
  cdrom drives just show up in the volumes list on load, and you can
  add multiple drives using the combo box with its new Add button
2025-01-22 03:35:59 -08:00
rakslice
d29a6f3d03 gtk2 unix: make the CD-ROM toggle a checkbox like gtk3 2025-01-22 03:35:52 -08:00
rakslice
1a4d4d8149 gtk2 unix: put files dragged into the volumes list at the right location 2025-01-22 00:39:41 -08:00
rakslice
c0c669a00e b2 unix gtk2 gui: overhaul the volumes list with cdrom support
- Change the volumes clist to treeview
- Add cdroms to the volume list; column to show type and change type toggle button
- Disable the change and remove buttons when unselected
- Bring over the file sizes column from gtk3 gui
- Bring over the volume list drag and drop cdrom extensions check with .toast and .cue
2025-01-22 00:39:26 -08:00
rakslice
f1f7e96d38 gtk3 prefs: refactor cdrom file extension guessing and add cue and toast 2025-01-21 22:38:17 -08:00
rakslice
484095cad5 debug messages missing D() 2025-01-20 01:21:43 -08:00
rakslice
1d86c9a751 Restore the previous ejection handling code somewhat
The ejection scenario code previously kept the file handles for the drives intact because this is what makes removable media changes work.
The drag and drop feature's just taking over existing entries for real drives breaks actual removable media support and needs to be reworked,
but for now we can at least make removable media work until you use the drag and drop feature in a session
2025-01-20 01:13:34 -08:00
rakslice
47e9921bb7 Switch windows ejection prevention to use IOCTL_STORAGE_EJECTION_CONTROL 2025-01-20 01:12:33 -08:00
rakslice
ca33a19cfd Process the remount collection in CDROMExit so the handles get cleaned up normally; some debug output 2025-01-20 01:11:35 -08:00
rakslice
61575d2d58 Safeguard for Windows to prevent incrementing the ejection prevention counter for a drive more than once 2025-01-19 19:54:41 -08:00
kanjitalk755
877aaf4d03
Merge pull request #246 from rakslice/cdrom_multiple_units
Make multiple CD-ROM drives work more realistically
2025-01-17 18:04:23 +09:00
kanjitalk755
5d11cb7d49 additional fix to sdl3 2025-01-11 15:30:44 +09:00
kanjitalk755
c3813dd752 fix player lock 2025-01-11 15:25:11 +09:00
rakslice
58706f582c actually sort out multiple cdrom drives 2025-01-10 03:51:37 -08:00
rakslice
772252f24c Revert "Best guess audio CD from data calls to allow multiple discs and testing different interface identifiers"
This reverts commit 35439819d35140291295312e34f9cadd4245f5bc.
2025-01-10 03:08:31 -08:00
kanjitalk755
9175c4285b test for bin/cue player lock 2025-01-10 15:45:09 +09:00
kanjitalk755
5b72b58226
Merge pull request #244 from rakslice/bincue_audio_output_conversion_fix
bin/cue: Fix gappy CD playback when the audio output is not set to CD quality
2025-01-09 13:33:16 +09:00
rakslice
2816889d2e changes for b2 high precision timer for posix 2025-01-08 07:07:14 -08:00
rakslice
629d0d0874 bin/cue: Fix gappy CD playback when the audio format is not CD quality due to not converting enough source audio 2025-01-08 02:34:53 -08:00
kanjitalk755
1bedfac618
Merge pull request #243 from rakslice/bincue_cdscan_replacement
bin/cue: CD Scan (fast-forward/reverse) implementation
2025-01-08 19:24:49 +09:00
kanjitalk755
3498324bdb
Merge pull request #241 from rakslice/remove_mixaudio_volume
bin/cue: removed unused MixAudio volume param
2025-01-08 19:22:18 +09:00
kanjitalk755
51e3a90866
Merge pull request #236 from rakslice/bincue_motorola
bin/cue: Implement MOTOROLA keyword for big-endian audio data
2025-01-08 19:21:55 +09:00
rakslice
3eff56b91d Merge branch 'master' into remove_mixaudio_volume 2025-01-08 01:44:45 -08:00
rakslice
420a51ce6e bin/cue: support cue sheet "AUDIO" entry with "MOTOROLA" (big-endian raw audio) 2025-01-08 01:26:08 -08:00