Commit graph

318 commits

Author SHA1 Message Date
Stenzek 5b980dafa5 System: Refactor main loop
Reduces JIT exits.
Improves runahead performance.
2023-08-16 01:13:00 +10:00
Stenzek 4ebd34fcb3 MSBuild: Use project referencing instead of .lib linking 2023-08-16 01:12:59 +10:00
Stenzek 827446b27f Build: Switch to Qt 6.5.0 on Windows 2023-08-16 01:12:59 +10:00
Stenzek 68eb32f963 dep/reshadefx: Fix building on MacOS/Linux 2023-08-16 01:12:59 +10:00
Stenzek 8c638b4c78 dep: Add reshadefx 2023-08-16 01:12:58 +10:00
Stenzek c01f249e0f dep: Update Vulkan headers 2023-08-15 23:51:39 +10:00
Stenzek 590baba2ef dep: Add D3D12MA 2023-08-15 23:51:32 +10:00
Stenzek 1b486d3f42 dep: Add WinPixEventRuntime 2023-08-15 23:51:09 +10:00
Stenzek b42f4a3b85 dep: Add SPIRV-Cross 2023-08-15 23:50:58 +10:00
Stenzek 49a4901c78 dep: Add biscuit and riscv-disas 2023-08-15 14:06:00 +10:00
Stenzek c561400a47 dep: Add Zydis 2023-08-15 14:03:59 +10:00
Stenzek f41384c6c8 dep/libchdr: Add chd_is_matching_parent() 2023-08-12 14:46:09 +10:00
Stenzek bd1cf91030 dep/libchdr: Add option to transfer file ownership 2023-08-12 14:46:09 +10:00
Stenzek 62c5e3af2f dep/libchdr: Add read_header variants for user-provided file 2023-08-12 14:46:09 +10:00
Stenzek 06a8349162 dep/libchdr: Re-add progress precaching 2023-08-12 14:46:09 +10:00
Stenzek 4b70853daa dep: Bump libchdr to 54bfb87 2023-08-12 14:46:09 +10:00
Stenzek 5d750a8803 dep: Bump rcheevos to 3af1e2fc5188d6e932ee379942f4049ea877e648 2023-08-09 19:42:52 +10:00
Stenzek d84a02a2c3 CMake: Build tweaks 2023-02-05 13:12:45 +10:00
Connor McLaughlin 81383afc50 dep: Add fast_float 2023-01-15 15:13:54 +10:00
Connor McLaughlin 9c41126298 dep: Add GSL 4.0.0 2023-01-07 13:10:43 +10:00
Connor McLaughlin 899efb2bdc MSBuild: Use MultiToolTask mode 2022-11-19 14:49:08 +10:00
Connor McLaughlin fd807b14aa dep: Update SDL2 to 2.24.2 2022-11-10 18:55:32 +10:00
Connor McLaughlin 56293e4d8f 3rdparty: Add vk_mem_alloc 2022-09-26 20:42:49 +10:00
Connor McLaughlin 91c8681bed dep/imgui: Round when DPI scaling instead of flooring 2022-09-17 15:56:05 +10:00
Connor McLaughlin c27026aed5 dep: Add cpuinfo 2022-09-13 17:50:42 +10:00
Connor McLaughlin dde2f6cd68 dep/imgui: Reapply 89eda96cef 2022-09-13 17:50:42 +10:00
Connor McLaughlin ccaad874a9 dep/rcheevos: Update to 31f8788 2022-08-22 19:57:05 +10:00
Connor McLaughlin 7bbacd2392 Misc: Remove unused code 2022-08-22 19:55:38 +10:00
Connor McLaughlin 43869bf74c dep: Update RAInterface 2022-08-22 19:33:00 +10:00
Connor McLaughlin 4c2906fb72 dep/soundtouch: Export main class on Android 2022-08-22 19:31:46 +10:00
Connor McLaughlin 2de402b2db Build: Add missing sln dependency 2022-08-18 23:24:57 +10:00
Connor McLaughlin fc770c83e8 dep: Add zstd 2022-08-18 23:10:15 +10:00
Connor McLaughlin 4025350457 dep/cubeb: Fix building without doxygen installed 2022-08-10 18:14:59 +10:00
Connor McLaughlin 1fb075adf9 dep/soundtouch: Disable exceptions 2022-08-10 13:41:13 +10:00
Connor McLaughlin 58cc3efa7f vsprops: Simplify conditions 2022-08-10 13:41:13 +10:00
Connor McLaughlin 3cc020069b dep/cubeb: Linux build fix 2022-08-05 22:02:00 +10:00
Connor McLaughlin 609b050676 dep/cubeb: Add cubeb_get_backend_names() 2022-08-05 17:50:18 +10:00
Connor McLaughlin 8f45bf7f27 dep/cubeb: Update to dc511c6 2022-08-05 17:43:27 +10:00
Connor McLaughlin ea65c0970c FrontendCommon: Drop SDL2 audio output 2022-08-04 21:34:16 +10:00
Connor McLaughlin d674014e30 CMake: Enable cross-compiling for macos arm64 on x86 2022-07-31 16:57:14 +10:00
Connor McLaughlin f6ff7e48c1 Build: Fix compiling for arm64/linux 2022-07-28 22:38:08 +10:00
Connor McLaughlin 1625908847 dep: Remove libsamplerate 2022-07-28 22:10:47 +10:00
Connor McLaughlin f54e32ff01 dep: Add soundtouch 2022-07-28 22:10:47 +10:00
Connor McLaughlin 25c52f97d4 CMake: Include Vulkan headers 2022-07-25 01:06:24 +10:00
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 2022-07-22 21:19:54 +10:00
Connor McLaughlin 3fb61865e5 dep/rcheevos: Update to 0181d02 2022-07-21 17:29:58 +10:00
Connor McLaughlin 0c0bd4c995 dep: Update imgui to v1.88 2022-07-21 17:29:58 +10:00
Connor McLaughlin f89529015c dep: Move Vulkan loader to common 2022-07-21 17:29:57 +10:00
Connor McLaughlin d81e156a29 dep: Add build config for fmt 2022-07-21 17:29:57 +10:00
Connor McLaughlin 830f097aad dep: Add fmt 9.0.0 2022-07-21 17:29:57 +10:00
Connor McLaughlin 9a5ef2d0a2 Cheevos: Add RAIntergration support 2022-04-18 19:13:33 +10:00
Connor McLaughlin e45c7fd1f7 dep/libchdr: arm64 compile fix on MSVC 2022-04-03 21:38:55 +10:00
Connor McLaughlin ec9411c0a7 dep/libchdr: Add chd_precache_progress()
Alternative which reports back as the file is read.
2022-04-03 21:09:36 +10:00
Connor McLaughlin bceca040d9 dep/libchdr: Remove libFLAC dependency 2022-04-03 21:09:36 +10:00
Connor McLaughlin 6b8486674f dep/libchdr: Update to a03e693 2022-04-03 20:29:44 +10:00
Connor McLaughlin 3c2d5ae508 dep/vixl: Fix compilation under MSVC2022 2022-03-27 17:38:48 +10:00
Connor McLaughlin 4c4e62cee6 dep: Update rcheevos to 0e9eb7c 2022-03-27 16:59:02 +10:00
Connor McLaughlin c43df29abc ImGuiFullscreen: Move to core 2022-03-27 16:59:02 +10:00
Connor McLaughlin ad26d352d3 vsprops: Update to VS2022 toolchain 2022-03-27 16:59:01 +10:00
Silent 9c91af6dfa
Update to rcheevos v10.2.0
Leaderboard rurl hacks are now replaced by proper calls
2022-01-07 16:21:37 +01:00
Connor McLaughlin c3a39a9bba vsprops: Add DynamicLibrary.props 2021-11-10 12:34:37 +10:00
Connor McLaughlin 9278b7f110 dep/msvc: Update SDL2 to 2.0.16 2021-09-08 10:49:10 +10:00
Connor McLaughlin 74bf021c2f MSBuild: Copy base translation files 2021-08-17 13:39:06 +10:00
Wunkolo 494b6e029f GPU/Vulkan: Add complete VK_EXT_debug_utils API entry points 2021-08-01 10:56:56 -07:00
Connor McLaughlin 0da756b0fd dep/stb: Warning fix 2021-07-26 01:35:16 +10:00
Connor McLaughlin 673f9927ad dep/stb: Use zlib for png compression 2021-07-24 15:26:47 +10:00
Connor McLaughlin 0ff1402fcd dep/libchdr: Disable verification/subcode decompression
Small speed boost on low end devices.
2021-07-11 20:58:46 +10:00
Connor McLaughlin 03ab18909a Common: Add UWP support for helper classes 2021-07-11 15:20:38 +10:00
Connor McLaughlin 281f7c5789 Build: Add UWP configurations 2021-07-11 14:13:59 +10:00
Connor McLaughlin 5da9edceb9 Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00
Connor McLaughlin 6a74272fb4 glslang: Warning/error fix 2021-07-10 21:45:10 +10:00
Connor McLaughlin e4b23ffb7e dep/imgui: Handle backspace text input 2021-07-04 16:02:11 +10:00
Connor McLaughlin 89eda96cef dep/imgui: Activate text input on mouse/gamepad nav 2021-07-04 16:02:06 +10:00
Connor McLaughlin 98e1bdee8d dep/vulkan-loader: _WIN32 -> WIN32 2021-07-03 13:18:11 +10:00
Connor McLaughlin 48422a9932
Merge pull request #2336 from Wunkolo/vk-debug-utils
GPU/Vulkan: Update VK_EXT_debug_report to VK_EXT_debug_utils
2021-06-30 14:20:37 +10:00
Wunkolo b7f583d10f GPU/Vulkan: Update VK_EXT_debug_report to VK_EXT_debug_utils
`VK_EXT_debug_report` has been officially depreciated by khronos in favor of the `VK_EXT_debug_utils` extension
2021-06-28 13:57:49 -07:00
Connor McLaughlin 06b009f361 Warning fixes 2021-06-27 13:51:22 +10:00
Silent d567f1e870 Upgrade rcheevos to v10.1.0 2021-06-22 21:45:07 +10:00
Silent c705eea3f9
Expose additional functions from rc_url.h
Will be needed for building proper leaderboard requests
2021-06-17 20:20:59 +02:00
Connor McLaughlin 815146e7d8 GPU/HW: Fix incorrect blend factor
Regression from 75e6c175de
2021-06-17 20:04:05 +10:00
Connor McLaughlin 0cb9a3dcb6 dep/libFLAC: Silence CPUID messages in debug builds 2021-06-14 19:32:15 +10:00
Connor McLaughlin 81f004b6c6 dep/msvc: Sync Qt submodule 2021-06-04 13:45:05 +10:00
Connor McLaughlin 270bf59817 dep/libsamplerate: Sync minimum cmake version with main 2021-06-04 13:14:30 +10:00
Connor McLaughlin e995331239 dep/vulkan-loader: Don't use potentially-conflicting symbol names 2021-06-02 13:41:54 +10:00
Connor McLaughlin d4a13f511c dep: Reduce dependencies for libretro core 2021-05-23 16:18:34 +10:00
Connor McLaughlin 4436cd5b58 dep: Remove libcue 2021-05-21 14:52:55 +10:00
Connor McLaughlin 05a89e385d Build: Use Qt 6 on Windows 2021-05-20 14:14:44 +10:00
Connor McLaughlin 1392a64a93 Re-add libretro core 2021-05-20 12:18:54 +10:00
Christopher Snowhill 1d7a7bc842 cubeb: Adjust cubeb_jack to build on latest macOS 2021-05-08 12:25:50 +10:00
Connor McLaughlin 6b2ce266d4 dep/discord-rpc: Ensure the cleared presence gets sent at shutdown 2021-05-03 03:22:28 +10:00
Connor McLaughlin a7017783e4 dep/rurl: Enlarge username buffers 2021-04-21 01:55:10 +10:00
Connor McLaughlin aa57ec6105 dep/cubeb: Work around strlcpy not existing on Linux 2021-04-18 14:02:00 +10:00
Connor McLaughlin 1893bfd248 Cheevos: Don't choke on long passwords 2021-03-08 01:53:26 +10:00
Connor McLaughlin 7190c571f9 CMake: Build system support for FreeBSD 2021-03-07 19:35:02 +10:00
Connor McLaughlin 10c3506f1a Cheevos: Linux support 2021-02-28 19:01:16 +10:00
Connor McLaughlin 0ec2c87a0e Implement RetroAchivements 2021-02-27 00:44:53 +10:00
Connor McLaughlin 20fa5b74d2 dep/rcheevos: Use https for requests in url.c 2021-02-27 00:44:50 +10:00
Connor McLaughlin 3ccaddc7e6 dep: Add rcheevos 2021-02-27 00:44:50 +10:00
Connor McLaughlin 8f9bbb0bba Vulkan: Support VK_KHR_display 2021-02-04 19:25:21 +10:00
Connor McLaughlin b267020d07 dep: Remove nativefiledialog 2021-01-31 17:10:27 +10:00
Connor McLaughlin a563f99191 dep/imgui: Update to 9499afdf5e7f22e2cf4bf7c365d18f7e1d07572b 2021-01-31 17:10:10 +10:00
Connor McLaughlin 6f60960a1d dep/imgui: Move internal header to public include 2021-01-31 17:07:32 +10:00
Connor McLaughlin 901f862737 dep/minizip: Don't define 64-bit file macros on Android
Doesn't compile with current NDKs otherwise.
2021-01-14 13:43:10 +10:00
Connor McLaughlin d23645e02f CMake: Fix Linux build 2021-01-11 03:18:30 +10:00
Connor McLaughlin 25847494d5 dep/xxhash: Set XXH_X86DISPATCH_ALLOW_AVX on x86/x64 2021-01-11 01:21:41 +10:00
Connor McLaughlin 1eab296ec3 dep: Add libsamplerate 2021-01-11 01:14:32 +10:00
Connor McLaughlin 419726f4cc Remove libretro core - core will now be maintained by libretro
libretro have agreed to take over maintenance of the core.

