Commit Graph

36577 Commits

Author SHA1 Message Date
Unknown W. Brackets
c03501c506 Qt: Buildfix with SDL disabled. 2023-05-04 19:18:58 -07:00
Henrik Rydgård
91be4cfeb6 typo fix 2023-04-29 16:15:48 +02:00
Henrik Rydgård
7fb5ba8cd5
Merge pull request #17353 from hrydgard/sdl-old-version-compat
Don't try to use precise mousewheel events on old SDL versions.
2023-04-29 12:55:43 +02:00
Henrik Rydgård
6e318dc8b2 Don't try to use precise mousewheel events on old SDL versions.
Fixes compile-time compatibility with older version of SDL.
2023-04-29 12:34:25 +02:00
Henrik Rydgård
e812100530
Merge pull request #17351 from hrydgard/mac-backend-restart
Mac/Linux: Restart app on backend change
2023-04-29 12:29:06 +02:00
Henrik Rydgård
5331c5bf84 Implement auto restart for Linux too. 2023-04-29 11:48:35 +02:00
Henrik Rydgård
048ccc9b79 Mac: Restart the app when changing rendering backend. 2023-04-29 11:38:49 +02:00
Henrik Rydgård
c81d996475 Implement the RESTART_APP system request for Mac 2023-04-29 11:38:47 +02:00
Henrik Rydgård
2507fcb89b
Merge pull request #17349 from hrydgard/memory-safety
Memory safety: Replace many sprintf with snprintf
2023-04-28 22:54:37 +02:00
Henrik Rydgård
7723aebb9b Buildfixes 2023-04-28 21:56:39 +02:00
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
c02634c161 Add some paranoid format string checking in popup slider dialogs 2023-04-28 20:26:08 +02:00
Henrik Rydgård
7698fda7e0
Merge pull request #17346 from hrydgard/more-mac-work
Some more MacOS work
2023-04-28 15:59:34 +02:00
Nemoumbra
12506a3474
Minor bugs (#17344)
* Fixed console acting like it's hidden while it's not

* Trailing whitespace removed
2023-04-28 15:18:01 +02:00
Henrik Rydgård
e1d4a19ce1 Add the basics of the Emulation menu to the Mac build 2023-04-28 15:16:57 +02:00
Henrik Rydgård
de10c1c1c6 Temporarily remove the VSync setting from the Mac menu (it's not quite working right) 2023-04-28 14:58:05 +02:00
Henrik Rydgård
26758f7934 Set CFBundleExecutable in Info.plist without path 2023-04-28 14:58:05 +02:00
Henrik Rydgård
ab37b8dea9 Rename a couple of types to avoid clashes with a Mac header, sigh. 2023-04-28 13:38:16 +02:00
Serena
f87bfda8d3
fix open in folder on macOS, avoid spawning the open command to open URLs (#17342)
* fix open in folder on macOS, avoid spawning the open command to open URLs

* fix indent

* goober alert

* no more goober

* fix compiler failing on linux
2023-04-27 13:32:41 +00:00
Henrik Rydgård
4d4881fcde
Merge pull request #17340 from hrydgard/mac-translation-work
Mac translation work
2023-04-27 14:03:46 +02:00
Henrik Rydgård
1ba4ca3a09 Assorted Mac menu localization fixes 2023-04-27 13:38:28 +02:00
Henrik Rydgård
c19b22d894 Default to OpenGL on Intel Macs for safety 2023-04-27 13:38:17 +02:00
Henrik Rydgård
b333e2b306
Merge pull request #17338 from hrydgard/misc-fixes
Some fixes around popup lists and translations
2023-04-27 13:28:36 +02:00
Henrik Rydgård
ff2475b37f Add --reldebug to b.sh, useful when valgrinding 2023-04-27 12:06:35 +02:00
Henrik Rydgård
68be93467e Fix some checks around translation. 2023-04-27 12:05:11 +02:00
Henrik Rydgård
67aa951fec PopupMultiChoice: Don't range-check the int-value if being initialized from PopupMultiChoiceDynamic (valgrind) 2023-04-27 11:55:57 +02:00
Henrik Rydgård
26d0128896
Merge pull request #17332 from hrydgard/socom-texcoord-issue
Fix texcoord issue with SOCOM post effect
2023-04-27 08:41:28 +02:00
Henrik Rydgård
d43331e2c9
Merge pull request #17337 from Halo-Michael/master
Fix iOS build
2023-04-26 15:10:28 +02:00
Halo-Michael
941a10df4e
Fix iOS build 2023-04-26 19:25:48 +08:00
Henrik Rydgård
5fef404946
Merge pull request #17335 from hrydgard/vulkan-fast-forward-mac
Vulkan fastforward: Check the current presentation mode instead of the Vsync setting
2023-04-26 12:31:48 +02:00
Henrik Rydgård
42ce619705 Vulkan fastforward: Check the current presentation mode instead of the Vsync setting.
After 1.15, I'm gonna clean up the presentation mode/vsync management
across the code base. This works around #17308 for now.
2023-04-26 12:02:42 +02:00
Henrik Rydgård
2d2f23bd6c compat.ini: Add Infected to [ForceMax60FPS] 2023-04-26 11:35:26 +02:00
Henrik Rydgård
b3264f8eb5
Merge pull request #17334 from hrydgard/open-memstick-directory
Add "Open Memory Stick" to File menu on Mac
2023-04-26 11:02:31 +02:00
Henrik Rydgård
13c857210e Address feedback 2023-04-26 10:39:33 +02:00
Henrik Rydgård
eeaeb8b7cc Add "Open Memory Stick" to File menu on Mac 2023-04-26 10:18:04 +02:00
Henrik Rydgård
6274eb7cae Follow the intent of the game's lookups rather than the practice, to reduce banding. 2023-04-25 23:17:40 +02:00
Henrik Rydgård
484f2c5954 Fix texcoord issue with SOCOM post effect 2023-04-25 23:02:12 +02:00
Henrik Rydgård
c24f7eb084
Merge pull request #17331 from hrydgard/sdl-smooth-scrolling
SDL: Enable precise (smooth touchpad) scrolling.
2023-04-25 19:51:20 +02:00
Henrik Rydgård
0f107e102e SDL: Enable precise (smooth touchpad) scrolling.
Made possible by #17329
2023-04-25 18:56:48 +02:00
Henrik Rydgård
3d8d7a3ccb
Merge pull request #17329 from hrydgard/mac-sdl-upgrade
Upgrade SDL for Mac to latest, prepare for notarization
2023-04-25 18:38:10 +02:00
Henrik Rydgård
6332e61e26 Fix Gold filenames, more gold prep for mac 2023-04-25 18:17:01 +02:00
Henrik Rydgård
108c8cd26a Remove hardened requirement on the development code signing
When we do real releases, we override this signing anyway.
2023-04-25 16:34:00 +02:00
Henrik Rydgård
b125040944 git-version hack 2023-04-25 11:45:25 +02:00
Henrik Rydgård
dc6c30a825 rpath work 2023-04-25 11:45:25 +02:00
Henrik Rydgård
81ef230b56 Specify the executable in Info.plist directly (temp, should be injected) 2023-04-25 11:45:25 +02:00
Henrik Rydgård
b9267de215 Upgrade cpu_features submodule 2023-04-25 11:45:25 +02:00
Henrik Rydgård
5d028cb004 Upgrade SDL for Mac
This removes the option to use system SDL, which seems like a trap.

Also simplifies the macbundle.sh script accordingly.

Buildfix

Buildfix fix

Moar buildfix
2023-04-25 11:45:20 +02:00
Henrik Rydgård
22314f8cc7
Merge pull request #17328 from hrydgard/jit-memory-refactors
Some minor memory management refactoring
2023-04-24 13:07:49 +02:00
Henrik Rydgård
16b243b007 Centralize allocation of vertex decode buffers 2023-04-24 12:11:58 +02:00
Henrik Rydgård
321a112eff Rename SimpleBuf -> AlignedVector, use regular aligned memory instead of pages. 2023-04-24 12:04:34 +02:00