2177 Commits

Author SHA1 Message Date
Matthias Melcher 964e8127d6 Fix macOS build: only use --export-dynamic on non-Darwin systems
- Conditionally add --export-dynamic linker flag based on host_os
- Skip the flag on macOS/Darwin where it causes linker errors
- Apply fix to both BasiliskII and SheepShaver configure.ac files
- This allows the build system to work on both Linux and macOS
2026-03-25 17:25:41 +01:00
kanjitalk755 e596e21583 SDL3: Fixed so that blit is not required in SDL_UnlockTexture() 2026-01-31 09:15:18 +09:00
kanjitalk755 2d388f7682 Allocate RAM, ROM, and scratch memory in a continuous area 2025-12-28 08:45:07 +09:00
xp5-org ea383a839f Update timer.cpp
revised if timer_thread nonzero,  to if timer_thread_active
2025-11-04 15:26:10 -08:00
xp5-org aa657765d1 fix for #if PRECISE_TIMING check
fix for https://github.com/kanjitalk755/macemu/issues/286
2025-11-03 10:16:53 -08:00
kanjitalk755 ac32732762 Fix #289 2025-10-27 12:01:09 +09:00
kanjitalk755 ea684bafb1 Adjust window layer 2025-10-26 10:08:12 +09:00
Lukáš Chmela e11867c7a3 Fix for SDL compilation on Unix-like systems
Fixes regression from https://github.com/kanjitalk755/macemu/commit/9a7751f1a2b2db75fbebbeef850832921e7d2a7a.
2025-09-10 08:49:42 +02:00
kanjitalk755 2d022df811 Fix for MINGW64 2025-08-03 09:08:07 +09:00
kanjitalk755 94a9f6cc22 Acquire memory in bulk 2025-07-19 18:06:15 +09:00
matthewcroughan 750d3a823c sheep_net.c: use module_init instead of init_module for newer kernel compatibility
The build will fail on newer kernels due to function name deprecation
2025-07-15 23:14:00 +01:00
Doug Brown 43ce078a99 Fix ROM deallocation in Windows
When I fixed the Windows port to ensure ROM is always above RAM in
Windows in commit 0980a87e3f, I forgot to update the corresponding code
that calls vm_release(). There is no need to try to release ROMBaseHost
because the vm_release() for RAMBaseHost takes care of it.

Update the vm_release code to do the exact same thing the Unix port
does.
2025-05-15 22:31:16 -07:00
Ger Schinkel 762995fe46 Proper memory management. 2025-04-16 13:37:18 +02:00
Ger Schinkel 91ca72a370 Prefer the use of Glib functions over the strcpy family. 2025-04-15 17:54:38 +02:00
emendelson 58c72634fc Add xpram path/name pref for Windows 2025-04-13 09:07:55 -04:00
kanjitalk755 2cb960990b BasiliskII(macOS): prefs item xpram 2025-04-11 20:50:22 +09:00
kanjitalk755 12e51383d2 switching SDL header path 2025-04-10 19:35:48 +09:00
kanjitalk755 f0bbcb0c85 Fix thread leak 2025-03-30 10:16:22 +09:00
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 b932545c7b.
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 622f0f4dd9 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