Commit Graph

5327 Commits

Author SHA1 Message Date
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
1b93e8e989 Initial Linux/Unix code 2021-08-29 23:50:16 +06:00
OBattler
64aee0481c Removed the non-working keyboard hook, and with it, the NOHOOK make parameter. 2021-08-29 13:59:05 +02:00
OBattler
0ae0abcf9c Merge branch 'master' of https://github.com/86Box/86Box 2021-08-29 13:35:04 +02:00
OBattler
09ff45c394 LDS, LSS, LES, LFS, and LGS instructions now perform segment limit and present bit checks. 2021-08-29 13:34:51 +02:00
David Hrdlička
139268c749 fix copyright sign in version information 2021-08-29 08:49:46 +02:00
David Hrdlička
1ab23d5531 cmake: more fixes 2021-08-29 08:38:42 +02:00
David Hrdlička
88295f807c cmake: fix pure clang/win32 build 2021-08-29 07:23:33 +02:00
Ompronce
2596c0143c Make the Innovation SSI-2001's IO address configurable (#1636) 2021-08-29 06:40:21 +02:00
David Hrdlička
69a8c63c33 cmake: no SSE2 flag on non-x86 targets 2021-08-29 04:55:05 +02:00
David Hrdlička
44ccefb28a cmake: refactor the architecture detection 2021-08-29 03:55:07 +02:00
Miran Grča
8afee010d0 Merge pull request #1635 from 86Box/master
Bring the branch up to par with master.
2021-08-28 11:55:46 +02:00
Ompronce
906083a0a9 Removed unused references to snd_mpu401.h and corrected minor typo 2021-08-27 20:28:50 -04:00
Miran Grča
b0cb4d974c Update cdrom.c 2021-08-27 20:19:50 +02:00
OBattler
196f0f8bdd Merge branch 'master' of https://github.com/86Box/86Box 2021-08-27 20:11:17 +02:00
OBattler
08e36e7d52 Added a sanity check to the new recompiler, prevents the emulator from dividing by zero and crashing. 2021-08-27 20:10:59 +02:00
David Hrdlička
a68ac70c47 Fix ARM64 build
There is some weird issues regarding linking `__clear_cache` under `clang-cl`, therefore we just call the Windows API instead on these builds.
2021-08-27 15:16:49 +02:00
Alexander Babikov
5171ebb35a Add a filter for CD de-emphasis, with coefficients calculated based on SoX's code
This only adds the filter itself and needs hooking up to the rest of the code
2021-08-27 17:26:19 +05:00
Miran Grča
b60ece3d87 Merge pull request #1632 from 86Box/master
Bring the branch up to par with master.
2021-08-27 13:49:56 +02:00
OBattler
4222570553 The makefile now links libgcc on ARM64. 2021-08-27 13:49:27 +02:00
OBattler
ddc7c5b78a Reorganized some CPU structures a bit and fixed inappropriate behavior of some mem.c functions on 64-bit binaries (and made mem.c aware of ARM64 as well), fixes both 64-bit recompilers, closes #1215. 2021-08-27 13:31:47 +02:00
Laci bá
3da83e3ffe Fix a typo in initialization of ltemp 2021-08-27 09:09:46 +02:00
Laci bá
1980155e34 Fix to avoid repurposing variables 2021-08-27 09:02:31 +02:00
Laci bá
2634909dbd Fix to avoid undefined behavior at strcpy
- Using the `path` buffer to store the directory name, the possible overlapping areas can be avoided at strcpy.
- The `path` buffer is unused in further parts of this function, so can be used freely here. The `temp` buffer is too small for this task.
2021-08-26 21:49:25 +02:00
OBattler
eb827a6629 Fixed CD-ROM backend logging. 2021-08-26 21:26:56 +02:00
Laci bá
13ff9af7e1 Add support for overridable VM name
- A global variable added as vm_name
- This variable can be filled with the `--vmname "Name"` or `-V "Name"` parameter.
- If there are no such a parameter definied this variable will filled up with the directory name.
- The Discord module displays this global variable, as VM name.
- Various 86Box managers can use this feature to display fancy VM names, instead of GUID folder names.
- This variable can be easily used later for adding cool things, like the VM name in title bar, etc.
2021-08-26 20:30:37 +02:00
OBattler
ecc54b1717 Fixed the indentation of blit_thread(). 2021-08-26 13:54:32 +02:00
OBattler
aa3a52da3c Reordered some CPU variables and rewrote codegen emitted by the old recompiler's 64-bit version of codegen_accumulate_flush() to not assume 32-bit pointers, fixes 64-bit old recompiler, closes #1615. 2021-08-26 13:53:13 +02:00
OBattler
6d7acaa100 Made sure cdrom_image.c doesn't strcpy() from the same place to the same place. 2021-08-26 10:14:27 +02:00
OBattler
d9ac4ea75f Fixed a small typo. 2021-08-25 14:05:41 +02:00
OBattler
4ad78598ea Fixed IBM RGB28 RAMDAC hardware cursor position calculation. 2021-08-25 13:58:01 +02:00