Commit Graph

693 Commits

Author SHA1 Message Date
Dominus Iniquitatis
3407708a9e qt: Adjusted "Controller 4" vertical position 2022-08-08 06:52:20 +03:00
Miran Grča
123ab476ef Merge pull request #2582 from elyosh/instrument
Add an instrumentation option for performance profiling
2022-08-06 23:56:05 +02:00
Miran Grča
c46e7c7b8b Merge pull request #2581 from elyosh/fix-mac-opengl-fs
qt_openglrenderer: fix fullscreen rendering on mac
2022-08-06 23:55:34 +02:00
Adrien Moulin
c6cf848693 Fix var name 2022-08-06 14:51:42 +02:00
Adrien Moulin
3a1d9cff9a Add an instrumentation option for performance profiling
Not built by default, this allows printing the emulation speed on stdout and exiting after a certain emulation time.
2022-08-06 14:23:11 +02:00
Adrien Moulin
68812d4368 qt_openglrenderer: fix fullscreen rendering on mac 2022-08-06 11:51:39 +02:00
Adrien Moulin
ce4d7f9fc8 Small cleanup 2022-08-05 23:22:39 +02:00
Adrien Moulin
c7c438f2d6 qt: fix busy looping with evdev mouse
Replace busy looping which was using 100% cpu with poll()
2022-08-05 23:12:03 +02:00
cold-brewed
828334c482 qt: Update machine settings layout to make mac and linux consistent with windows layout 2022-08-03 12:18:41 -04:00
Cacodemon345
468ef84399 qt: Enable and make VNC work properly 2022-08-03 13:06:30 +06:00
cold-brewed
acd2d8b801 qt: Update cdrom media menu to make it more consistent with floppy.
Add current image name to cdrom and floppy media menu.

Don't display reload option unless previous image is set.
2022-08-02 17:08:12 -04:00
Cacodemon345
1033959839 qt: Fix unresponsive progress bar when creating floppy images 2022-08-02 16:59:24 +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
482bbe7fee Merge branch 'qt-opengl-es' of ssh://github.com/Cacodemon345/86box into qt-opengl-es 2022-08-02 00:14:32 +06:00
Cacodemon345
e2a03f436e qt: properly update "Show non-primary monitors" settings when they are closed 2022-08-02 00:14:09 +06:00
Cacodemon345
af31671619 Update qt_mainwindow.cpp 2022-08-01 18:06:45 +06:00
Cacodemon345
8b99f9f360 qt: avoid zero-sized main window 2022-08-01 17:36:46 +06: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
Cacodemon345
6351394918 qt: Fix compile on ARM64 with GLES2 headers 2022-08-01 12:45:38 +06:00
OBattler
93404cf291 Actually fixed the hang. 2022-08-01 00:40:31 +02:00
OBattler
b69565d0ae And actually fixed compile now. 2022-08-01 00:28:15 +02:00
OBattler
42fade36d0 Another fix attempt. 2022-08-01 00:02:28 +02:00
OBattler
1280cbd4a5 Attempted fix for the extern. 2022-07-31 23:53:24 +02:00
OBattler
68992c0020 And another fix. 2022-07-31 23:48:58 +02:00
OBattler
14fa83402e One last fix. 2022-07-31 23:38:43 +02:00
OBattler
f3db64317c Attempted fix of the fix. 2022-07-31 23:37:24 +02:00
OBattler
16f7460c73 Attempt at some QT fixes. 2022-07-31 23:31:59 +02:00
Cacodemon345
34d80ce170 It's '->' 2022-08-01 02:42:51 +06:00
Cacodemon345
831835b884 qt: fix hard freeze on hidden second windows 2022-08-01 02:39:50 +06:00
Miran Grča
bfa1405be4 Merge pull request #2541 from cold-brewed/media-dialog-path
qt: Global option in preferences to use usr_path as the file image open directory
2022-07-31 04:50:16 +02:00
cold-brewed
9f15ffd4e9 qt: Adds a global option in preferences to use usr_path as the default
open directory for image file selection.
2022-07-30 14:56:44 -04:00
Cacodemon345
180682aa36 Fix mislabled variable reference
Co-authored-by: Alexander Babikov <2708460+lemondrops@users.noreply.github.com>
2022-07-30 15:46:44 +06:00
Cacodemon345
313b2ab852 qt: Properly display tertiary/quarternary IDE toggle in Settings 2022-07-30 14:39:36 +06:00
Cacodemon345
94c84b299d qt: Fix hide toggles on resizable main window 2022-07-30 14:38:02 +06:00
Miran Grča
d111e3476b Merge pull request #2532 from Cacodemon345/qt-macos-fix
qt: Fix separators not showing up on macOS
2022-07-29 23:14:38 +02:00
Cacodemon345
4e3e4355c7 Fix D3D9 for real 2022-07-30 01:53:32 +06:00
Cacodemon345
f5bc5f4739 qt: Fix fullscreen crashes on NVIDIA GPUs 2022-07-30 01:45:08 +06:00
Cacodemon345
2ad0c27f71 qt: Fix fullscreen at start with Direct3D 9 renderer 2022-07-30 00:38:51 +06:00
Cacodemon345
d671b95d3e qt: Fix separators not showing up on macOS 2022-07-30 00:09:09 +06:00
Miran Grča
d674b4cf49 Merge pull request #2527 from elyosh/esdi
ESDI: implement HDD timings and fix status icon updating
2022-07-29 16:30:51 +02:00
Miran Grča
43ac75c276 Merge pull request #2529 from Cacodemon345/qt-renderer-fix
qt: Fix black screen when switching between renderers
2022-07-29 16:30:42 +02:00
Cacodemon345
08722ffdf5 qt: Fix black screen when switching between renderers 2022-07-29 14:46:54 +06:00
Adrien Moulin
6e6436acd7 ESDI: implement HDD timings 2022-07-29 00:47:52 +02:00
Jasmine Iwanek
8b33566187 More serial cleanups 2022-07-28 16:50:49 -04:00
Miran Grča
cd32bfa1c1 Merge pull request #2514 from lemondrops/feature/fmdriver_ui
Add the FM synth driver select option to the UI
2022-07-26 15:10:29 +02:00
Alexander Babikov
f51c4cbaab Adjust the layout and label text of the FM synth driver option 2022-07-26 17:03:26 +05:00
Alexander Babikov
2706366b21 qt: Add the FM synth driver select option to the UI 2022-07-26 10:23:00 +05: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
altiereslima
9f5c46d66a Update pt-BR.po 2022-07-24 10:26:07 -03:00