Commit Graph

90 Commits

Author SHA1 Message Date
cold-brewed
15013e1ede Added new platform function to get cpu string (#3533)
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-08-09 18:12:27 -03:00
RichardG867
8ff45f74fd Remove legacy dynamic loading error messages 2023-07-22 18:14:22 -03:00
Alexander Babikov
3686026ded qt: plat_tempfile: Fix milliseconds being appended twice 2023-07-01 16:58:06 +05:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
cold-brewed
ef34e81cd1 network: Added new ability for drivers to provide error information upon failed init. Updated translation strings. Fixed an issue with VDE configuration settings. 2023-05-23 11:53:59 -04:00
Jasmine Iwanek
8c1906bc98 Add missing translation 2023-03-01 00:15:56 -05:00
David Hrdlička
7490bb12c9 Move Discord Rich Presence behind a compile-time option 2023-02-01 17:17:56 +01:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Cacodemon345
3a10ebd28d Merge branch 'master' into global-config-screenshot 2022-12-03 20:29:26 +06:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
6919451ae4 Fix string offsetting 2022-11-09 23:19:17 -05:00
Jasmine Iwanek
6b49dd609e Add zh-TW.rc to win32 & QT 2022-11-07 21:09:21 -05:00
Cacodemon345
e4e1852462 Start of global config infrastructure 2022-11-06 22:35:47 +06:00
cold-brewed
e4a4549e3f qt: Rework ui pause update into a slot for thread safety 2022-10-29 09:09:30 -04:00
cold-brewed
f4c2cba3e0 qt: Move ui pause state update to plat_pause 2022-10-28 13:48:59 -04:00
cold-brewed
9adf5ab589 qt: Account for empty path in plat_fopen 2022-10-03 09:17:09 -04:00
cold-brewed
97a99f70e3 qt: Add floppy support to media history manager 2022-10-01 17:39:03 -04:00
cold-brewed
23e587b909 qt: Append usr_path for relative paths in plat_fopen64() on linux as well as macOS 2022-08-30 19:38:22 -04:00
cold-brewed
9daa721d44 qt: Add media history manager for recently used images 2022-08-30 17:18:51 -04:00
Cacodemon345
97242168de qt: Fix usage of unconverted path in plat_fopen64
UTF-8 paths are not supported on all Windows installations, only some of them. This was only accounted for in the 32-bit plat_fopen function, not on 64-bit plat_fopen64. Fix that oversight.
2022-08-11 01:16:56 +06:00
OBattler
f96eb5a2fc Pausing the emulator, including using the Pause key, now also releases mouse capture, closes #2293. 2022-08-02 02:57:00 +02:00
Cacodemon345
ac12ad2243 Revert "Fix crash at exit due to a unreleased mutex."
This reverts commit 80e5470006.

std::unique_lock is incapable of recursively locking a mutex, which is needed for multi-monitor setups.
As a result it will crash/show undefined behaviour when switching renderers. Switch to instead calling
endblit() after pc_close to avoid crashes; at this point the CPU thread is now terminated so the mutex
no longer remains held by it.
2022-08-01 13:29:54 +06:00
Alexander Babikov
6452e89235 Fix a typo in qt_platform.cpp 2022-07-26 10:22:31 +05:00
ts-korhonen
80e5470006 Fix crash at exit due to a unreleased mutex.
Qt startblit() and endblit() use a mutex that can remain locked at exit.
A thread static wrapper makes sure that each thread using the mutex will
also release it before terminating.
2022-07-25 14:13:30 +03:00
OBattler
c793fd7142 Proper separation. 2022-07-24 03:54:47 +02:00
OBattler
b13bb3a263 QT now uses the old Windows dynamic loading code when on Windows. 2022-07-24 03:37:37 +02:00
OBattler
476435f3d0 Attempt to fix Mac builds. 2022-07-11 03:44:30 +02:00
Cacodemon345
11a75f5fd5 Merge branch 'master' into multimonitor-take2-ui 2022-07-10 11:44:58 +06:00
OBattler
9eb7f6a3f9 Increased some arrays in plat_pause(). 2022-07-10 00:38:14 +02:00
Cacodemon345
7ab71cafd3 Working multimonitor 2022-07-04 01:50:42 +06:00
David Hrdlička
0a7efe9898 qt: fix missing null terminator in the VM paused message 2022-05-28 17:39:11 +02:00
Cacodemon345
2545da8e04 qt: attempt fixing freezes on power off of emulated machine 2022-05-05 11:55:17 +06:00
richardg867
de82cf8bf1 macOS: Fix plat_getcwd on .app bundle 2022-04-20 13:35:14 -03:00
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
David Hrdlička
048cfbea00 Fix accidental removal 2022-04-08 10:45:46 +02:00
David Hrdlička
25b8f42dc6 qt: FIx broken build due to missing define 2022-04-08 10:34:59 +02:00
David Hrdlička
e711b6c44a Fix ROM location on macOS 2022-04-08 10:20:01 +02:00
David Hrdlička
3449a173ae Move ROM search path code to rom.c, rewrite rom_fopen 2022-04-08 01:34:47 +02:00
David Hrdlička
a780d9a241 Rewrite plat_init_rom_paths in Qt frontend 2022-04-08 00:58:38 +02:00
Cacodemon345
c700f93b4b qt: Fix warnings 2022-04-07 01:27:16 +06:00
Cacodemon345
0f54376224 Merge branch 'newqt' of ssh://github.com/Cacodemon345/86box into newqt 2022-04-07 01:00:09 +06:00
Cacodemon345
0fd3042e0c qt: Add support for loading ROMs from ~/Documents/86Box/roms on macOS 2022-04-07 00:57:16 +06:00
Cacodemon345
f8c53dec3a qt: Fix compilation on Linux 2022-04-06 19:56:30 +06:00
Cacodemon345
1a3a7bec0e Move platform-specific ROM path adding code into plat modules 2022-04-06 16:16:25 +06:00
Alexander Babikov
4b8b7c3950 Add handling for several missing strings to plat_get_string on Qt and legacy Unix UIs 2022-03-15 04:19:10 +05:00
ts-korhonen
87546d2ce6 qt: fix multiple compiler warnings 2022-03-07 21:47:48 +02:00
Cacodemon345
d695ca3cc9 qt: Don't normalize paths on non-Windows 2022-03-04 14:00:24 +06:00
Cacodemon345
7dc84e0f67 qt: Fix HDD path relativization on Windows 2022-03-04 01:25:34 +06:00
Cacodemon345
06fc26ccab qt: Add Unix manager support (client-side interface) 2022-02-27 15:30:40 +06:00
Cacodemon345
d87d0be2f8 qt: Uncapture mouse before exit 2022-02-17 11:51:24 +06:00