Commit Graph

2191 Commits

Author SHA1 Message Date
Henrik Rydgård
2f5f9df620 Customize the cmake build. Android now builds that way too. Fixes.
Hack around build error

port the last fix to Android.mk

One more attempt

Warning fixes

Oops, forgot a slash
2023-09-29 10:16:47 +02:00
Henrik Rydgård
e89396b652 Add UWP project 2023-09-29 10:16:47 +02:00
Henrik Rydgård
1f53d8a9a2 Hook up libchdr to CMakeLists.txt, Android.mk fix 2023-09-29 10:16:47 +02:00
Henrik Rydgård
ade64171ce Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Henrik Rydgård
be658f8f4e Update the rcheevos submodule
This is the RetroAchievements code, which has recently received some
fixes we want.
2023-09-19 17:38:47 +02:00
Henrik Rydgård
1962e984ed Upgrade naett to latest - should fix some memleaks
Also seems to remove a max delay - might help the slowdown I was
experiencing on Linux.
2023-09-18 01:07:43 +02:00
Henrik Rydgård
416f4239e1 Move the HAVE_SYSCTLBYNAME definition out of X86, remove the previous workaround 2023-09-03 15:19:02 +02:00
Henrik Rydgård
7941753105 Update ext/cmake/cpu_features/CMakeLists.txt with new changes 2023-09-03 15:16:18 +02:00
Henrik Rydgård
cb222f77e4 Bump the cpu_features submodule to latest 2023-09-03 14:02:53 +02:00
Henrik Rydgård
b637a9c42e Upgrade rcheevos to latest
The timer issue has been fixed upstream. Hopefully nothing will regress on
32-bit Android this time.

See #17631
2023-08-28 14:09:46 +02:00
Henrik Rydgård
f1e88f0c02 Update Vulkan headers 2023-08-23 08:37:13 +02:00
Henrik Rydgård
45ed7fd32d Remove unused file 2023-08-23 08:36:41 +02:00
Bashar Astifan
07c119a80c Merge branch 'master' of https://github.com/hrydgard/ppsspp 2023-08-14 02:45:28 +04:00
Unknown W. Brackets
71fcc4a658 riscv: Fix disassembly of ra-relative jump. 2023-08-12 09:53:38 -07:00
Henrik Rydgård
bf2ec90f64
Merge pull request #17865 from hrydgard/upgrade-molten-vk
Mac: Update MoltenVK to version from the latest SDK
2023-08-08 16:34:38 +02:00
Henrik Rydgård
ac269aaa4b rcheevos: revert to before #17806
PR #17806 upgraded rcheevos, after which a regression is reported in
issue #17631.