Please see their fork at https://github.com/libretro/duckstation if you
wish to continue to use it.
2021-01-08 01:37:59 +10:00
Connor McLaughlin d588c26cf6 Revert "dep/msvc: Update SDL2 to 2.0.14"
This reverts commit 8debaa34d9.

Seems to be a few regressions, namely XBox Controller Rumble, other
controllers not detecting, etc.
2020-12-31 19:44:46 +10:00
Guillaume Bouchard f30addc70d Use gtk3 for nativefiledialog
Rational: gtk2 is not maintained anymore and the change was simple.

- Update of nativefiledialog/CMakeLists.txt in order to detect and use
  gtk3
- Updated a few files referencing gtk2, especially:
  - github workflow: I tested that the apt-get update works on ubuntu
    18.03 in a docker container
  - Readme.

This was tested in the following nixpkgs PR: https://github.com/NixOS/nixpkgs/pull/107878
2020-12-29 15:13:43 +01:00
Connor McLaughlin 8debaa34d9 dep/msvc: Update SDL2 to 2.0.14 2020-12-27 00:45:34 +10:00
Connor McLaughlin af3b2b0e15 Build: Fix xxhash on non-Windows 2020-12-26 00:47:24 +10:00
Connor McLaughlin 34dace4506 dep/xxhash: Update to latest version 2020-12-26 00:47:02 +10:00
Albert Liu b9c5d5b8a3 dep/cubeb: Update to 860bf2b 2020-12-09 22:41:24 -08:00
Connor McLaughlin 0f8f9bc052 dep/cubeb: Update to 85f1cf4 2020-12-08 01:47:27 +10:00
Albert Liu 47bf9862bc dep/cubeb: Update to 70fadbf 2020-12-06 20:28:41 -08:00
Connor McLaughlin 2a61620dae dep/libchdr: Sync to upstream (82670d5) 2020-12-01 23:34:21 +10:00
Connor McLaughlin 302b08023e dep/vixl: Fix building for AArch32 2020-11-21 18:39:03 +10:00
Connor McLaughlin 18f8c7bc61 dep/zlib: Mac build fix again 2020-10-30 00:57:15 +10:00
Connor McLaughlin c01d6ba44b dep/libcue: Mac build fix 2020-10-30 00:52:44 +10:00
Connor McLaughlin a036ae92e8 dep/cubeb: Compile fix for MSVC 2020-10-25 00:56:31 +10:00
Connor McLaughlin f5f3b3f5d1 dep/cubeb: Add missing oss_i4_v4.c test file 2020-10-25 00:26:54 +10:00
Connor McLaughlin 045866506f dep/cubeb: Update to 1d66483 2020-10-24 21:06:24 +10:00
Connor McLaughlin 11c25c68c5 Build: Skip AArch32 emitter for vixl on AArch64 2020-10-19 02:23:04 +10:00
Connor McLaughlin 49cea927f0 Build: Add ARM64 platform for Windows 2020-10-14 00:48:48 +10:00
Connor McLaughlin 922db9d8ee dep/vixl: Compile fixes for MSVC 2020-10-14 00:48:48 +10:00
Connor McLaughlin b76859a8c2 Update Qt submodule 2020-10-14 00:48:47 +10:00
Connor McLaughlin b53be2687d dep/sdl2: Add ARM64 binaries 2020-10-14 00:48:47 +10:00
Connor McLaughlin 10f74dff18 dep/vixl: Add MSVC project 2020-10-14 00:48:47 +10:00
Connor McLaughlin f81502ea6f Add ARM64 Qt to QtCompile.props 2020-10-14 00:48:47 +10:00
Connor McLaughlin f0ac695710 dep/sdl2: Fix compilation on ARM64 2020-10-14 00:48:47 +10:00
Connor McLaughlin ce9ff142b3 Build: Skip cubeb and googletest for libretro core 2020-10-11 12:21:08 +10:00
Connor McLaughlin a0a78087fe Vulkan: Support Wayland 2020-09-23 20:19:50 +10:00
Connor McLaughlin c8d7b0fc08 dep: Update libchdr 2020-09-15 00:31:35 +10:00
Connor McLaughlin c9372a674a More build fixes... 2020-09-13 12:40:32 +10:00
Connor McLaughlin 16f39917e5
Linux build fix 2020-09-10 01:29:22 +10:00
Connor McLaughlin 9c4e935de9 Update Windows Qt submodule 2020-09-09 19:03:35 +10:00
Connor McLaughlin ac6b9dc87f dep/imgui: Move implementations to frontend-common 2020-09-06 17:28:19 +10:00
Connor McLaughlin 6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
2020-09-01 12:46:44 +10:00
Connor McLaughlin 13e3095801 Core: Don't link to imgui for libretro core 2020-09-01 12:22:32 +10:00
Connor McLaughlin 5f3642e9fd VulkanLoader: Search frameworks directory for libvulkan.dylib 2020-08-25 19:07:12 +10:00
Connor McLaughlin eb002f7e3e dep/libcue: MSVC filter fix 2020-08-22 13:22:25 +10:00
kwyxz 31695c4ff7
Haiku port of duckstation libretro core (#716)
* Haiku build 1st attempt

* fix load on Haiku

* Removed debugging flags

* Added a couple ifndef
2020-08-22 13:20:37 +10:00
Connor McLaughlin c5db7db182 Build: Compile source as UTF-8 with MSVC 2020-08-15 00:04:38 +10:00
jdgleaver 363804c48b (libretro/Vulkan) Fix glslang shader-related crashes 2020-08-01 15:29:59 +01:00
Connor McLaughlin 058bea9faf libchdr: Expose chd_open_file 2020-08-01 14:01:10 +10:00
Connor McLaughlin bb56b169fc VSProps: Support compiling Qt translation files 2020-07-28 03:08:41 +10:00
Connor McLaughlin a4e9adad25 Update Windows Qt build to 5.15.0 2020-07-28 02:11:44 +10:00
Connor McLaughlin af9afae1cd cmake: SUPPORTS_X11 -> USE_X11 for glad 2020-07-12 12:41:58 +10:00
Connor McLaughlin b1ba4c446b VulkanLoader: Make vkGetDeviceProcAddr() an instance function 2020-07-12 00:36:19 +10:00
Connor McLaughlin 79841d13e2 dep/glad: Work around missing EGL_CAST on ARM drivers 2020-07-11 03:29:04 +10:00