Commit Graph

2217 Commits

Author SHA1 Message Date
Alexander Babikov
7f9720d746 Qt: Move the CPU frame size option next to time sync 2025-10-21 17:12:54 +05:00
kees-z
3485dd4676 Fix typos and translation improvements (#6345) 2025-10-14 17:41:46 +02:00
OBattler
5c3f0a4ecc OpenGL Renderer: Remove leftover debug code. 2025-10-12 18:21:08 +02:00
Miran Grča
93cb9e9c9d UI: Never move the window to top left on resize, fixes #6329. 2025-10-12 16:16:01 +02:00
Lili Kurek
3f61475d9a Fix building with Qt 6.10 (#6327)
Fixes #6326.
2025-10-12 15:49:29 +02:00
Cacodemon345
f97dea2be6 Try to reduce hacks (#6313) 2025-10-10 11:32:32 +02:00
Miran Grča
02b59c4626 Update qt_openglrenderer.cpp: Update more BGRA's to BGR. 2025-10-10 03:13:00 +02:00
Miran Grča
c0af46af35 Update qt_openglrenderer.cpp: Make the renderer RGB and not RGBA. 2025-10-10 02:58:02 +02:00
Miran Grča
1fe3b18fe3 Update qt_openglrenderer.cpp: Fix the previous fix. 2025-10-10 00:51:33 +02:00
Cacodemon345
1a90e66711 Remove some flags (#6308) 2025-10-10 00:47:42 +02:00
Miran Grča
c56254178c Update qt_rendererstack.cpp: Fix a colon that should have been a semicolon. 2025-10-10 00:33:31 +02:00
Cacodemon345
9da9d8e975 Attempt to fix black screen on NVIDIA (#6307) 2025-10-10 00:24:11 +02:00
Miran Grča
ef23521a77 Update qt_openglrenderer.cpp: Port the version workaround from PCem. 2025-10-10 00:23:19 +02:00
Cacodemon345
40ed311895 Resize renderer view back on Windows on language selection changes (#6302) 2025-10-08 17:19:23 +02:00
Sasamiya
79e5f9426b Update Language Module: Simp-Chinese and Trad-Chinese (#6280) 2025-10-05 06:38:41 +02:00
Sasamiya
3f7c2ccf20 Update Language Module: Simp-Chinese and Trad-Chinese (#6279) 2025-10-05 03:06:11 +02:00
Cacodemon345
22bd6c53b1 Run as many frames as possible without "pinging" the host timers (#6278)
It should improve performance for certain Intel/AMD platforms with botched HPET/TSC implementations
2025-10-04 19:00:30 +02:00
Jasmine Iwanek
8ac8461dd3 Header cleanups (2/2) (#6275) 2025-10-04 03:40:32 +02:00
Miran Grča
d1b29d7a4f Update qt_rendererstack.hpp: reorder some things to fix a warning. 2025-10-03 23:03:26 +02:00
Cacodemon345
8d5b56311b Make renderer window a native widget (#6274)
Remove QStackedWidget usage, switch to normal QWidget
2025-10-03 22:58:54 +02:00
Cacodemon345
37edcce1fa Call timeBeginPeriod only once on startup (#6273)
Use SetProcessInformation to make the OS better handle our threads on big/small cores
2025-10-03 22:03:11 +02:00
richardg867
da018531e0 Add naming support to Win32 threads 2025-10-03 16:35:02 -03:00
richardg867
e44dfd08f5 Add thread name to the qt event loop thread [skip ci] 2025-10-03 16:34:12 -03:00
OBattler
0d1a7dd6ad Bring the two search strings in line. 2025-10-03 17:12:49 +02:00
OBattler
cf7dd1376a Fix some translations. 2025-10-03 17:02:44 +02:00
Cacodemon345
3ac3945499 Qt: revert native window behaviour for Windows (#6271) 2025-10-03 15:53:59 +02:00
Cacodemon345
b45452d434 Add ability to search for machines in machine settings (#6268) 2025-10-02 22:48:49 +02:00
Cacodemon345
ee86991f95 Implement Force 4:3 option for resizable windows with fullscreen behaviour (#6264)
* Revert "Fix remember size and position regression in which vertical size could grow when reopening the VM (#6239)"

This reverts commit 74aa15644d.

* Revert "Change window resizing logic when using 4:3 aspect ratio (#6233)"

This reverts commit bc085ac02f.

* Revert "Run more iterations and retested"

This reverts commit ca429dd493.

* Revert "Fix Force 4:3 Aspect Ratio not working if Resizable window is enabled #6062"

This reverts commit 717b66c660.

* Implement Force 4:3 option for resizable windows with fullscreen behaviour
2025-10-01 22:20:50 +02:00
Toni Riikonen
0beb22722a Configurable FDD sound emulation timings (#6263)
* Initial spindle emulation working for windows atleast

* Spingle motor spin-up, spin-down implemented with smooth transitions to motor-on loop.

* Moved fdd audio emulation to a separate file

* Multiple drives sound emulation

* Single sector movement sound emulations implemented

* Rename project to Immersive86Box and update details

Updated README to reflect the new project name and added details about the Immersive86Box features and future plans.

* Revise contribution guidelines in CONTRIBUTING.md

* Update vulnerability reporting instructions

* System fan-sound next feature after basic fdd sound emulation is ready

* v0.5 multitrack audio seek sfx

* Removed unnecessary stuff

* no .vs folder for git

* Added currently used fdd sound effects and readme.txt for source of the files and intallation instructions

* Add audio emulation installation instructions

Added instructions for audio emulation installation.

* Code and audio samples merged

* Simplify audio emulation installation instructions

* FDC seeking fixed, not instant anymore drive is set to busy during the operation and when it's finished at call fdc to set the appropriate fdc flags.

Also added time logic to fdd to calculate seek duration and a callback function for it.

* FDD sound samples volume control

* Menu options to enable / disable fdd sound for all drives.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.

* Revert readme etc. changes

* Revert "Revise contribution guidelines in CONTRIBUTING.md"

This reverts commit 98a0478225.

* Revert "Update vulnerability reporting instructions"

This reverts commit 7d32cb659b.

* Fixed merge issue

* Removed excess files

* Fixed PCJr seeking not to break the FDC implementation. Now seeking will take the "correct" amount of time for each system and the seek time is based on the track count. E.g. 40 track FDD system causes 40 track seek time to be 80/40 * 6ms * 40 tracks + 50ms = 480ms + 50ms -> 530ms.

80 track system full seek is 80/80 * 6ms * 80 + 50ms = 530ms, 40 track seek would take 240 + 50 = 290ms.

* Fixed PS/1, PS/2 and PS/55 FDD issues.

* FDD_AUDIO: Updating samples looked in executablePath/samples and if now found there, looks in the executable directory

* Updated installation instructions

* Removed samples path strcat use

* fdd_audio 5.25 samples and support added

* FDD audio timing/volume tunings

* Timing fixes for authentity and special longer timings for PCJr

* Fixed second drive motor keeps running when first drive is only accessed.

* Fixed PCJr random failure issue, timings

* CodeQL fix for load_wav-function. Check the filename to be proper filename

* Revert "Fixed second drive motor keeps running when first drive is only accessed."

This reverts commit 307b173ae7.

* Teac 5.25" drive samples added. Added per drive audio selection to FDD settings.

* Fixed merge issue

* Fixed readme to include only Mitsumi samples under CC-BY license

* Fixes merge problem

* Fixes #6220: OS/2 Warp 3.0 install disk issue and NT 3.1 floppy disk issues. Changed the fdc->stat bit to 0x10 which states fdc busy. Previous implementation with seek time 0, set the ready flag 0x80 immediadely - which was correct for that time, but now as the drive is busy during seek, the value should 0x10. Implemented a backup for fdd commands during fdd seek to be processes after the seek is completed.

* Fixed FDD reset

* Floppy disk audio now gets settings from fdd_audio_profiles.cfg stored in roms/floppy -directory. Floppy settings audio seledtions are also populated by the settings from this config.

* Changed samples per track, not seek_duration_per_track

* Removed commented code.
Returned total_track in configration

* Fixed CodeQL errors

---------

Co-authored-by: Toni Riikonen <domppari@hotmail.com>
2025-10-01 21:07:23 +02:00
andresdelcampo
74aa15644d Fix remember size and position regression in which vertical size could grow when reopening the VM (#6239)
* Change window resizing logic when using 4:3 aspect ratio

Change window resizing logic when using 4:3 aspect ratio to resize content only. Fixed issues in Remember size and position that are derived from the change. There is a slight flicker while resizing with force 4:3 aspect ratio.

* Fix regression that adds vertical size when showing toolbar and statusbar and remembering size and po

The recent rework on the force aspect 4:3 which needed to revisit the remembering of size and position introduced a regression that would save the size without considering the non-content window elements that could be showed or hidden. Now it calculates it accordingly.
2025-09-27 19:53:45 +02:00
andresdelcampo
bc085ac02f Change window resizing logic when using 4:3 aspect ratio (#6233)
Change window resizing logic when using 4:3 aspect ratio to resize content only. Fixed issues in Remember size and position that are derived from the change. There is a slight flicker while resizing with force 4:3 aspect ratio.
2025-09-27 13:31:46 +02:00
Alexander Babikov
9e1ec19860 Manager: Indicate Voodoo SLI in the details pane (#6223) 2025-09-25 19:54:16 +02:00
Miran Grča
58e397247d QT Renderer: current->setAttribute(Qt::WA_AlwaysStackOnTop); 2025-09-25 01:21:42 +02:00
Cacodemon345
d29b0d5183 Set up default surface formats before QApplication creation (#6221) 2025-09-24 13:59:29 +02:00
Cacodemon345
236007b4c8 Force AlphaBuffer to be 0 (#6217) 2025-09-23 18:31:12 +02:00
RichardG867
1d9f84b025 Revert "Bump GLSL version of default shaders to 1.50"
This reverts commit 999812e9b9.
2025-09-23 12:34:46 -03:00
Cacodemon345
b1e1596e2b Remove other remnants of OpenGL ES support (#6213)
* Remove other remnants of OpenGL ES support

* Force OpenGL surface format if possible
2025-09-23 14:26:32 +02:00
OBattler
151c3d8730 Fixes to the floppy samples work. 2025-09-22 01:30:11 +02:00
Toni Riikonen
1859e7cf68 Floppy disks sound emulation prototype for reviewing (#6166)
* Initial spindle emulation working for windows atleast

* Spingle motor spin-up, spin-down implemented with smooth transitions to motor-on loop.

* Moved fdd audio emulation to a separate file

* Multiple drives sound emulation

* Single sector movement sound emulations implemented

* Rename project to Immersive86Box and update details

Updated README to reflect the new project name and added details about the Immersive86Box features and future plans.

* Revise contribution guidelines in CONTRIBUTING.md

* Update vulnerability reporting instructions

* System fan-sound next feature after basic fdd sound emulation is ready

* v0.5 multitrack audio seek sfx

* Removed unnecessary stuff

* no .vs folder for git

* Added currently used fdd sound effects and readme.txt for source of the files and intallation instructions

* Add audio emulation installation instructions

Added instructions for audio emulation installation.

* Code and audio samples merged

* Simplify audio emulation installation instructions

* FDC seeking fixed, not instant anymore drive is set to busy during the operation and when it's finished at call fdc to set the appropriate fdc flags.

Also added time logic to fdd to calculate seek duration and a callback function for it.

* FDD sound samples volume control

* Menu options to enable / disable fdd sound for all drives.
DISABLE_FDD_AUDIO definition added, to disable the feature via cmake/build.

* Revert readme etc. changes

* Revert "Revise contribution guidelines in CONTRIBUTING.md"

This reverts commit 98a0478225.

* Revert "Update vulnerability reporting instructions"

This reverts commit 7d32cb659b.

* Fixed merge issue

* Removed excess files

* Fixed PCJr seeking not to break the FDC implementation. Now seeking will take the "correct" amount of time for each system and the seek time is based on the track count. E.g. 40 track FDD system causes 40 track seek time to be 80/40 * 6ms * 40 tracks + 50ms = 480ms + 50ms -> 530ms.

80 track system full seek is 80/80 * 6ms * 80 + 50ms = 530ms, 40 track seek would take 240 + 50 = 290ms.

* Fixed PS/1, PS/2 and PS/55 FDD issues.

* FDD_AUDIO: Updating samples looked in executablePath/samples and if now found there, looks in the executable directory

* Updated installation instructions

* Removed samples path strcat use

* fdd_audio 5.25 samples and support added

* FDD audio timing/volume tunings

* Timing fixes for authentity and special longer timings for PCJr

* Fixed second drive motor keeps running when first drive is only accessed.

* Fixed PCJr random failure issue, timings

* CodeQL fix for load_wav-function. Check the filename to be proper filename

* Revert "Fixed second drive motor keeps running when first drive is only accessed."

This reverts commit 307b173ae7.

* Teac 5.25" drive samples added. Added per drive audio selection to FDD settings.

* Fixed mistake in samples folder recreation

---------

Co-authored-by: Toni Riikonen <domppari@hotmail.com>
2025-09-22 01:03:07 +02:00
Cacodemon345
388f39e195 Clear screen to black on software renderer after it starts 2025-09-21 17:55:39 +06:00
Cacodemon345
37bb704474 Always use desktop OpenGL implementations 2025-09-21 05:16:26 +06:00
Cacodemon345
999812e9b9 Bump GLSL version of default shaders to 1.50 2025-09-20 12:40:58 +06:00
RichardG867
25146643f9 Migrate remaining machine-specific checks from internal name to init function 2025-09-19 19:41:01 -03:00
RichardG867
bc350fc8ce QIcon caching optimizations in settings pages 2025-09-19 19:04:24 -03:00
RichardG867
13d5de4e7b ROM file check optimizations and cleanups 2025-09-19 17:51:01 -03:00
Cacodemon345
fdbf4a066b Introduce plat_file_check and use it for ROM existence checking 2025-09-20 00:30:29 +06:00
Cacodemon345
cdd72a18b6 Fix resize glitches while paused 2025-09-19 15:46:36 +06:00
Cacodemon345
f1bfe48832 Software renderer no longer uses QRasterWindow 2025-09-19 14:50:30 +06:00
OBattler
376dccf86d Qt Software renderer: Use a simple XOR instead of increase and modulo 2. 2025-09-18 04:37:11 +02:00
OBattler
381a06a44c Qt Software Rendrer: Use a casted comparison instead of calling memcmp(). 2025-09-18 04:32:23 +02:00