Commit Graph

36611 Commits

Author SHA1 Message Date
Henrik Rydgård
ee7e8d7c06 Add a unit test, fix listing zip directories 2023-05-02 11:35:45 +02:00
Henrik Rydgård
d10fae7274 Scan the root of loaded texture packs to find all the hash-named files. 2023-05-01 23:23:37 +02:00
Henrik Rydgård
35aff7eaf9 Fix logic in ZipFileReader file listing 2023-05-01 23:20:38 +02:00
Henrik Rydgård
8bb2643459 Minor: Move the "UI background animation" setting to be next to the other background settings. 2023-05-01 20:55:08 +02:00
Henrik Rydgård
b51ade9b4e
Merge pull request #17374 from hrydgard/crash-fixes
Assorted crash fixes and asserts
2023-05-01 14:19:51 +02:00
Henrik Rydgård
6468319599 Fix memory bug in memstick file copy routine 2023-05-01 13:56:35 +02:00
Henrik Rydgård
a43bdd8169 ReadSFO: Fix memory safety issues 2023-05-01 13:52:16 +02:00
Henrik Rydgård
2c35c351f2 Lock around plugin key data, don't set it unless a plugin is enabled 2023-05-01 12:56:27 +02:00
Henrik Rydgård
15a0474d40 NativeKey: Only update the HLEPlugins key map if any plugins are active. 2023-05-01 12:16:45 +02:00
Henrik Rydgård
7c420381d5 OpenGL: Some paranoia checks around failed shader generation 2023-05-01 12:11:34 +02:00
Henrik Rydgård
c1ede07a14 Add missing JNI context to reporting thread 2023-05-01 12:02:41 +02:00
Henrik Rydgård
d4249c1d73 OpenGL: Add an assert to catch a class of crash bugs early. Also assorted paranoia. 2023-05-01 11:56:26 +02:00
Henrik Rydgård
a41fc74dba Add a debug assert in VulkanPushPool 2023-05-01 11:41:25 +02:00
Henrik Rydgård
d83ad5e601
Merge pull request #17370 from hrydgard/scrollview-crash-fix
Fix ScrollView crash (though the root cause is a race condition most likely)
2023-05-01 10:55:49 +02:00
Henrik Rydgård
838ef03815 Fix ScrollView crash (though the root cause is a race condition most likely) 2023-05-01 10:37:30 +02:00
Henrik Rydgård
d3a143ecb6
Merge pull request #17369 from Narugakuruga/patch-21
Update zh_CN.ini for 1.15
2023-05-01 09:12:39 +02:00
Narugakuruga
bc3a9da78b
Update zh_CN.ini 2023-05-01 15:07:12 +08:00
Unknown W. Brackets
f11d035c29
Merge pull request #17366 from nekopsykose/int64
FileSystem: add missing <cstdint> header
2023-04-30 19:50:45 -07:00
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