Commit Graph

102 Commits

Author SHA1 Message Date
Cacodemon345
527fb269e2 Auto-load gm.dls on Windows if FluidSynth 2.5.0 or later is detected and no soundfont is specified
Windows builds should generally use it or later
2026-01-12 16:20:32 +06:00
OBattler
f0ab2e9b78 Extended the screenshot functionality to allow taking both raw and (renderer/resize-)processed screenshots, to both file and clipboard, made the functionality available on the toolbar as well, and moved the recently added "Force interpretation" button to the end of the toolbar. 2025-12-25 03:44:23 +01:00
starfrost013
7860e06f8a Remove all non-library _MSC_VER checks 2025-12-22 22:36:15 +00:00
starfrost013
11976adced remove remaining msvc check 2025-12-22 22:29:35 +00:00
OBattler
0092ce15de Only make the fallthrough define available in C code, fixes #6607. 2025-12-22 22:56:10 +01:00
OBattler
3e8a62c5c6 Implemented the infrastructure for the non-ROM assets to go with the new repository. 2025-11-28 01:32:58 +01:00
Thraka
3d9f31e85f Move to C var; handle keyboard/mouse fullscreen conditions 2025-11-16 12:02:27 -08:00
Jasmine Iwanek
8ac8461dd3 Header cleanups (2/2) (#6275) 2025-10-04 03:40:32 +02:00
Cacodemon345
fdbf4a066b Introduce plat_file_check and use it for ROM existence checking 2025-09-20 00:30:29 +06:00
Cacodemon345
3b234872cf Translations and cleanups 2025-08-26 17:52:31 +06:00
David Hrdlička
76fada4f06 And again 2025-08-21 17:43:42 +02:00
David Hrdlička
b37cb502ba Implement default VMM directory 2025-08-21 16:51:36 +02:00
David Hrdlička
9e7ecb8dba Merge branch 'master' into feature/global-config 2025-08-06 12:26:10 +02:00
OBattler
64e85fdfbc Retooled ZIP emulation into more expansible Removable Disk emulation, ZIP 100 and 250 types remain selectable, alongside the new 86Box (ie. generic) option. 2025-07-25 16:30:40 +02:00
Alexander Babikov
5918356719 Fix keybinds being saved in native/localized form
Keybinds are now both saved and read in portable form
and only converted to native one for display purposes, fixing
them not being read correctly when certain languages are set.

Also get rid of qPrintable() due to it using the system 8-bit codepage
instead of UTF-8, and some unnecessary QString ↔ C string conversions

Co-Authored-by: Cacodemon345 <wahil1976@outlook.com>
2025-05-07 19:23:28 +05:00
David Hrdlička
4b55dc8cae plat: use size_t for global dir path buffer length 2025-05-03 01:41:18 +02:00
Alexander Babikov
e1007d2377 Get rid of Windows LCIDs as numeric language IDs 2025-04-18 02:14:29 +05:00
OBattler
63f106a0fd Added plat_break() for raising breakpoints and warning() and log_warning() to raise visible non-fatal warnings to the user. 2025-03-22 00:49:20 +01:00
OBattler
5c4fcfaf85 ESC/P Printer: No longer assume roms/ is where the binary is, fixes #5221. 2025-02-17 04:49:43 +01:00
OBattler
8f5cf293bd Assorted fixes, including warning message box for unavailable devices and translation fixes. 2025-01-27 01:20:37 +01:00
Mike Swanson
dd1d835e15 Use F8+F12 to release mouse on all platforms
It seems that Ctrl+End was used on non-Win32 platforms because
WxWidgets couldn’t use non-modifier keys as a keyboard sequence.  Qt
can, and F8+F12 interferes with the operation of software a lot less
than Ctrl+End does (try doing some text editing!).

86Box hasn’t used WxWidgets for quite some time and this platform
limitation hack has long outlived its necessity.
2024-09-02 13:23:00 -07:00
rilysh
189be035d2 Mark plat_vidapi() argument as const and remove the NULL
* plat_vidapi() accepts char pointer, which never gets modifed
later on. Mark it as const.

* In src/config.c, va_name is initialized as NULL, however,
plat_vidapi_name() never returns a NULL pointer, nor it was
initialized under a condition branch. Removing NULL, might
save one instruction, which requires zeroing the register
before setting its initial value.
2024-07-21 12:49:06 +05:30
Cacodemon345
a44936f3e1 Add Generic PCL Printer 2024-06-21 15:36:28 +06:00
cold-brewed
aaf3ab575e Add new platform functions for global directories 2024-05-17 15:09:04 -04:00
Alexander Babikov
8e06b5449f Overhaul plat_get_string()
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed

ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
Alexander Babikov
23ba920bbf Clean up the plat and ui API
Remove functions no longer defined or used on any plat/UI
Remove the old non-multi-monitor-aware plat_resize() and rename
plat_resize_monitor() to plat_resize()
2024-03-19 14:30:24 +05:00
Alexander Babikov
224daa92d0 qt: Remove fullscreen status icons 2024-02-13 21:13:25 +05:00
RichardG867
67c84f1ae6 Add automatically-generated names to threads 2024-01-09 20:14:21 -03:00
Miran Grča
05ac665ee7 Merge branch 'master' into fullscreenstaticonqt 2023-11-08 07:08:51 +01:00
Jasmine Iwanek
ad3cca65f6 Fallthrough fixes for MSVC 2023-08-16 13:04:58 -04:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04:00
OBattler
782015a923 More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice. 2023-08-11 04:45:32 +02:00
Miran Grča
e55b06da4c Merge pull request #3534 from jriwanek-forks/sonarlint
Yet more Sonarlint and a few warning fixes.
2023-08-10 05:13:47 +02:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
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
Jasmine Iwanek
bee11bcbba Fix my clang fix 2023-07-26 19:54:39 -04:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04: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
OBattler
27ebb27db7 Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness. 2022-11-17 22:44:06 +01:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Cacodemon345
e4e1852462 Start of global config infrastructure 2022-11-06 22:35:47 +06:00
ts-korhonen
f7c11a94e9 Fix windows clang+vcpkg build. 2022-10-18 20:44:09 +03:00
Jasmine Iwanek
ae4f9aedaa clang-format in src/include/86box/ 2022-09-18 17:22:54 -04:00
Miran Grča
f55ae27652 Merge pull request #2453 from elyosh/qtstatusbar
qt: switch to polling for status bar updating
2022-07-13 02:02:04 +02:00
Adrien Moulin
24ee676b13 qt: switch to polling for status bar updating 2022-07-13 01:04:01 +02:00
Cacodemon345
27e4124574 qt: Fix performance regression 2022-07-12 14:41:38 +06:00
Cacodemon345
826a75292f Fix Win32 compilation 2022-07-05 19:01:00 +06:00
Cacodemon345
e8ffc699ba qt: Implement per-monitor resizing 2022-07-04 17:54:38 +06:00