Commit Graph

353 Commits

Author SHA1 Message Date
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
Connor McLaughlin 011ee6331e build: Link tinyxml2 statically in cmake/win32 2020-07-07 18:47:58 +10:00
Connor McLaughlin b9ffca1ddf libretro: Vulkan renderer support 2020-07-04 22:14:07 +10:00
Connor McLaughlin 16411d7669 dep/libcue: Prefix functions to avoid name clash with glslang 2020-07-04 13:47:51 +10:00
Connor McLaughlin 84a52a3911 dep/vulkan-loader: undef a bunch more problematic X11 defines 2020-06-30 03:03:56 +10:00
Connor McLaughlin eaca5eca07 GPU/Vulkan: Use Metal layer instead NSView on macOS. 2020-06-22 15:58:07 +10:00
Connor McLaughlin f54876deb0 Vulkan/Context: Use VK_MVK_macos_surface not VK_EXT_metal_surface
Will change this over some time in the future when I can work on a Mac
again and set up the layer.
2020-06-20 20:37:38 +10:00
Connor McLaughlin c023bcd234 Linux build fix 2020-06-19 01:36:46 +10:00
Connor McLaughlin 2c0a28398c dep/imgui: Add Vulkan renderer 2020-06-19 00:16:59 +10:00
Connor McLaughlin 5bbcde7835 dep: Add glslang 2020-06-19 00:16:59 +10:00
Connor McLaughlin da83059e31 dep/vulkan-loader: Add Vulkan headers and basic dynamic loader 2020-06-19 00:16:59 +10:00
Connor McLaughlin 5dedd8707b Add subset of headers from libretro-common 2020-06-09 02:41:39 +10:00
Connor McLaughlin 56c50c6eeb dep: Add stb_image 2020-06-08 01:47:07 +10:00
Connor McLaughlin 4f4c4f4146 Common: Add GL context wrapper implementation 2020-05-25 15:02:44 +10:00
Connor McLaughlin 75ad533f30 dep/glad: Add WGL, EGL, GLX 2020-05-25 14:54:51 +10:00
Connor McLaughlin 47c2b29395 Build: Use bin directory for cmake, fix Windows/cmake build 2020-05-16 13:10:31 +10:00
Connor McLaughlin 6e7c58de43 dep: Add discord-rpc 2020-05-01 01:01:42 +10:00
Connor McLaughlin efa2af7772 dep: Add rapidjson 2020-05-01 01:01:35 +10:00
Connor McLaughlin 7677c95fa7 dep/imgui: Fix crash when base vertex unsupported (GLES) 2020-04-14 04:05:39 +10:00
Connor McLaughlin 6c9e80cf43 CMake: Only build nativefiledialog when building SDL frontend 2020-04-07 12:13:35 +10:00
Connor McLaughlin f41475ae8f Build: Compile cubeb in C++14 mode on MSVC 2020-04-06 12:06:56 +10:00
Connor McLaughlin 26313b093c dep: Add googletest 2020-04-03 01:32:27 +10:00
Connor McLaughlin 3daa6b469a Build: Explicitly disable spectre mitigations
Mitigations-off gave a roughly 20-25% boost in performance on my laptop
(i7-7700HQ), even with the recompiler.

