Commit Graph

36593 Commits

Author SHA1 Message Date
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
Henrik Rydgård
f45a7cf06b Some semantic cleanup 2023-04-24 12:04:34 +02:00
Henrik Rydgård
7a75119ed0 Split out the Windows version of AllocateExecutableMemory 2023-04-24 12:04:27 +02:00
Henrik Rydgård
a040985af0 macOS: Add new macOS directory, and an Entitlements.plist file. Part of notarization work. 2023-04-24 10:51:35 +02:00
Henrik Rydgård
ccb8276fc8
Merge pull request #17326 from SerenaKit/serena/about-menu-native
Native 'About' panel
2023-04-23 21:29:36 +02:00
Henrik Rydgård
268dd6d8b7
Merge pull request #17325 from unknownbrackets/gpu-minor
Avoid shader error for uint with GLSL 1.2
2023-04-23 21:16:55 +02:00
Serena
0830eb51fc Native 'About' panel 2023-04-23 22:12:15 +03:00
Unknown W. Brackets
58abc7a154 GLES: Avoid shader error for uint with GLSL 1.2. 2023-04-23 09:49:24 -07:00
Henrik Rydgård
09c3c64381
Merge pull request #17322 from SerenaKit/serena/recognized-types-and-debug-nsmenu
Recognized types and Debug NSMenu for OS X
2023-04-23 15:14:43 +02:00
Serena
bd3ae4b074 Escape string stuff, com -> org 2023-04-23 15:54:01 +03:00
Serena
b52035f6df
Merge branch 'hrydgard:master' into serena/recognized-types-and-debug-nsmenu 2023-04-23 15:48:44 +03:00
Henrik Rydgård
5e408bbd80
Merge pull request #17323 from hrydgard/unescape-menu-string
Add function UnescapeMenuString
2023-04-23 14:47:11 +02:00
Henrik Rydgård
4ed634383f If there are multiple escapes, pick the first. 2023-04-23 14:42:36 +02:00
Henrik Rydgård
91d4ded3fd Add function UnescapeMenuString
Turns E&dit into Edit and 'd'. Double ampersands are translated to just a single one,
hence the unescaping part of this.

Useful in the Mac port to deal with desktop UI translation strings with included
Windows hotkeys.
2023-04-23 14:37:09 +02:00
Serena
a0d0aff865 woopsie 2023-04-22 18:12:42 +03:00
Serena
a71ec1acdf Recognize openable types in Info.plist, debug menu in top bar 2023-04-22 18:11:06 +03:00
Henrik Rydgård
4e754a2ee7
Merge pull request #17321 from hrydgard/fix-save-textures-content-uri
Fix an oversight when saving replacement textures on scoped storage
2023-04-22 00:14:22 +02:00
Henrik Rydgård
ef5abac1d3 Fix an oversight when saving replacement textures on scoped storage
We ended up not properly mangling the filename when changing extensions
if the file URI is an Android content URI.

Fixes #17320
2023-04-22 00:05:07 +02:00
Henrik Rydgård
3d7e73a37a
Merge pull request #17318 from hrydgard/osk-keyboard-cleanup
PSPOskDialog: Add range check on keyboard layouts
2023-04-21 09:34:45 +02:00
Henrik Rydgård
4a2a9830a6 PSPOskDialog: Add sanity check.
Also shrinks some arrays.

Fixes #17313

(We really should somehow get rid of marking this file as binary in
.gitattributes).
2023-04-21 09:12:06 +02:00
Henrik Rydgård
6df907112a
Merge pull request #17317 from hrydgard/fix-socom-nightvision
Fix night vision in SOCOM games (in fact, fix the CLUT8 effect properly)
2023-04-21 00:38:13 +02:00
Henrik Rydgård
c70b71f945 Fix night vision in D3D9/ES2 as well. 2023-04-21 00:05:27 +02:00
Henrik Rydgård
913c460fe0 Fix night vision in SOCOM games (in fact, fix the CLUT8 effect properly)
I failed to notice that when doing the shift to apply the "texel offset"
translating CLUT8 to a CLUT16 lookup, we also need to shift the mask
used to choose color components to read.
2023-04-20 23:46:45 +02:00
Henrik Rydgård
baa066c7b7
Merge pull request #17311 from hrydgard/resurrect-axis-swap
Resurrect and refactor the AxisSwap feature
2023-04-20 11:19:22 +02:00
Henrik Rydgård
4bb7c05132 Remove some unnecessary state clearing 2023-04-20 11:00:19 +02:00
Henrik Rydgård
7594ae8785 Resurrect and refactor the AxisSwap feature. Fixes #17292 2023-04-20 10:53:11 +02:00
Henrik Rydgård
eeedc817e2
Merge pull request #17316 from hrydgard/socom-fix-d3d9
Apply the SOCOM fix to D3D9/ES2 depal shaders too
2023-04-20 10:51:50 +02:00
Henrik Rydgård
db13fa6e66 Apply the SOCOM fix to D3D9/ES2 depal shaders too 2023-04-20 10:10:26 +02:00
Henrik Rydgård
0d20da65d0
Merge pull request #17314 from unknownbrackets/framebuf-shrink
GPU: Always update size when shrinking framebuffers
2023-04-20 09:31:37 +02:00
Unknown W. Brackets
42bd06a586
Merge pull request #17315 from hrydgard/remove-first-frame-readback-flag
Remove "disable first frame readback" compat flag from SOCOM games.
2023-04-20 00:22:47 -07:00
Henrik Rydgård
6c1647a174 Remove "disable first frame readback" compat flag from SOCOM games.
The CLUT8 fix for #16210 takes care of this.
2023-04-20 09:03:12 +02:00
Unknown W. Brackets
b4d55713cb GPU: Always update size when shrinking.
Previously, we only updated size when we didn't need to recreate.
This would sometimes cause it to recreate over and over, hurting perf.
2023-04-19 23:42:02 -07:00
Henrik Rydgård
ef092c3a42
Merge pull request #17312 from hrydgard/show-present-mode
List Vulkan present modes in system info, show the current one
2023-04-20 00:50:13 +02:00
Henrik Rydgård
6146bb46e8
Merge pull request #17301 from fp64/unified-bicubic-upscale
Unified bicubic upscaler
2023-04-20 00:49:44 +02:00
Henrik Rydgård
c81ec8c74d List Vulkan present modes in system info, show the current one 2023-04-20 00:21:06 +02:00