Commit Graph

36593 Commits

Author SHA1 Message Date
psykose
ea0d5a2abc FileSystem: add missing <cstdint> header
needed for sized intXX_t types, fixes the build against gcc13
2023-05-01 04:26:42 +02:00
Henrik Rydgård
4a92275042 v1.15 2023-04-30 13:42:05 +02:00
Henrik Rydgård
ae7d97c61f Linkify the README.md 2023-04-30 13:30:36 +02:00
Henrik Rydgård
2c3884969d
Merge pull request #17361 from hrydgard/running-slow-false-positive
Fix wrong "game is running slow" warning on high-refresh-rate devices.
2023-04-30 11:33:32 +02:00
Henrik Rydgård
3800e88ecb Fix wrong "game is running slow" warning on high-refresh-rate devices. 2023-04-30 11:01:09 +02:00
Henrik Rydgård
efa167e2b4 Accept number format strings like "%i%%" (results in "30%" if i == 30).
Fallout from #17349
2023-04-30 10:40:32 +02:00
Henrik Rydgård
fcb394398f
Merge pull request #17360 from hrydgard/mac-fixes
Mac menu fixes
2023-04-30 10:30:20 +02:00
Henrik Rydgård
07b2828924
Merge pull request #17359 from hrydgard/integer-scale-factor-fix
Less broken behavior with integer scale factor + auto render resolution
2023-04-30 10:19:41 +02:00
Henrik Rydgård
02880d7d7d Less broken behavior with integer scale factor + auto render resolution
Unfortunately these don't make the same decision (integer scale factor
tries to make sure the whole image can fit in the window, while auto
render resolution is glad to step up a level), but at least the user is
not faces with a black screen.

Not sure what's actually the best thing here, possibly this case should
be disallowed somehow.
2023-04-30 10:18:47 +02:00
Henrik Rydgård
236a7d6761 Mac: Disable/enable items in the debug menu, correctly invert BreakOnLoad <-> bAutoRun 2023-04-30 10:07:42 +02:00
Henrik Rydgård
3d477003c4 Fix issue where if Break on Load was set, we'd crash once we started running in a few games 2023-04-30 10:06:43 +02:00
Henrik Rydgård
6459f750e2
Merge pull request #17304 from hrydgard/readme-1.15
Update README.md for 1.15
2023-04-30 01:14:18 +02:00
Henrik Rydgård
a7a4853d34 Add a couple more changes to the README 2023-04-30 01:13:40 +02:00
Unknown W. Brackets
1045088ea1 README: Minor cleanup to 1.15 notes. 2023-04-30 01:13:40 +02:00
Henrik Rydgård
af9c16ddab Update README.md for 1.15 2023-04-30 01:13:40 +02:00
Unknown W. Brackets
25668fe4d2
Merge pull request #17358 from hrydgard/fix-xperia-play
Don't use the cpu_features library on Android arm32.
2023-04-29 15:18:29 -07:00
Henrik Rydgård
e0a67c7703 Don't use the cpu_features library on Android arm32.
Unbreaks Xperia Play, yay.

Also bumps the compile tools version in the gradle, unrelated but
doesn't hurt.
2023-04-29 23:54:47 +02: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