Commit graph

42927 commits

Author SHA1 Message Date
Sketch
0f78ebb791
Add Forecast Channel buffer patch 2023-08-16 21:13:13 -04:00
iwubcode
5f61f8a7b7
VideoCommon: fix some compiler warnings for CustomAsset. FreeBSD compiler complained about a defaulted move constructor due to the mutex being implicitly deleted. Additionally, the const owning library deleted the copy constructor. 2023-08-16 21:13:12 -04:00
iwubcode
5d4252450b
VideoCommon: initialize load info variables 2023-08-16 21:13:12 -04:00
Mateus B. Cassiano
6362d58977
Qt: Color Correction window fixes 2023-08-16 21:13:11 -04:00
Jeremy Newton
50b21140e9
Allow shared zlib-ng 2023-08-16 21:13:11 -04:00
Sepalani
638f1b95ba
Common/Network: Use StrErrorWrapper 2023-08-16 21:13:10 -04:00
Sepalani
592f215857
Common/CommonFuncs: Add StrErrorWrapper function 2023-08-16 21:13:10 -04:00
Benjamin Mugnier
130640e09d
readme: Add '--recursive' to git submodule command
Not doing so results in the following error :

CMake Error at Externals/cubeb/CMakeLists.txt:30 (message):
  Could not find sanitizers-cmake: run

  	git submodule update --init --recursive

  in base git checkout

As the advice is correct, update readme with the correct command.
2023-08-16 21:13:10 -04:00
JosJuice
d0f6635766
D3D: Remove Windows 7 mention in logic ops warning
Dolphin no longer supports Windows 7, so the fact that there are (were?)
more people who use Windows 7 than who use a GPU that doesn't support
the required feature is no longer relevant.
2023-08-16 21:13:09 -04:00
Joshua de Reeper
b3c5d3f285
Skylanders: More List Fixes 2023-08-16 21:13:09 -04:00
iwubcode
530923133b
VideoCommon: add material asset. A material is similar to other graphics engines where it provides data to be used in conjunction with a shader asset to generate a runtime AbstractShader 2023-08-16 21:13:08 -04:00
Dentomologist
06b018c99c
QtUtils: Remove unused FlowLayout
FlowLayout hasn't been used since
b65faa0549.
2023-08-16 21:13:08 -04:00
Dentomologist
988e960a63
GekkoDisassembler: Remove unread variable m_displacement 2023-08-16 21:13:07 -04:00
Dentomologist
8033c3c838
GekkoDisassembler: Remove unread variable m_sreg 2023-08-16 21:13:07 -04:00
Amon Neander
ef2737d204
Fix unsafe netplay code in SI_DeviceGCController
By misusing Config, this netplay-related code opened up a race condition between Config::OnConfigChanged() and SerialInterface::SerialInterfaceManager::UpdateDevices() that could cause iterator invalidation.
2023-08-16 21:13:07 -04:00
iwubcode
530fffc6ef
VideoCommon: call into graphics mods create texture callback, providing additional asset dependencies that trigger the texture to be reloaded 2023-08-16 21:13:06 -04:00
Joshua de Reeper
7a2e7dea1b
Skylander Portal: Simple List Fixes 2023-08-16 21:13:06 -04:00
iwubcode
fdae871a8d
VideoCommon: add a pixel shader asset 2023-08-16 21:13:05 -04:00
LillyJadeKatrin
06e43e39c1
Synchronized Achievement Window
Expanded the use of the lock mutex already used for loading the player's existing unlock status to guard against races involving the Achievements dialog window reading from data AchievementManager might be in the process of updating. The lock has been exposed publicly and the AchievementsWindow uses it in its UpdateData method, and anywhere else that might modify data used to render that window has also been wrapped with it.
2023-08-16 21:13:05 -04:00
LillyJadeKatrin
48dc4bd04c
Add UpdateCallback to AchievementManager
AchievementManager now has a SetUpdateCallback method for providing a single universal callback for anytime something important changes in the achievement state, such as logging in/out, game load/close, or events such as achievement unlocks. AchievementsWindow sets this callback in its own init to its UpdateData method so that the AchievementsWindow gets updated when one of these changes takes place.
2023-08-16 21:13:05 -04:00
LillyJadeKatrin
a6cbaf8a2f
Added AchievementProgressWidget to AchievementsWindow
This widget is a tab in the AchievementsWindow that displays the player's current achievement progress: which achievements are locked or unlocked, and the progress of achievements that have progress metrics.
2023-08-16 21:13:04 -04:00
LillyJadeKatrin
435603dce5
Added AchievementHeaderWidget to AchievementsWindow
This widget displays a header on the AchievementsWindow dialog above the tabs that shows the currently logged in user (if there is one) and the game they are playing (if there is one).
2023-08-16 21:13:04 -04:00
LillyJadeKatrin
b818808b19
Expose Achievements Data for Display
Added some small methods to AchievementManager to expose useful data for displaying in an achievement UI. Also moved a couple things from private to public for the same purpose.
2023-08-16 21:13:03 -04:00
iwubcode
431adad91a
VideoCommon: don't do pointer copies during graphics mod callback iteration 2023-08-16 21:13:03 -04:00
iwubcode
f63e4aef0e
VideoCommon: add support for allowing a TextureCache entry to be associated with multiple assets 2023-08-16 21:13:02 -04:00
iwubcode
0726a0e9c8
VideoBackends: support multiple compute images for some backends (D3D, OGL, Vulkan) 2023-08-16 21:13:02 -04:00
Dentomologist
59cafb9303
GekkoDisassembler: Remove unused enum InstructionType 2023-08-16 21:13:01 -04:00
Dentomologist
2d4a4b6f1a
GekkoDisassembler: Remove unread variable m_type
Writes to m_type are pointless because it's never read.
2023-08-16 21:13:01 -04:00
Martino Fontana
03a7d6c38f
Add Bloom Definitions for Skylanders: Spyro's Adventure 2023-08-16 21:13:00 -04:00
Admiral H. Curtiss
a9cba9be36
DolphinQt/LogWidget: Restore log window colors. 2023-08-16 19:55:18 +02:00
Admiral H. Curtiss
a34f221782
Core/PowerPC: Return AvailableCPUCores() as a std::span. 2023-08-16 19:25:03 +02:00
Admiral H. Curtiss
51f807b63a
DolphinQt/AdvancedPane: Update all GUI elements from config in Update(). 2023-08-16 19:25:03 +02:00
Admiral H. Curtiss
ccee66dc80
DolphinQt/AdvancedPane: Use ConfigBool for MMU, Pause on Panic, and Write-Back Cache. 2023-08-16 19:25:03 +02:00
Admiral H. Curtiss
23ae8c439c
Merge pull request #12112 from JosJuice/hires-texture-encoding
VideoCommon: Fix std::filesystem::path encoding conversion
2023-08-16 18:39:18 +02:00
JosJuice
86910f406e VideoCommon: Fix std::filesystem::path encoding conversion
In std::string, you can store strings using any encoding, but in Dolphin
we have decided to use UTF-8. The problem is that if you convert between
std::string and std::filesystem::path using the built-in methods, the
standard library will make up its own assumption of what encoding you're
using in the std::string. On most OSes this is UTF-8, but on Windows
it's whatever the user's code page is.

