Commit graph

43236 commits

Author SHA1 Message Date
Martino Fontana
6b56d1d0c7
cubeb: Change name to "Dolphin Emulator"
To avoid conflicts with KDE's file manager.
2023-08-16 21:13:16 -04:00
iwubcode
ad6ced6957
VideoCommon: add custom texture message to provide a dirty means of debugging whether custom textures are installed correctly 2023-08-16 21:13:16 -04:00
SketchMaster2001
0dbe6392cf
Add Enable WiiLink checkbox to Android GUI 2023-08-16 21:13:16 -04:00
nyanpasu64
a5a165a38e
Fix GC adapter not being detected when you enable controller in settings
GCAdapter::UseAdapter() reads s_is_adapter_wanted, which gets
initialized by config_guard.~ConfigChangeCallbackGuard(). So we must
wait until after destroying the config guard to know whether we have any
controllers set to GC Adapter.
2023-08-16 21:13:15 -04:00
nyanpasu64
3434b44c13
Switch libusb_config_descriptor to RAII type 2023-08-16 21:13:15 -04:00
nyanpasu64
7e944c1141
Workaround GC adapter detection breaking when reset fails 2023-08-16 21:13:14 -04:00
nyanpasu64
0077cacdc5
Reset GC adapter upon IO error after sleep-wake
Fixes GC adapter breaking on sleep-wake on Linux and burning a full CPU
core. This is cleaner than alternative approaches.
2023-08-16 21:13:14 -04:00
nyanpasu64
6c07e4796e
Don't burn a CPU core and spam logs when GC Adapter fails 2023-08-16 21:13:14 -04:00
nyanpasu64
34571640d3
Fix memory leak in libusb code 2023-08-16 21:13:13 -04:00
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