Cacodemon345
f1a74ac36d
Fix plat_mmap on macOS platform
2021-10-19 23:46:32 +06:00
Miran Grča
bc33a42c12
Merge pull request #1755 from andi8086/are
...
Make it build in arch linux
2021-10-19 18:21:21 +02:00
Andreas J. Reichel
6dd744141c
Make it build in arch linux and Debian
...
* Probably unresolved external due to newer gcc, thus
added libsdl to libui.a as well.
* Make it work for all distros, which either have SDL2::SDL2
or ${SDL2_LIBRARIES}, provided by sdl2-config or FindSDL2.cmake.
Signed-off-by: Andreas J. Reichel <homebase_ar@web.de >
2021-10-18 21:15:31 +02:00
RichardG867
5bf8aa2d58
Port plat_m(un)map from the VFIO branch
2021-10-16 20:12:49 -03:00
Cacodemon345
16a8c4cb25
Add more missing strings to Unix backend
2021-10-16 00:14:26 +06:00
Cacodemon345
ca1a28f0e6
Fix message box display on Unix
2021-10-13 23:41:02 +06:00
OBattler
46807540ed
Rewritten renderer blitting, fixes flickering when inversion or grayscale is used.
2021-10-06 02:26:30 +02:00
OBattler
03ed12a966
Various blitter fixes, should fix 8088MPH Kefrens segmentation fault.
2021-09-27 04:32:08 +02:00
David Hrdlička
73cac00119
Remove pthreads on Win32 from build files
2021-09-23 23:03:33 +02:00
David Hrdlička
4f57f29836
Move thread.c back to src/unix
2021-09-23 22:52:53 +02:00
Cacodemon345
d4cd4b7a44
Fix flickering on Unix backend
2021-09-20 16:27:10 +06:00
OBattler
206c34ed27
CMakeList.txt now uses libpthread.
2021-09-15 00:01:18 +02:00
OBattler
3c2ac29c68
Switched threads to pthread for all platforms (on Windows, you can compile with Win32 threads using PTHREAD=n).
2021-09-14 21:58:15 +02:00
OBattler
f27fec1740
Removed EGA/(S)VGA render wake-up on zero-sized blit and fixed the last compile-breaking mistake in the Unix SDL code.
2021-09-13 23:28:00 +02:00
OBattler
96faa28eeb
Removed the useless y1 and y2 parameters from the renderers' blit functions (and other places).
2021-09-13 23:19:10 +02:00
Miran Grča
84db99f4ef
Merge pull request #1684 from Cacodemon345/patch-10
...
Include SDL.h before anything else
2021-09-11 20:44:06 +02:00
Cacodemon345
2092f1dceb
Update unix_sdl.c
2021-09-10 18:01:21 +06:00
Cacodemon345
8b316f869b
Include SDL.h before anything else
...
This also cleans up the unnecessary source-level defines
2021-09-09 23:51:26 +06:00
Cacodemon345
5d1e026f7d
Add help command
...
This commit also adds PrintScreen key mapping.
2021-09-08 13:49:04 +06:00
Miran Grča
67695fe204
Merge pull request #1673 from Cacodemon345/patch-7
...
Fix NULL access crashes on ALSA MIDI close
2021-09-07 22:02:55 +02:00
Cacodemon345
e082658d9d
Fix monitor argument count
2021-09-08 01:44:30 +06:00
Cacodemon345
eea72da77b
Fix NULL access crashes on ALSA MIDI close
2021-09-07 23:30:44 +06:00
Cacodemon345
e8f8b74d61
Add Windows key mappings
2021-09-06 22:06:02 +06:00
Cacodemon345
dbf1202d0c
unix.c: Fix character count in fullscreen string
2021-09-04 00:28:41 +06:00
Cacodemon345
603bf1fdfd
Port close fix to unix_sdl.c
2021-09-02 23:08:24 +06:00
Cacodemon345
70833a6e69
Disable monitor interface if CLI text-mode is enabled
2021-08-30 00:41:40 +06:00
Cacodemon345
a56fa559e1
Fix SDL2 fullscreen and make it borderless
2021-08-29 23:50:22 +06:00
Cacodemon345
c5f563c76b
Fix freezes on exit for real
2021-08-29 23:50:22 +06:00
Cacodemon345
995611bf91
Mimic per-second timer approach of PCem SDL2
2021-08-29 23:50:22 +06:00
Cacodemon345
2256a41704
Keep polling for events until there isn't any
2021-08-29 23:50:22 +06:00
Cacodemon345
1b122ae789
Fix buggy mouse wheel behaviour
2021-08-29 23:50:22 +06:00
Cacodemon345
529b04381d
Fix ALSA MIDI input
2021-08-29 23:50:22 +06:00
Cacodemon345
03497b5bbf
Fix libedit crashes
...
Set priorty of main_thread to High
2021-08-29 23:50:22 +06:00
Cacodemon345
e025a422df
Don't leave terminal broken when exiting
2021-08-29 23:50:22 +06:00
Cacodemon345
d6db63a7b7
Use libedit for monitor when available
2021-08-29 23:50:22 +06:00
Cacodemon345
f3288b7470
Implement MO/ZIP/Cartridge loading via monitor
2021-08-29 23:50:22 +06:00
Cacodemon345
ddf15234f2
Implement pause command
2021-08-29 23:50:22 +06:00
Cacodemon345
b7c965a019
Implement ui_msgbox* functions
2021-08-29 23:50:22 +06:00
Cacodemon345
867fbec2fc
Add ALSA MIDI input support
2021-08-29 23:50:22 +06:00
Cacodemon345
ac8d281527
Linux ALSA MIDI support (Input not working)
2021-08-29 23:50:22 +06:00
Cacodemon345
b61a15805d
Implement cdeject and fddeject
2021-08-29 23:50:22 +06:00
Cacodemon345
8f5ce757ee
Fix null access crashes
2021-08-29 23:50:22 +06:00
Cacodemon345
e177488e90
Add cdload command and fix fddload command
2021-08-29 23:50:22 +06:00
Cacodemon345
6d84d19380
Delegate title setting to main thread on macOS
...
Resizing is done in main thread regardless of Unix platform
2021-08-29 23:50:22 +06:00
Cacodemon345
1fa760a161
Use local OpenAL headers
...
fddload command implemented
2021-08-29 23:50:22 +06:00
Cacodemon345
eb14e132a3
Define _DARWIN_C_SOURCE before includes on macOS
2021-08-29 23:50:22 +06:00
Cacodemon345
cb2d0a1046
Use local copy of alext.h for the time being
2021-08-29 23:50:21 +06:00
Cacodemon345
ea641cc0ae
Look for OpenAL in the proper way
2021-08-29 23:50:21 +06:00
Cacodemon345
4090b0fac7
Change OpenAL include statement to be what CMake docs suggest
...
Also WIP QEMU-like monitor.
2021-08-29 23:50:21 +06:00
Cacodemon345
c46ebc6a5e
Fix macOS compilation for real
2021-08-29 23:50:21 +06:00