Experimentally revert to confirm.
2023-08-08 15:38:22 +02:00
Henrik Rydgård
97a0acf6d0 Mac: Update MoltenVK to version from the latest SDK 2023-08-08 11:58:33 +02:00
Henrik Rydgård
e15c45d9ea Bump naett to latest upstream.
See #17583
2023-08-02 19:20:57 +02:00
Henrik Rydgård
9a8919810b Translation cleanups 2023-08-01 13:04:52 +02:00
Bashar Astifan
401377818c
Merge branch 'master' into master 2023-08-01 05:29:56 +04:00
Henrik Rydgård
cf97038a2d Switch the naett submodule back to the upstream repo
All my PRs are in now.
2023-07-31 23:33:24 +02:00
Unknown W. Brackets
0d0029fc9d riscv: Add bitmanip ops to disasm. 2023-07-30 17:45:36 -07:00
Henrik Rydgård
1c05f71b50 Update to the latest version of rcheevos. 2023-07-30 11:58:55 +02:00
Henrik Rydgård
ce45c943be Bump naett with fix for build problem on newer NDK
See #17583
2023-07-26 07:28:25 +02:00
Henrik Rydgård
79cd1b9583 Bump naett 2023-07-23 12:10:22 +02:00
Henrik Rydgård
c17a559188 Update to a patched naett with PRs #18 and #17 2023-07-21 18:23:31 +02:00
Henrik Rydgård
ab6e902fea Make naett work on Android, UWP, Mac. Exclude on Linux 2023-07-21 10:28:31 +02:00
Henrik Rydgård
010c58231b Fix cmake build 2023-07-21 10:27:40 +02:00
Henrik Rydgård
7ae34f148a Setup build for naett - a lightweight https wrapper 2023-07-21 10:27:40 +02:00
Bashar Astifan
a35c8425e6
Merge branch 'master' into master 2023-07-17 23:20:52 +04:00
Henrik Rydgård
6125e88705 Update to the newest rcheevos. Should solve the issue with the missing leaderboard text 2023-07-17 00:55:29 +02:00
Unknown W. Brackets
112d0adde9 Windows: Normalize rcheevos build settings.
Gets rid of a LTCG restart warning, which in previous tests has not really
helped us anyway.  Better to keep projects consistent.
2023-07-16 10:47:43 -07:00
Henrik Rydgård
a259ed1835 Switch back to rcheevos' upstream version 2023-07-16 17:05:08 +02:00
Henrik Rydgård
0ae2f5ccbf Fix file filters in Mac file-open dialogs 2023-07-16 15:22:04 +02:00
Henrik Rydgård
aa4264a192 RetroAchievements: Better handling of not being online when trying to log in 2023-07-13 11:26:43 +02:00
Henrik Rydgård
830679503d Update rcheevos with a crashfix (don't try different hashes if it fails)
We deallocate the block device after the first attempt, so..
2023-07-12 15:38:41 +02:00
Henrik Rydgård
ba61b495c5 Bump rcheevos to a fork with two important bugfixes (access invalidation, buffer overflow) 2023-07-11 16:33:52 +02:00
Henrik Rydgård
d0b42705a0 Switch over to rc-client 2023-07-08 18:59:37 +02:00
Henrik Rydgård
e4229886b7
Merge pull request #17636 from lvonasek/review_openxr
OpenXR - Major review
2023-06-27 20:07:42 +02:00
Henrik Rydgård
b8bc5c922f
Merge pull request #17633 from m4xw/ext
[CMake] ext related CMake changes for Nintendo Switch
2023-06-27 17:44:37 +02:00
M4xw
f5d2d0a5c4 [CMake] ext related CMake changes for Nintendo Switch
Only accounting for committed files
2023-06-27 17:19:29 +02:00
Lubos
f46c29fde3 OpenXR - Runtimes updated 2023-06-26 17:26:27 +02:00
Henrik Rydgård
01dda6cb7c Final Android.mk fix hopefully. 2023-06-26 10:01:41 +02:00
Henrik Rydgård
07e6543f6b Windows for ARM configuration fixes, Android.mk fix 2023-06-26 10:01:41 +02:00
Henrik Rydgård
8beca03e7e MacOSX buildfixes 2023-06-26 10:01:41 +02:00
Henrik Rydgård
84e9a85e0f Things link now. Let's see if it works.. 2023-06-26 10:01:40 +02:00
Henrik Rydgård
c0f0c05417 rcheevos initial build setup and basic scaffolding 2023-06-26 10:01:40 +02:00
Henrik Rydgård
688042c036 Unrelated warning fix 2023-06-04 23:02:34 +02:00
Bashar Astifan
9b0577351f Review's changes, more fixes and better structure 2023-05-02 00:09:22 +04:00
Bashar Astifan
05776ee6af Major update 2023-04-30 08:54:54 +04:00
Unknown W. Brackets
bab2461a48 Windows: Use cpu_features on arm64.
It's now supported.
2023-04-29 10:59:32 -07:00
Bashar Astifan
d0b6935592 UWP Improved Support 2023-04-28 23:22:17 +04:00
Henrik Rydgård
b9267de215 Upgrade cpu_features submodule 2023-04-25 11:45:25 +02:00
Henrik Rydgård
a80d1c91da Update zstd to 1.5.5
See https://github.com/facebook/zstd/releases/tag/v1.5.5
2023-04-05 22:20:51 +02:00
Andreas Stieger
822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +02:00
Henrik Rydgård
221d2f7eb5 RequestManager: Add a separate callback for failures. Separate because we usually don't need it, except Osk. 2023-03-25 18:49:23 +01:00
Henrik Rydgård
9cf7870ffa host nullchecks 2023-03-25 11:06:47 +01:00
Unknown W. Brackets
3a9e66ab60 Build: Unrevert glslang update.
Revert unintentional rollback in 47f06355, reapplying 858675e4.
2023-03-22 22:54:24 -07:00
Henrik Rydgård
47f063550a Remove InitGraphics/ShutdownGraphics from Host, except for headless 2023-03-21 22:47:20 +01:00
Henrik Rydgård
858675e43e Update glslang to latest 2023-03-21 09:30:43 +01:00
Henrik Rydgård
4e4209c630 Include zstd as a system header from basis_universal.
Fixes #17133
2023-03-16 14:59:18 +01:00
Henrik Rydgård
93bf82a906 Add KTX2 basis/UASTC texture transcoding support 2023-03-14 11:55:21 +01:00
Henrik Rydgård
32e8ab3b5d Import all of basisu_transcoder, set up build 2023-03-13 12:37:43 +01:00
Lubos
f24026d163 OpenXR - Increase foveation level 2023-03-09 21:04:30 +01:00
Unknown W. Brackets
0981c28224 Build: Skip install of list_cpu_features. 2023-02-26 15:58:40 -08:00
Unknown W. Brackets
c062b78b55 Build: Cleanup some MSVC optimization settings. 2023-02-26 11:27:46 -08:00
Unknown W. Brackets
0943bebc48 Build: Fix an MSVC warning, normalize a bit. 2023-02-26 11:25:54 -08:00
Henrik Rydgård
0cb051a37f Update SPIRV-Cross to a version that builds in debug mode on the latest VS.
The old bug that used to cause a warning now fails outright, so the
upgrade is necessary.
2023-02-24 22:45:49 +01:00
Henrik Rydgård
66bd9cde14 Revert accidental armips change 2023-02-11 19:39:25 +01:00
Henrik Rydgård
d65dae7185 Depth scale functions: Clean up the naming, add a failing test 2023-02-10 14:57:45 +01:00
Lubos
abf76bd212 OpenXR - One APK for both Pico and Quest 2023-02-08 17:26:36 +01:00
Eric Warmenhoven
560d6f3b7c Another libretro mac build fix 2023-02-01 12:19:02 -08:00
Eric Warmenhoven
a715462b0f Update to latest armips, with build fix for libretro mac 2023-02-01 09:23:41 -08:00
Henrik Rydgård
891df6c0c4 Update Vulkan headers to SDK 1.3.239 2023-01-30 18:55:49 +01:00
Unknown W. Brackets
489411359e Common: Add cpu_features library. 2023-01-29 14:35:58 -08:00
Lubos
5491a05796 OpenXR - Enable level 5 CPU/GPU performance on Quest 2 2023-01-20 14:40:09 +01:00
Henrik Rydgård
c76c09c1f3
Merge pull request #16669 from unknownbrackets/vulkan-update
Update Vulkan headers and SPIRV-Cross
2023-01-04 10:11:57 +01:00
Henrik Rydgård
650390d146
Merge pull request #16668 from unknownbrackets/glslang
Build: Update to glslang v11.13.0, use upstream
2023-01-04 10:06:49 +01:00
Unknown W. Brackets
87aa4e127c Build: Update to glslang v11.13.0, use upstream.
This switches the submodule origin.
2023-01-01 10:28:53 -08:00
Unknown W. Brackets
77849d3eed riscv: Add disassembler.
From https://github.com/anthony-coulter/riscv-disassembler.
Modified slightly to pull in less headers in the h, prefix funcs.
2023-01-01 10:28:53 -08:00
Unknown W. Brackets
3ce2c4b380 Vulkan: Update headers to 1.3.236. 2023-01-01 10:21:17 -08:00
Unknown W. Brackets
9434df1968 Build: Update to SPIRV-Cross sdk-1.3.236.0. 2023-01-01 10:21:16 -08:00
Unknown W. Brackets
15908856dd Build: Cleanup MSVC project files.
Remove some files that don't exist anymore, add some other platform
files for convenience.
2022-12-19 10:13:43 -08:00
Unknown W. Brackets
21332c677b Build: Allow compiling without armips. 2022-12-17 10:08:46 -08:00
Lubos
8ff1156c04 OpenXR - SDK updated 2022-12-07 21:19:33 +01:00
Unknown W. Brackets
6c6133a3c1 Build: Get rid of legacy zstd support.
This refers to old versions of zstd we never used, and the code also
generates warnings when it's built.
2022-12-04 08:14:30 -08:00
Unknown W. Brackets
c89823ce92 Replacement: Allow use of textures.zip for Android.
Will work on all platforms, but intended for situations like Android where
random access to files on storage is horribly slow.
2022-10-30 10:57:41 -07:00
Unknown W. Brackets
485249a83e Windows: Avoid compile param conflict warning. 2022-10-29 12:52:24 -07:00
Unknown W. Brackets
79d53552a5 armips: Update to latest. 2022-10-29 09:02:12 -07:00
Unknown W. Brackets
2b884de585 armips: Use native std::filesystem on Windows/UWP. 2022-10-01 08:13:57 -07:00
Unknown W. Brackets
559fdd167f armips: Also update UWP and ARM64, etc. 2022-09-30 20:16:34 -07:00
Unknown W. Brackets
ac335ad61a armips: Update to UTF-8/c++17 armips. 2022-09-30 19:48:14 -07:00
Unknown W. Brackets
faf7fc7aea Build: Update zstd to latest dev.
Fixes attribute issue in newer c++ standards.
2022-09-30 19:31:06 -07:00
Unknown W. Brackets
c49b91c62b armips: Update to latest. 2022-09-30 17:47:43 -07:00
Henrik Rydgård
ef7900fc7a
Merge pull request #16128 from lvonasek/docs-openxr-readme
OpenXR - SDK readme
2022-09-28 16:43:32 +02:00
Luboš Vonásek
088272c0c4
Update README.md 2022-09-28 16:24:26 +02:00
Lubos
d2de89e778 OpenXR - Add README.md about the SDK 2022-09-28 16:22:59 +02:00
Lubos
60871eeac5 OpenXR - Initialize Pico subsystems 2022-09-24 22:39:07 +02:00
Lubos
1fdbde8ee9 OpenXR - Support multiple loaders 2022-09-24 22:11:08 +02:00
Unknown W. Brackets
3c9f63e297 Vulkan: Update to latest VMA. 2022-09-04 23:54:15 -07:00
Unknown W. Brackets
d3501d0a7c Build: Update xxhash to v0.8.1. 2022-09-04 23:54:14 -07:00
Unknown W. Brackets
18c2b04e7a Build: Update to zstd v1.5.3.
Untagged, so using latest as of now.  Has perf improvements.
2022-09-04 23:54:14 -07:00
Henrik Rydgård
2bb845a0ca VS 2022 warning fix 2022-09-03 15:21:08 +02:00
Unknown W. Brackets
09b7a62666 libpng: Correct func pointer type warning. 2022-08-13 12:43:14 -07:00
Lubos
d109e7c1d7 Merge branch 'master' into feature_openxr_quest 2022-07-12 18:54:47 +02:00
Lubos
9893e5c4ab OpenXR - VR mode initialization added 2022-07-08 14:44:20 +02:00
Lubos
99a4a06286 OpenXR - SDK added 2022-07-07 17:39:17 +02:00
tunip3
42ae18eea5
Replace Win32 file IO with UWP safe variants and add support for getting drives to UWP build (#15652)
* replace, all win32 file io with their matching uwp safe variants

* add support for drive listing

* Delete NATIVEAPP.ipch

* Update .gitignore

* fix indentation
2022-07-06 23:59:47 +02:00
Linblow
7c18adbdc6 libkirk: Set Segher Boessenkool's original copyright notice 2022-05-03 00:08:05 +02:00
Henrik Rydgård
e52f9373ee Bump vulkan headers to SDK 1.3.211 2022-05-01 00:23:29 +02:00
Henrik Rydgård
14000a562a Also delete vulkan_funcs.hpp, oops 2022-02-20 21:28:01 +01:00
Henrik Rydgård
68160a1a77 Upgrade to Vulkan 1.3 headers (and remove the .hpp files) 2022-02-19 20:41:04 +01:00
Henrik Rydgård
e1ff73061a
Merge pull request #15223 from hrydgard/multi-atlas
Split off the fonts from the atlas
2021-12-12 09:10:27 +01:00
Unknown W. Brackets
63e623ecb2 Build: Fix some format truncation warnings.
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
Henrik Rydgård
d4237fd542 Split the atlas into three, well two, but two different cases for the fonts.
Platforms that can use OS fonts don't need font_atlas.zim but they do
need ascii font for debug, so does use asciifont_atlas.zim.
2021-12-10 23:22:08 +01:00
Henrik Rydgård
434fa0f072
Merge pull request #15183 from orbea/spirv-cross-build
ext/SPIRV-Cross-build: Update cmake version
2021-11-30 18:03:29 +01:00
Henrik Rydgård
0ffc4286c7
Merge pull request #15185 from CarterLi/master
CMake: Allow use system miniUPnPc and ( on macOS ) system glew
2021-11-30 09:04:40 +01:00
李通洲
fee3b71449 ext: Update vulkan headers 2021-11-30 15:04:44 +08:00
李通洲
0c3c89a093 ext: Allow use system glew with system ffmpeg (macOS) 2021-11-30 14:40:32 +08:00
orbea
dd795605cf ext/SPIRV-Cross-build: Update cmake version
This matches the upstream SPIRV-Cross CMakeLists.txt.

Also silences a warning.

CMake Deprecation Warning at ext/SPIRV-Cross-build/CMakeLists.txt:15 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
2021-11-29 08:24:35 -08:00
Henrik Rydgård
8f29d9542c Buildfixes 2021-11-22 19:53:00 +01:00
Henrik Rydgård
eceb691f92 Add VMA to ext/ (AMD's Vulkan Memory Allocator) 2021-11-22 18:54:08 +01:00
IncognitoMan
ea2a77d41c
Fix zimtool compilation. 2021-11-03 12:23:57 -04:00
李通洲
63966cb7a7 Build: allow using system zstd library 2021-10-29 10:28:56 +08:00
iota97
3534df0d5e Fix atlas tool on linux 2021-09-17 15:13:35 +02:00
Halo-Michael
8f60d99cd9 Update libMoltenVK.dylib to support M1 chips 2021-09-12 22:56:20 +03:00
Unknown W. Brackets
8c08518617 gason: Allow tagged pointers. 2021-08-22 11:25:24 -07:00
Unknown W. Brackets
cc04523985 libpng: Patch out 100% opaque optimization.
This optimization seems to work fine if you want RGB, but if you want
RGBA, it forgets to add the fixed values back.

See #14628.
2021-08-08 12:24:37 -07:00
Henrik Rydgård
6daa18cca0 Hack around #14628. The icon is distorted but at least no crash.
Seems like a clear bug in libpng.
2021-07-19 17:09:26 +02:00
Henrik Rydgård
3737daaf0c Address more feedback, warning fix 2021-06-07 00:26:26 +02:00
Unknown W. Brackets
2363b39ed5 Tools: Correct AtlasTool in release builds. 2021-06-02 22:21:41 -07:00
Henrik Rydgård
8d08991ad6
Merge pull request #14467 from unknownbrackets/texreplace-zim
Add support for ZIMs in texture replacements
2021-05-24 07:33:54 +02:00
Unknown W. Brackets
8eb773888f Update to libpng v1.7.0beta90.
Previously at 1.7.0beta35.
2021-05-16 11:32:17 -07:00
Unknown W. Brackets
f6a1ffdd14 Update zstd to 1.5.0.
This improves GE frame dump compression speed and ZIM load speed.
2021-05-16 11:15:24 -07:00
Unknown W. Brackets
7afd02e7e0 Tools: Make ZimTool able to use ZSTD/specify level.
There's decompression speed tradeoffs at some levels.
2021-05-16 09:39:39 -07:00
Unknown W. Brackets
ba4fb398ca UWP: Order includes, avoid file attrs to buildfix.
Not sure why CREATEFILE2_EXTENDED_PARAMETERS isn't being found.
2021-05-09 21:56:34 -07:00
Unknown W. Brackets
18a51b8e97 Update libzip to 1.7.3. 2021-05-09 20:45:53 -07:00
Henrik Rydgård
eb07a3e111 Buildfixes 2021-04-18 00:34:18 +02:00
Henrik Rydgård
87216bcd8b Update our miniupnp fork to upstream.
Should take care of #14386
2021-04-18 00:19:46 +02:00
Unknown W. Brackets
08eda131c4 UI: Load/save compressed atlas metadata. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
a0887401a6 UI: Add zstd to ZIM compression handling. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
d3e2aa6d28 Build: Add libzstd to build. 2021-04-11 09:13:10 -07:00
Henrik Rydgård
35c02c8012 Disable spvremapper from glslang by default, we don't use it.
May partially help #14351
2021-04-05 18:31:25 +02:00
Unknown W. Brackets
4178f09e57 Build: More consistently avoid _M_ defines.
We use PPSSPP_ARCH in several places already, this makes it more complete.
2021-03-02 21:49:21 -08:00
Unknown W. Brackets
d9aecffd72 Build: Remove old ARM define. 2021-03-02 21:26:03 -08:00
Unknown W. Brackets
5119d79082 Build: Remove IOS define. 2021-03-02 21:04:03 -08:00
Henrik Rydgård
5d4d8ab418
Merge pull request #14217 from unknownbrackets/snappy-update
SaveState: Fix Snappy build error on older clang
2021-02-24 16:42:49 +01:00
Unknown W. Brackets
2a04b630ba SaveState: Fix Snappy build error on older clang. 2021-02-24 07:33:09 -08:00
Unknown W. Brackets
d731a5f498 GPU: Update SPIRV-Cross to 2021-01-15. 2021-02-23 17:55:24 -08:00
Unknown W. Brackets
75cf583d81 SaveState: Avoid some warnings in Snappy. 2021-02-22 22:48:06 -08:00