Commit Graph

5588 Commits

Author SHA1 Message Date
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
237e00f62b Fix log path printing on non-Windows systems 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
0f9dd7b970 Add missing stdlib.h include to codegen_backend_x86-64.c 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
426df48151 Add correct library names for macOS 2021-08-29 23:50:22 +06:00
Cacodemon345
766f321d4d Add missing string.h include on new codegen backends 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
88d14eb194 Fix MinGW build 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
7856884a2b CMake OpenAL include directory variable is without a S 2021-08-29 23:50:21 +06:00
Cacodemon345
a903e24702 Fix remaining warnings 2021-08-29 23:50:21 +06:00
Cacodemon345
d47d41174b Default to Z_FILTERED if PNG_Z_DEFAULT_STRATEGY isn't defined 2021-08-29 23:50:21 +06:00
Cacodemon345
c46ebc6a5e Fix macOS compilation for real 2021-08-29 23:50:21 +06:00
Cacodemon345
91e27c0ffc Second shot at fixing macOS compilation 2021-08-29 23:50:21 +06:00
Cacodemon345
d24359bc33 Fix incorrect keypad input 2021-08-29 23:50:21 +06:00
Cacodemon345
0ea1872d67 Change SDL_SetWindowMouseGrab to SDL_SetRelativeMouseMode 2021-08-29 23:50:21 +06:00
Cacodemon345
635ef60c53 Fix buffer overflow on window title sets 2021-08-29 23:50:21 +06:00
Cacodemon345
8251d2b244 Change ftello64 to ftell since it got truncated anyway 2021-08-29 23:50:21 +06:00
Cacodemon345
5cdfcb099c Fix reading config files with UTF-8 BOM signature 2021-08-29 23:50:21 +06:00
Cacodemon345
fa3cb5bcee Don't make the blitter thread wait forever on exit 2021-08-29 23:50:21 +06:00
Cacodemon345
7d095da769 oops, forgot to create the mouse access mutex 2021-08-29 23:50:21 +06:00
Cacodemon345
1418d788a4 Remove incorrect focus loss detection code 2021-08-29 23:50:21 +06:00
Cacodemon345
8263fcab1f Implement mouse support 2021-08-29 23:50:21 +06:00
Cacodemon345
02d698ecaf Fix wrong variable reference 2021-08-29 23:50:21 +06:00
Cacodemon345
e0b36b52ca Implement window title setting 2021-08-29 23:50:21 +06:00
Cacodemon345
1678783db5 Implement keypad support 2021-08-29 23:50:21 +06:00
Cacodemon345
d9fdc5fcc1 Implement keyboard support
Numpad will be done eventually
2021-08-29 23:50:21 +06:00
Cacodemon345
f6af2b0162 Fix compile errors and get rid of glib dependency 2021-08-29 23:50:21 +06:00
Cacodemon345
39fea69d5c Fix warnings 2021-08-29 23:50:21 +06:00
Cacodemon345
435174a06a Fix incorrect typing of function loader
Co-authored-by: 韩朴宇 <w12101111@gmail.com>
2021-08-29 23:50:21 +06:00
Cacodemon345
bd74669ad5 Enable CMake policy CMP0079 2021-08-29 23:50:21 +06:00
Cacodemon345
1b93e8e989 Initial Linux/Unix code 2021-08-29 23:50:16 +06:00
David Hrdlička
a0c8f9aa9e workflows: add clang/mingw build 2021-08-29 16:09:28 +02:00
David Hrdlička
48e9165b13 workflows: use the new presets 2021-08-29 15:41:08 +02:00