What I believe is the C++ standard authors' intended solution to this is
to use std::u8string instead of std::string, but that's a big hassle to
move over to, because there's no convenient way to convert between
std::string and std::u8string. Instead, in Dolphin, we have added helper
functions that convert between std::string and std::filesystem::path in
the manner we want. You *always* have to use these when converting
between std::string and std::filesystem::path, otherwise we get these
kinds of encoding problems that we've been having with custom textures.

Fixes https://bugs.dolphin-emu.org/issues/13328.
2023-08-16 09:56:56 +02:00
JosJuice
177ac0cd44
Merge pull request #12111 from OatmealDome/old-amd-bug
Remove `BUG_BROKEN_FRAGMENT_SHADER_INDEX_DECORATION`
2023-08-16 09:20:49 +02:00
Pokechu22
10c5da6f62
Merge pull request #12107 from MikeIsAStar/retrieve-page-table-information-from-data-cache
Retrieve page table information from the data cache
2023-08-15 22:01:01 -07:00
takayhan-AMD
b969282b72 Remove out-dated hack of AMD driver issue WRT dual-source blending output index. 2023-08-15 23:58:29 -04:00
iwubcode
eeb73460ab VideoCommon: asset load time is now stored as a chrono system_clock time, so that times can be fabricated in a future feature (without creating a file to do so) 2023-08-15 22:02:28 -05:00
Admiral H. Curtiss
a10d768c63
Merge pull request #12104 from iwubcode/descriptor_sample_size_constant_dx12
VideoBackends: update SRVDescriptorTable size in DX12 to use pixel sampler constant
2023-08-15 23:15:19 +02:00
Admiral H. Curtiss
a44606692a
Merge pull request #12096 from Dentomologist/nandpaths_resolve_android_warning
NandPaths: Resolve Android tautological comparison warning
2023-08-15 22:23:57 +02:00
Admiral H. Curtiss
2cbc1e6f3e
Merge pull request #12109 from JosJuice/android-adddevice-null
ControllerInterface/Android: Add null check to AddDevice
2023-08-15 22:22:45 +02:00
Admiral H. Curtiss
98592b460e
Merge pull request #12106 from SuperSamus/cmake-pass-version
CMake: use version flags if Git isn't found
2023-08-15 22:21:25 +02:00
MikeIsAStar
0bb5c88a22 Retrieve page table information from the data cache
Thanks to @mkwcat for identifying the problematic code.
2023-08-15 12:44:55 -04:00
JosJuice
4b1b5881b0 Android: Move DirectoryInitialization toast to UI thread
You're not allowed to just show toasts on any thread you want.
2023-08-15 14:03:08 +02:00
JosJuice
1d77bddc3b ControllerInterface/Android: Add null check to AddDevice
The Google Play Console is showing some users getting a crash here,
and indeed, InputDevice.getDevice can return null.
2023-08-15 13:31:18 +02:00
Martino Fontana
c43c9101c0 CMake: use version flags if Git isn't found 2023-08-14 11:27:39 +02:00
iwubcode
89e2fc1dd3 VideoBackends: update SRVDescriptorTable size in DX12 to use pixel sampler constant 2023-08-13 17:23:26 -05:00
Admiral H. Curtiss
5635a0bdef
DolphinQt/EnhancementsWidget: Use custom tooltip for Color Correction button. 2023-08-13 22:46:46 +02:00
Admiral H. Curtiss
2537f4db91
Merge pull request #12100 from AdmiralCurtiss/tooltip-pushbutton
DolphinQt: Add ToolTipPushButton.
2023-08-13 21:44:24 +02:00