It seems AppVeyor was building with them enabled. You shouldn't treat an
emulator like a sandbox and run untrusted code in it amyway.
2020-04-01 22:30:19 +10:00
Connor McLaughlin 6ce97e0e13 dep: Add googletest 2020-03-21 21:48:34 +10:00
Connor McLaughlin cfcdc1c336 dep: Add stb_image_resize 2020-03-16 00:03:06 +10:00
Connor McLaughlin d46d681179 Add xxhash to dependencies 2020-03-05 21:17:15 +10:00
Connor McLaughlin 6efcf2d912 ImGui: Fix OpenGL rendering on hidpi displays 2020-02-16 00:15:07 +09:00
Connor McLaughlin 745c2785b2 Move shared frontend code from SDL to a seperate project 2020-02-16 00:13:53 +09:00
Connor McLaughlin 23c8a5588d Add macOS to some Linux/Android-only-isms 2020-02-14 22:58:18 +09:00
Stenzek d67133b537 Build: Fix DebugFast config for tinyxml2 2020-02-06 21:02:53 +09:00
Connor McLaughlin 52fd070d3b Build: Compile tinyxml2 as static library instead of dll 2020-02-03 14:22:17 +10:00
Connor McLaughlin 5957df5b5c Update SDL2 to 2.0.10 2020-02-03 13:53:31 +10:00
Connor McLaughlin b5901fa190 dep: Add libchdr 2020-01-30 20:06:14 +10:00
Connor McLaughlin 7fc6c77015 dep: Add libFLAC 1.3.3 2020-01-30 20:05:45 +10:00
Connor McLaughlin 13e1fa055b dep: Add lzma 19.00 2020-01-30 20:05:33 +10:00
Connor McLaughlin 4aadcbf470 dep: Remove msvc zlib binaries from tree 2020-01-24 14:51:27 +10:00
Connor McLaughlin b937275073 Qt: Link with and copy Qt5Network library 2020-01-24 14:51:24 +10:00
Connor McLaughlin 1137b388c4 dep: Add minizip 2020-01-24 14:51:22 +10:00
Connor McLaughlin b1dbb0d7fb dep: Add zlib 2020-01-24 14:51:19 +10:00
Connor McLaughlin 4de82bda6d Linux build for cubeb 2020-01-12 15:17:15 +10:00
Connor McLaughlin 93948adca3 dep: Use external Qt for compiling on Windows 2020-01-11 15:35:17 +10:00
Connor McLaughlin 415e4531eb dep: Add minimal Qt for Windows submodule 2020-01-11 15:29:35 +10:00
Connor McLaughlin 3ba98e6ef8 dep: Add cubeb 2020-01-11 13:50:04 +10:00
Connor McLaughlin 71c1e243fe Remove YBaseLib dependency 2020-01-10 13:40:53 +10:00
Connor McLaughlin f3e9c3ec8c Add initial work on Qt frontend 2019-12-31 16:18:30 +10:00
Connor McLaughlin 0df741a799 Frontend: Disable controller input for navigating UI
It seems to interfere too much with normal gameplay.
2019-12-16 00:05:33 +10:00
Connor McLaughlin d520ca35eb dep: Add vixl (AArch32/64 assembler) 2019-12-04 20:32:38 +10:00
Connor McLaughlin 28a179ec1d dep: Add tinyxml2 2019-12-01 19:52:00 +10:00
Connor McLaughlin ea0b13a05c More changes to accomodate Android - imgui/host display 2019-11-28 23:32:57 +10:00
Connor McLaughlin f11d357ab9 Compile fixes for Android 2019-11-28 01:55:33 +10:00
Connor McLaughlin 9da4e642af CMake: Include SDL2 module in-tree 2019-11-23 19:07:54 +10:00
Connor McLaughlin 0e8ff85f04 dep: Add xbyak 2019-11-19 20:13:20 +10:00
Connor McLaughlin 7b6a2f1aaf Build: Fix CMake build 2019-11-11 14:34:46 +10:00
Connor McLaughlin 57c4101ff4 dep: Add imgui_stdlib.cpp 2019-11-08 00:22:25 +10:00
Connor McLaughlin 328944ca49 dep: Add simpleini 2019-11-07 01:43:03 +10:00
Connor McLaughlin 1a6c51e74b dep/imgui: Support both GL and GLES without macro 2019-11-06 01:32:30 +10:00
Connor McLaughlin 5f0980c684 dep: Update imgui 2019-10-27 20:52:02 +10:00
Connor McLaughlin 83b67b3c4c Frontend: Clear focus after loading/saving state 2019-10-27 13:44:48 +10:00
Connor McLaughlin 41574d92e8 Build: Enable conformance mode 2019-10-27 01:58:28 +10:00
Connor McLaughlin f314a26eee Handle controller inputs in ImGui 2019-10-27 01:05:11 +10:00
Connor McLaughlin 1adb1d14ae Build: Enable inlining for __inline functions in DebugFast 2019-10-26 15:42:21 +10:00
Connor McLaughlin 9058a79184 Remove libsamplerate dependency 2019-10-20 22:26:49 +10:00
Connor McLaughlin 795a3e7ca8 Add nativefiledialog 2019-10-20 21:19:54 +10:00
Connor McLaughlin 52c16deba6 dep: Add libcue 2019-10-18 23:52:52 +10:00
Connor McLaughlin e68cddf017 Fix CMake build 2019-10-15 18:02:48 +10:00
Connor McLaughlin e40ac7cee1 dep: Add stb_image_write 2019-09-18 15:43:03 +10:00
Connor McLaughlin ff83f15abe dep: Add missing file 2019-09-18 00:30:26 +10:00
Connor McLaughlin 9475c281bd Build: Set /MP on projects which are missing it 2019-09-17 14:25:17 +10:00
Connor McLaughlin 2149ab4d69 Initial commit 2019-09-11 14:00:42 +10:00