LC
fe727ed1d0
Merge pull request #9194 from leoetlino/offsetof-warning
...
IOS/USB: Fix -Winvalid-offset warnings
2020-10-29 12:53:11 -04:00
LC
3a5b921008
Merge pull request #9206 from Ebola16/SOMC
...
Android: Minor cleanups
2020-10-29 12:52:40 -04:00
LC
752b1048df
Merge pull request #9196 from Dentomologist/update-register-view-debug-font
...
DolphinQt: Update register view font when Debug Font changes
2020-10-29 12:52:02 -04:00
Dentomologist
5fe7528855
DolphinQt: Update register view font when Debug Font changes
...
Resolves https://bugs.dolphin-emu.org/issues/12261
Co-authored-by: Léo Lam <leo@leolam.fr>
2020-10-29 09:31:14 -07:00
JMC47
6a3a71cfd7
Merge pull request #9141 from Techjar/but-for-how-long
...
Re-enable GPU Texture Decoding under MoltenVK
2020-10-29 01:22:13 -04:00
Ryan Meredith
cc53249591
Android: showMotionControlsOptions cleanup
2020-10-28 06:17:11 -04:00
Sergei Trofimovich
447de580ab
Source/Core/Common/Config/Config.cpp: add missing <mutex> include
...
Noticed missing include as a build failure on gcc-11:
```
[ 15%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Config/Config.cpp.o
Source/Core/Common/Config/Config.cpp:23:24:
error: 'unique_lock' in namespace 'std' does not name a template type
23 | using WriteLock = std::unique_lock<std::shared_mutex>;
| ^~~~~~~~~~~
Source/Core/Common/Config/Config.cpp:11:1:
note: 'std::unique_lock' is defined in header '<mutex>';
did you forget to '#include <mutex>'?
```
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-10-28 08:53:15 +00:00
Ryan Meredith
df4cef44fd
Android: Remove unused imports
2020-10-28 02:14:30 -04:00
LC
23e6980b7b
Merge pull request #9200 from shuffle2/nomoc
...
dolphinqt msbuild: do not moc TASSlider.h
2020-10-27 13:28:16 -04:00
Lioncash
dc72edf0e2
UberShaderPixel: Migrate over to fmt
...
Completes the migration over to using the fmt-formatting WriteFmt
function. The next PR will rename all usages of WriteFmt, while
simultaneously getting rid of the old printf code.
2020-10-27 13:25:11 -04:00
Ryan Meredith
721f3bef69
Android: Fix initTouchPointer
2020-10-27 05:15:17 -04:00
Shawn Hoffman
2ebe02fd1b
dolphinqt msbuild: do not moc TASSlider.h
2020-10-26 18:37:46 -07:00
Léo Lam
2d921da860
FileUtil: Fix format string
...
Fixes a recent regression: https://github.com/dolphin-emu/dolphin/pull/9187#issuecomment-716835091
2020-10-26 22:47:56 +01:00
Léo Lam
d2a2ec870d
Merge pull request #9171 from lioncash/pixel
...
PixelShaderGen: Migrate over to fmt
2020-10-26 20:35:47 +01:00
Léo Lam
07e6d008bd
Merge pull request #9187 from lioncash/commonlog
...
Common: Migrate logging to fmt
2020-10-26 19:01:26 +01:00
Léo Lam
7f66de062c
Merge pull request #9188 from jordan-woyak/stop-caring-about-old-avcodec-versions
...
VideoCommon/FrameDump: Remove code for older versions of avcodec.
2020-10-26 18:55:48 +01:00
Léo Lam
aae72c3e75
Merge pull request #9195 from jordan-woyak/mem-warning
...
DolphinQt: Add a warning to the MEM1/MEM2 override setting description.
2020-10-26 18:49:33 +01:00
Léo Lam
23c9179fb6
Merge pull request #9071 from orbea/cmake
...
cmake: Silence warnings.
2020-10-26 18:48:42 +01:00
Jordan Woyak
15914b749c
DolphinQt: Add a warning to the MEM1/MEM2 override setting description.
2020-10-25 12:54:42 -05:00
JosJuice
3a119e1ec7
Android: Update WiimoteNew.ini preferences instead of deleting
2020-10-24 22:45:02 +02:00
Léo Lam
8b9a0c9e09
IOS/USB: Fix -Winvalid-offset warnings
...
Unfortunately, compilers will issue warnings when using offsetof with
non-standard layout types even when offsetof actually works fine here;
just having a virtual function is enough to trigger the warning...
Let's just stop the scan threads explicitly in destructors instead of
relying on member destruction order.
2020-10-24 14:02:38 +02:00
JosJuice
563d9365b5
Android: Re-add motionControlsEnabled to clearWiimoteNewIniLinkedPreferences
...
This was removed in cc5802b
when it should have
been converted to the new setting instead,
and it seems like I didn't notice when reviewing it.
I'm changing the DirectoryInitialization logic a little
so that clearWiimoteNewIniLinkedPreferences also is called
when there was no WiimoteNew.ini previously, in case the
user deleted WiimoteNew.ini but not Dolphin.ini.
2020-10-24 13:08:29 +02:00
iwubcode
8a4773bc91
VideoCommon: update vcproj file to set HAS_OPENGL
2020-10-23 17:08:53 -05:00
iwubcode
a34745926e
VideoCommon: remove HAS_OPENGL from VideoBackendBase
2020-10-23 17:00:32 -05:00
iwubcode
272717b3f4
VideoCommon: update vcproj file to set HAS_VULKAN
2020-10-23 17:00:05 -05:00
iwubcode
d12380f26b
VideoCommon: rename USE_VULKAN to HAS_VULKAN in VideoBackendBase
2020-10-23 16:59:22 -05:00
Lioncash
5de2244acf
PixelShaderGen: Migrate over to fmt
...
Continues the migration of the shader generators over to fmt.
After this, all that remains in the Ubershader pixel generator.
2020-10-23 17:17:55 -04:00
Jordan Woyak
4902146329
VideoCommon/FrameDump: Remove code for older versions of avcodec.
2020-10-23 14:43:50 -05:00
Lioncash
4e8df93f41
Common: Migrate logging to fmt
...
Continues the migration of our code over to the fmt logger.
2020-10-23 14:58:03 -04:00
Léo Lam
285b926e92
Merge pull request #8782 from Pokechu22/missing-serial-version-data
...
Explain how to fix "Serial and/or version data is missing"
2020-10-23 20:44:06 +02:00
Léo Lam
e89db89d9e
Merge pull request #9098 from jordan-woyak/wm-report-duplication
...
WiimoteReal: Only duplicate data reports when speaker data is enabled.
2020-10-23 20:38:25 +02:00
mazes-80
f375ee72a2
CMake: Add option to enable/disable Vulkan video backend
2020-10-23 20:14:46 +02:00
JosJuice
908d6f8fa0
Merge pull request #9179 from leoetlino/available-video-backends
...
VideoCommon: Get rid of the global g_available_video_backends
2020-10-23 20:02:21 +02:00
LC
4f5c8bb42a
Merge pull request #9177 from JosJuice/android-savestate-time
...
Android: Show how long ago each savestate was created
2020-10-23 13:59:43 -04:00
Léo Lam
ce6eda7c71
Merge pull request #9184 from lioncash/inputlog
...
InputCommon: Migrate logging over to fmt
2020-10-23 19:59:22 +02:00
LC
87e4a0785a
Merge pull request #9182 from jordan-woyak/frame-dump-cleanup
...
VideoCommon: FrameDump fixes/cleanups.
2020-10-23 13:59:00 -04:00
LC
c42b80a156
Merge pull request #9186 from JosJuice/rtl-pot
...
DolphinQt: Move QT_LAYOUT_DIRECTION string to qt-strings.pot
2020-10-23 13:37:10 -04:00
Lioncash
a5e1415e74
InputCommon: Migrate logging over to fmt
...
Continues the migration of the logging calls over to the fmt capable
ones.
2020-10-23 13:16:18 -04:00
JosJuice
7841fb7337
DolphinQt: Move QT_LAYOUT_DIRECTION string to qt-strings.pot
...
Now that we have a .pot file specifically for strings from
Qt itself, it makes sense to move this into it.
2020-10-23 18:45:35 +02:00
Léo Lam
64f7a4448b
Merge pull request #9178 from lioncash/disclog
...
DiscIO: Migrate logging over to fmt
2020-10-22 22:07:53 +02:00
Lioncash
e93fbb7c5e
DiscIO: Migrate logging over to fmt
...
Eliminates quite a bit of the PRI* macros used for handling 64-bit
values.
2020-10-22 15:41:42 -04:00
Jordan Woyak
e8bb88c2a1
DolphinQt: Don't call UICommon::InhibitScreenSaver if already in desired state.
2020-10-22 13:19:01 -05:00
Jordan Woyak
4807a5e157
VideoCommon: FrameDump fixes/cleanups.
2020-10-22 12:17:26 -05:00
JosJuice
ba2aeb99d6
Android: Remove hacks for Wii Remote extension setting, round 2
...
It's still not exactly pretty, but now all the mess
is contained in one place and has a proper interface.
Fixes https://bugs.dolphin-emu.org/issues/12218 .
2020-10-22 11:37:56 +02:00
Léo Lam
89b01cd6d3
Merge pull request #9169 from lioncash/uber-vert
...
UberShaderVertex: Migrate over to fmt
2020-10-22 01:21:31 +02:00
Léo Lam
08f9ed043b
Merge pull request #8846 from nyanpasu64/fix-cmake-zlib
...
Fix Windows CMake builds with shared zlib
2020-10-22 01:11:27 +02:00
Léo Lam
96ce3e5f49
Merge pull request #9176 from lioncash/audiofmt
...
AudioCommon: Migrate logging over to fmt
2020-10-22 01:03:16 +02:00
Pokechu22
88bc32b638
Explain how to fix "Serial and/or version data is missing"
2020-10-21 15:39:26 -07:00
Lioncash
dcb0c910af
Common/Matrix: Allow TVec classes to be used in constexpr contexts
...
Much of these classes are operating on integral types and are pretty
standard behavior as far as vectors go. Some member functions can be
made constexpr to make them more flexible and allow them to be used in
constexpr contexts.
2020-10-21 17:44:02 -04:00
LC
de96fe0860
Merge pull request #9162 from jordan-woyak/quaternion
...
Replace stateful rotational matrices with quaternions.
2020-10-21 17:34:11 -04:00
Léo Lam
e553197c67
Merge pull request #8880 from AdmiralCurtiss/gcmemcard-sketchy-code-cleanup
...
Sketchy code cleanup in GCMemcard and GCMemcardDirectory.
2020-10-21 23:13:22 +02:00
JosJuice
21d3ea523c
Android: Show how long ago each savestate was created
2020-10-21 22:49:59 +02:00
Léo Lam
a8b7c3b577
Merge pull request #8893 from JosJuice/android-jni-declarations
...
Android: Remove unnecessary JNI function declarations
2020-10-21 22:46:58 +02:00
Léo Lam
7b9a464c93
Merge pull request #8895 from sepalani/card
...
GCMemcard: Rename unknown field to m_dtv_status
2020-10-21 22:32:09 +02:00
Léo Lam
18b2553538
Merge pull request #9078 from JosJuice/android-metadata-from-core
...
Android: Get game metadata from core
2020-10-21 22:29:21 +02:00
Léo Lam
d08b80828d
VideoCommon: Simplify VideoBackendBase::GetDefaultBackendName
...
Now we can just call GetDefaultVideoBackend to get the default backend
and get its name by calling GetName.
2020-10-21 22:00:10 +02:00
Léo Lam
aaaa3896c0
VideoCommon: Get rid of the global g_available_video_backends
...
Replace it with a function-local static that is initialized on first
use. This gets rid of a global variable and removes the need for
manual initialization in UICommon.
This commit also replaces the weird find_if that looks for a non-null
unique_ptr with a simple "is vector empty" check considering that
none of the pointers can be null by construction.
2020-10-21 22:00:10 +02:00
JosJuice
e86d713600
Android: Attach CPU thread to JVM early
2020-10-21 21:10:28 +02:00
Léo Lam
fd5f9f4c26
Merge pull request #8927 from Filoppi/wiimote-pan-fix
...
Fixed volume of emulated wii mote speakers not being native.
2020-10-21 21:02:39 +02:00
Filoppi
cf8b52735f
Fix volume of emulated wii mote speakers not being native
...
As in the comment, the panning was denaturalizing the volume (when the panning was at 0).
Unless users actually want to use panning, their wii mote volume should not be reduced, it should come out at the same volume the samples were.
If users want to reduce the volume of the wii mote speakers, they can do so from the wii home menu.
I opted for this instead of adding another setting "Enable Panning" as it would have been confusing, and the changes in the panning formula are unlikely to have any negative effect, as it still works.
2020-10-21 20:54:21 +02:00
Léo Lam
97de366b0f
Merge pull request #9160 from jordan-woyak/xinput2-stuck-keys
...
Linux/XInput2: Fix keys being stuck pressed on focus loss.
2020-10-21 20:47:32 +02:00
JosJuice
3a0917371e
Android: Don't show game ID after game title
2020-10-21 20:02:52 +02:00
JosJuice
0dc29c743b
Android: Get game metadata from core
...
Trying to get it from a GameFile before emulation starts is unreliable.
2020-10-21 20:02:52 +02:00
JosJuice
b6fcfcb9c9
Core: Always call Host_TitleChanged on boot
...
A title change to a title with no game ID is still a title change.
2020-10-21 19:57:27 +02:00
JosJuice
1ddf7277b9
Core: Set bWii before calling Host_TitleChanged
2020-10-21 19:57:27 +02:00
Lioncash
22a79289d3
AudioCommon: Migrate logging over to fmt
...
printf specifiers, begone!
2020-10-21 13:32:28 -04:00
Léo Lam
43d11ca3eb
Merge pull request #8962 from JosJuice/android-saf-wad
...
Android: Use storage access framework for importing WADs
2020-10-21 19:16:10 +02:00
Léo Lam
09e87b79f1
Merge pull request #9173 from lioncash/fmtlog
...
Common/Log: Add basic fmt-capable functions to the interface.
2020-10-21 19:11:19 +02:00
Lioncash
425f2aa013
Common/Log: Add basic fmt-capable functions to the interface.
...
Provides a basic extension to the interface to begin migration off of
the printf-based logging system.
Everything will go through macros with the same style naming as the old
logging system, except the macros will have the _FMT suffix, while the
migration is in process.
This allows for peacemeal migration over time instead of pulling
everything out and replacing it all in a single pull request, which
makes for much easier reviewing.
2020-10-21 10:49:35 -04:00
Léo Lam
f265c412b4
Merge pull request #9152 from Ebola16/SP1
...
Android: Convert SharedPreferences to INI Settings (simple cases)
2020-10-21 16:48:18 +02:00
Léo Lam
642eccbfd0
Merge pull request #9174 from lioncash/os
...
Common: Move OSThreads into Core
2020-10-21 15:39:29 +02:00
Lioncash
57534777d4
Common: Move OSThreads into core
...
Common shouldn't be depending on APIs in Core (in this, case depending
on the PowerPC namespace). Because of the poor separation here, this
moves OSThread functionality into core, so that it resolves the implicit
dependency on core.
2020-10-21 07:35:42 -04:00
Lioncash
144f799bbb
ARDecrypt: Resolve seedtable at compile-time
...
We can boot the formation of the table off to the compiler at
compile-time, rather than building the table at run-time.
2020-10-20 19:11:04 -04:00
Jordan Woyak
7e197186b9
Merge pull request #9172 from lioncash/compile
...
ExpressionParser: Add missing <functional> include
2020-10-20 15:23:14 -05:00
Lioncash
faf509e315
ExpressionParser: Add missing <functional> include
...
Unbreaks Windows CMake builds.
2020-10-20 16:18:32 -04:00
Ryan Meredith
353a67824d
Android: Add AndroidOverlayButtons INI section
2020-10-20 12:03:41 -04:00
Ryan Meredith
69adfe0218
Android: Add "Default Values" button for overlay seekbars
2020-10-20 11:59:57 -04:00
Ryan Meredith
cc5802ba04
Android: Convert SharedPreferences to INI Settings (simple cases)
2020-10-20 11:58:54 -04:00
Lioncash
751d67a59a
UberShaderVertex: Migrate over to fmt
...
Continues migration of the shader generators over to fmt.
With this, all that's left to move over are the pixel shaders (regular
and ubershader variants)
2020-10-20 09:24:10 -04:00
Léo Lam
ce59b026c0
Merge pull request #9168 from lioncash/ifconst
...
DataReader: Make use of if constexpr where applicable
2020-10-20 14:56:24 +02:00
Léo Lam
299adf537d
Merge pull request #9021 from AdmiralCurtiss/gui-memcard-format-sram
...
Qt/GCMemcardCreateNewDialog: Use zero values for formatting instead of accessing g_SRAM.
2020-10-20 14:55:23 +02:00
Léo Lam
70ab3bf7b3
Merge pull request #9025 from cyrozap/fix-build-with-older-cmake
...
Fix builds with system LZMA when using versions of CMake before 3.14
2020-10-20 14:51:15 +02:00
Lioncash
7bc2bbc508
DataReader: Make use of if constexpr where applicable
...
We can make use of if constexpr for cases where booleans will always
statically be known at compile-time.
2020-10-20 08:42:32 -04:00
Léo Lam
dc5ae5ee66
Merge pull request #9165 from lioncash/ubercommon
...
UberShaderCommon: Migrate over to fmt
2020-10-20 14:42:19 +02:00
Léo Lam
f653bd7559
Merge pull request #9142 from jordan-woyak/expose-fov
...
WiimoteEmu: Expose IR camera FOV to adjust IMU pointing sensitivity.
2020-10-20 14:32:02 +02:00
Léo Lam
b2709b81a0
Merge pull request #9166 from JosJuice/encryption-cache-move
...
DiscIO: Make WiiEncryptionCache moveable
2020-10-20 14:29:46 +02:00
Léo Lam
96cb27842a
Merge pull request #9048 from shuffle2/msvc-version
...
require msvc 19.27.29111 and Windows SDK 10.0.19041
2020-10-20 13:35:18 +02:00
Léo Lam
2e86e1a998
Merge pull request #9146 from JosJuice/android-disable-cover-download
...
Android: Allow disabling cover downloading
2020-10-20 13:31:01 +02:00
Léo Lam
49b7f10b39
Merge pull request #9163 from lioncash/fbgen
...
FramebufferShaderGen: Migrate over to fmt
2020-10-20 13:25:50 +02:00
Lioncash
83db7a707c
UberShaderCommon: Migrate over to fmt
...
Continues migration of the shader generators over to fmt.
2020-10-20 06:22:48 -04:00
Léo Lam
7b1e0dba9b
Merge pull request #9164 from lioncash/geoshader
...
GeometryShaderGen: Migrate over to fmt
2020-10-20 11:59:45 +02:00
JosJuice
5b6f604d90
DiscIO: Make WiiEncryptionCache moveable
...
Fixes the following warning:
../../../../../../Core\DiscIO/DirectoryBlob.h:156:3: warning: explicitly defaulted move constructor is implicitly deleted [-Wdefaulted-function-deleted]
DirectoryBlobReader(DirectoryBlobReader&&) = default;
^
../../../../../../Core\DiscIO/DirectoryBlob.h:205:22: note: move constructor of 'DirectoryBlobReader' is implicitly deleted because field 'm_encryption_cache' has a deleted move constructor
WiiEncryptionCache m_encryption_cache;
^
2020-10-20 11:33:38 +02:00
Léo Lam
409230e088
Merge pull request #9061 from Ebola16/Fixes3
...
Android: Improve WRITE_EXTERNAL_STORAGE denial
2020-10-20 02:15:08 +02:00
Léo Lam
fc3b474cce
Merge pull request #8318 from iwubcode/dynamic_input_textures
...
InputCommon: Dynamic Input Textures
2020-10-20 02:10:29 +02:00
Léo Lam
911704611e
Merge pull request #9096 from jordan-woyak/calibration-cleanup
...
ControllerEmu: Improve and simplify UpdateCalibrationData.
2020-10-20 02:01:16 +02:00
Léo Lam
98875346bd
Merge pull request #9104 from JosJuice/cmd-unicode
...
DolphinQt: Handle non-ASCII characters in Windows cmd arguments
2020-10-20 01:45:28 +02:00
Léo Lam
680ff4d168
Merge pull request #9136 from JosJuice/volumeverifier-partition-invalid-override
...
VolumeVerifier: Make "no valid data in partition" hide some other errors
2020-10-20 01:39:18 +02:00
Lioncash
5475a8d6eb
GeometryShaderGen: Migrate over to fmt
...
Continues migration of the shader generators over to fmt.
2020-10-19 19:22:02 -04:00
Léo Lam
8a8dc3db83
Merge pull request #8613 from jordan-woyak/expose-disable-ss
...
Config: Expose "DisableScreenSaver" in the UI and default it to true.
2020-10-20 01:20:24 +02:00
Léo Lam
d448bd5bdf
Merge pull request #9154 from Ebola16/RR
...
Android: ConfirmRunnable to RunRunnable with optional confirmation
2020-10-20 00:50:10 +02:00
Lioncash
df11615bde
FramebufferShaderGen: Migrate over to fmt
...
Continures the migration of the shader generators over to fmt.
2020-10-19 18:49:01 -04:00
Jordan Woyak
1dae834c62
WiimoteEmu: Tweak IMUCursor total yaw setting tool-tip.
2020-10-19 17:08:02 -05:00
Jordan Woyak
6b2eebf1f9
WiimoteEmu: Expose IR camera FOV to adjust IMU pointing sensitivity.
2020-10-19 17:08:02 -05:00
Jordan Woyak
907fdd26fc
WiimoteEmu: Use quaternions for orientation.
2020-10-19 16:34:45 -05:00
Jordan Woyak
09431635f3
InputCommon/WiimoteEmu: Replace stateful rotational matrices with quaternions.
2020-10-19 16:33:55 -05:00
Jordan Woyak
39030ea33c
Common/Matrix: Add Quaternion class.
2020-10-19 16:18:31 -05:00
JosJuice
bb03280462
VolumeVerifier: Make "no valid data in partition" hide some other errors
...
Not much use in knowing that the H3 hashes are wrong when the
partition consists of complete garbage.
2020-10-19 21:15:49 +02:00
JosJuice
439866d257
Android: Remove unnecessary JNI function declarations
...
We generally have no reason to call these functions on our own, so
there's not much reason to declare them, especially not in the cpp
file where they're defined. In case we ever do get a reason to do
it, we can add declarations for just the functions that need them.
2020-10-19 20:55:13 +02:00
Admiral H. Curtiss
b93adeaad7
VertexShaderGen: Fix unescaped { in D3D shader.
2020-10-19 20:05:07 +02:00
JosJuice
6380c65ff8
Android: Refetch game metadata after returning from settings
2020-10-19 20:03:47 +02:00
JosJuice
5e70dda4cc
Android: Allow disabling cover downloading
...
In case someone wants to be very careful with how much bandwidth
they use or with what data GameTDB.com collects on you.
This is already an option in DolphinQt (though in DolphinQt it
will switch entirely from using covers to banners when turned off).
2020-10-19 20:03:47 +02:00
JosJuice
195b551d87
Android: Allow reading global settings without a Settings object
...
This makes things more convenient for code that just
wants to read the current value of a setting.
2020-10-19 20:03:47 +02:00
Jordan Woyak
bbb12a7560
Linux/XInput2: Fix keys being stuck pressed on focus loss.
2020-10-19 11:46:01 -05:00
JosJuice
cb14b65aad
CMake: Fix build errors exposed by making common dependent on fmt
2020-10-19 14:36:09 +02:00
JosJuice
1084cfec1a
Add helper function for fmt::format(GetStringT(...
2020-10-19 14:36:08 +02:00
JosJuice
d100c1dc37
DiscIO: Make use of fmt where applicable
...
Once nice benefit of fmt is that we can use positional arguments
in localizable strings. This a feature which has been
requested for the Korean translation of strings like
"Errors were found in %zu blocks in the %s partition."
and which will no doubt be useful for other languages too.
2020-10-19 14:30:47 +02:00
LC
c9b2fbb64b
Merge pull request #9099 from sepalani/so-linger
...
IP/Top: Add SO_LINGER optname
2020-10-19 07:58:51 -04:00
LC
abfae46a2c
Merge pull request #9100 from sepalani/gethostid-log
...
IP/Top: Log IOCTL_SO_GETHOSTID properly
2020-10-19 07:58:15 -04:00
LC
49c7a5b289
Merge pull request #9121 from Sammi-Husky/bat-registers
...
DolphinQt/Debugger: Fix DBAT and IBAT registers in RegisterWidget
2020-10-19 07:56:42 -04:00
LC
fc5fbf5134
Merge pull request #9127 from Sintendo/fselx-movsd
...
Jit64: Optimize fsel a bit more
2020-10-19 07:55:40 -04:00
LC
cec47b9c32
Merge pull request #8981 from lioncash/vtx-fmt
...
LightingShaderGen/VertexShaderGen: Migrate over to fmt
2020-10-19 07:52:55 -04:00
LC
5722c680a4
Merge pull request #8006 from JosJuice/qt-rtl
...
DolphinQt: Enable RTL layout
2020-10-19 07:46:40 -04:00
Léo Lam
0de6a32f4c
Qt/QtUtils: Fix accidental recursion in ParallelProgressDialog
...
Seems to be a typo.
2020-10-19 12:39:10 +02:00
Léo Lam
a209410e70
Merge pull request #9148 from JosJuice/android-active-layer
...
Android: Fix setting read during play with local game layer active
2020-10-19 12:17:59 +02:00
Léo Lam
b3cb08830b
Merge pull request #9155 from JosJuice/tas-slider-right-click
...
DolphinQt: Reset TAS input slider to default on right-click
2020-10-19 12:09:23 +02:00
Léo Lam
150282f7b2
Merge pull request #9156 from JosJuice/android-alertmsg-outside-emulation
...
Android: Show alert messages as toasts outside of emulation
2020-10-19 11:55:24 +02:00
Jordan Woyak
50ec747840
Clean up screen saver inhibition and apply setting change immediately.
2020-10-18 16:31:48 -05:00
Jordan Woyak
fa83a3a114
DolphinQt: Expose "DisableScreenSaver" setting in the UI.
2020-10-18 16:31:46 -05:00
Jordan Woyak
50384cfab7
Config: Make "DisableScreenSaver" default to true.
2020-10-18 12:26:00 -05:00
JosJuice
8d91b4ea8c
Android: Show alert messages as toasts outside of emulation
...
It would be difficult to use the AlertMessage class for
messages that need to be showed outside of emulation,
but showing them as toasts is better than not showing them.
2020-10-18 16:06:46 +02:00
Ryan Meredith
d8c5f4323b
Android: ConfirmRunnable to RunRunnable with optional confirmation
2020-10-18 07:48:35 -04:00
JosJuice
6670226a44
DolphinQt: Reset TAS input slider to default on right-click
...
This is a feature which existed in DolphinWX. Seems like it got
implemented in DolphinQt for IRWidget/StickWidget but not sliders.
2020-10-18 13:47:00 +02:00
Sergei Trofimovich
af2a881a85
Source/Core/DiscIO/WIACompression.cpp: add missing <limits> include
...
Noticed missing include as a build failure on gcc-11:
```
[ 26%] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/WIACompression.cpp.o
../../../../Source/Core/DiscIO/WIACompression.cpp: In lambda function:
../../../../Source/Core/DiscIO/WIACompression.cpp:170:31: error: 'numeric_limits' is not a member of 'std'
170 | std::min<size_t>(std::numeric_limits<unsigned int>().max(), x));
| ^~~~~~~~~~~~~~
../../../../Source/Core/DiscIO/WIACompression.cpp:170:46: error: expected primary-expression before 'unsigned'
170 | std::min<size_t>(std::numeric_limits<unsigned int>().max(), x));
| ^~~~~~~~
```
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-10-15 19:56:53 +01:00
JosJuice
16f5a50cfc
Merge pull request #9144 from JosJuice/confirm-runnable-finish
...
Android: Remove finish from ConfirmRunnableViewHolder
2020-10-15 18:44:01 +02:00
Léo Lam
ab2e226df8
Merge pull request #9105 from JosJuice/volumeverifier-small-low-severity
...
VolumeVerifier: Make high severity "too small" hide low severity "too small"
2020-10-14 12:41:57 +02:00
Léo Lam
ebeca05000
Merge pull request #9119 from JosJuice/android-seekbar-min
...
Android: Correct SliderSetting minimum value behavior on API < 26
2020-10-14 12:38:29 +02:00
Léo Lam
c3cdac4863
Merge pull request #9137 from JosJuice/zstd-ram-usage
...
DiscIO: Decrease RAM usage during zstd compression
2020-10-14 12:35:38 +02:00
Léo Lam
b24223c178
Merge pull request #9135 from JosJuice/show-nkit
...
Show NKitness in file format string
2020-10-14 12:19:53 +02:00
Léo Lam
5ab95d7f6a
Merge pull request #9145 from jordan-woyak/sound-touch-defaults
...
AudioStretcher: Keep default parameters.
2020-10-14 12:16:58 +02:00
JosJuice
2861248520
Android: Fix setting read during play with local game layer active
...
During emulation, when LocalGame has a value but CurrentRun
doesn't, we want to read from LocalGame, not CurrentRun. This
change exposes a LAYER_ACTIVE option that handles this correctly.
2020-10-13 16:35:33 +02:00
Jordan Woyak
3e6599b890
AudioStretcher: Keep default parameters.
2020-10-11 12:43:45 -05:00
JosJuice
28b640fb0d
Android: Remove finish from ConfirmRunnableViewHolder
2020-10-11 10:34:12 +02:00
JosJuice
5a939ccfaf
Merge pull request #8833 from Ebola16/Panic
...
Android: Use DialogFragment for AlertMessage
2020-10-10 21:03:52 +02:00
Techjar
0c01712d13
DriverDetails: Remove bug for broken GPU Texture Decoding
2020-10-08 10:13:40 -04:00
Techjar
de2d099200
Re-enable GPU Texture Decoding under MoltenVK
2020-10-08 10:11:02 -04:00
nickbeth00
f0b2f51e1d
android: add SENSOR_REVERSE_LANDSCAPE as an option
2020-10-08 09:22:10 +02:00
JosJuice
3feea108db
DiscIO: Decrease RAM usage during zstd compression
...
By calling ZSTD_CCtx_setPledgedSrcSize, we can let zstd know
how large a chunk is going to be before which start compressing
it, which lets zstd avoid allocating more memory than needed
for various internal buffers. This greatly reduces the RAM usage
when using a high compression level with a small chunk size,
and doesn't have much of an effect in other circumstances.
A side effect of calling ZSTD_CCtx_setPledgedSrcSize is that
zstd by default will write the uncompressed size into the
compressed data stream as metadata. In order to save space,
and since the decompressed size can be figured out through
the structure of the RVZ format anyway, we disable writing
the uncompressed size by setting ZSTD_c_contentSizeFlag to 0.
2020-10-07 16:40:06 +02:00
JosJuice
d64fc67b04
Show NKitness in file format string
...
To make people more aware that they're not using a normal disc image.
2020-10-06 19:35:00 +02:00
Isira Seneviratne
1c9132ba2b
Use Instant in StartupHandler.
2020-10-06 09:09:04 +05:30
Isira Seneviratne
200f8906d8
Enable support for Java 8 API desugaring.
2020-10-06 09:08:23 +05:30
JosJuice
63f5fa6e19
Replace geckocodes.org with mirror codes.rc24.xyz
2020-10-05 22:18:04 +02:00
LC
c2975c8cb5
Merge pull request #9131 from JosJuice/nkit-mgs
...
Add Metal Gear Solid: The Twin Snakes to NKit warning message
2020-10-05 10:50:48 -04:00
JosJuice
568f226937
Add Metal Gear Solid: The Twin Snakes to NKit warning message
...
Unlike Super Paper Mario, this game doesn't crash as soon as you
try to start it, but rather if you try to skip a certain cutscene.
Thanks to JMC for letting me know about this.
2020-10-04 12:22:27 +02:00
iwubcode
4fff04db3c
Core: Load custom textures after inputs has been loaded and avoid sending force texture reload during startup for dynamic textures. This ensures that custom texture loading only happens once and users don't see any weird flashes on startup
2020-10-03 17:10:36 -05:00
iwubcode
fd3af4c5d3
InputCommon: Introducing the "Dynamic Input Texture". Configuration links an emulated input action to an image based on what host key is defined for that emulated input. Specific regions are called out in configuration that mark where to replace an input button with a host key image.
2020-10-03 17:10:35 -05:00
iwubcode
8a1539f948
VideoCommon: Make a reusable free function for getting top level directories that have a matching gameid text file underneath
2020-10-03 17:10:35 -05:00
Sintendo
3499cedde4
Jit64: fselx - Skip MOVAPS + MOVSD (SSE4.1)
...
For the non-packed variant of this instruction, a MOVSD instruction was
generated to copy only the lower 64 bits of XMM1 to the destination
register. This was done in order to keep the destination register's
upper half intact.
However, when register c and the destination register are the same,
there is no need for this copy. Because the registers match and due to
the way the mask is generated, BLENDVPD will end up taking the upper
half from the destination register, as intended.
Additionally, the MOVAPS to copy Rc into XMM1 can also be skipped.
Before:
66 0F 57 C0 xorpd xmm0,xmm0
F2 41 0F C2 C6 06 cmpnlesd xmm0,xmm14
41 0F 28 CE movaps xmm1,xmm14
66 41 0F 38 15 CA blendvpd xmm1,xmm10,xmm0
F2 44 0F 10 F1 movsd xmm14,xmm1
After:
66 0F 57 C0 xorpd xmm0,xmm0
F2 41 0F C2 C6 06 cmpnlesd xmm0,xmm14
66 45 0F 38 15 F2 blendvpd xmm14,xmm10,xmm0
2020-10-03 18:28:41 +02:00
Sintendo
9ac324aed3
Jit64: fselx - Skip MOVSD (AVX)
...
For the non-packed variant of this instruction, a MOVSD instruction was
generated to copy only the lower 64 bits of XMM1 to the destination
register. This was done in order to keep the destination register's
upper half intact.
However, when register c and the destination register are the same,
there is no need for this copy. Because the registers match and due to
the way the mask is generated, VBLENDVPD will end up taking the upper
half from the destination register, as intended.
Before:
66 0F 57 C0 xorpd xmm0,xmm0
F2 41 0F C2 C6 06 cmpnlesd xmm0,xmm14
C4 C3 09 4B CA 00 vblendvpd xmm1,xmm14,xmm10,xmm0
F2 44 0F 10 F1 movsd xmm14,xmm1
After:
66 0F 57 C0 xorpd xmm0,xmm0
F2 41 0F C2 C6 06 cmpnlesd xmm0,xmm14
C4 43 09 4B F2 00 vblendvpd xmm14,xmm14,xmm10,xmm0
2020-10-03 18:28:27 +02:00
Connor McLaughlin
a8df2caba9
Merge pull request #9125 from stenzek/vulkan-validation
...
Vulkan: Use VK_LAYER_KHRONOS_validation for validation
2020-10-02 20:18:13 +10:00
Christian Aguilera
ee13e6ec80
Improved responsiveness when refreshing game list.
2020-10-01 22:10:16 +02:00
Christian Aguilera
4ca92464c0
**Refresh** and **Purge Game List Cache** now correctly enabled/disabled as notified by GameListRefreshRequested and GameListRefreshCompleted.
2020-10-01 22:09:45 +02:00
Christian Aguilera
bada677c5a
Avoid using unnecessary RunOnObject() calls in GameTracker's worker thread to prevent deadlocks on shutdown.
2020-10-01 22:09:45 +02:00
Christian Aguilera
dc7b92651f
Ensured that GameTracker's internal worker thread is flushed on exit to avoid crashes when accessing stale, already-destroyed data, and to favor responsiveness.
2020-10-01 22:09:45 +02:00
Christian Aguilera
213610e95d
Extended WorkQueueThread class with Clear(), Cancel() and IsCancelled().
2020-10-01 22:09:45 +02:00
Christian Aguilera
5b757024c4
GameListModel instance ownership transferred back to the GameList instance. The GameListModel instance will be passed as a constructor parameter where needed.
2020-10-01 22:09:45 +02:00
Christian Aguilera
0d02e70d4a
Removed all references to GameListModel from the Settings component.
2020-10-01 22:09:45 +02:00
Sepalani
6675186520
Socket: Set SO_NOSIGPIPE on macOS
2020-10-01 13:25:34 +04:00
Stenzek
24bb947eff
Vulkan: Use VK_LAYER_KHRONOS_validation for validation
...
VK_LAYER_LUNARG_standard_validation is deprecated.
2020-10-01 17:21:46 +10:00
JosJuice
f065525a48
Android: Correct SliderSetting minimum value behavior on API < 26
2020-10-01 00:07:56 +02:00
JMC47
31524288e3
Merge pull request #9116 from jordan-woyak/fix-wm-netplay
...
Core/NetPlay: Fix Wii Remote syncing.
2020-09-30 17:42:30 -04:00
Sammi Husky
fa866062ca
DolphinQt/Debugger: Fix DBAT and IBAT registers in RegisterWidget
2020-09-29 22:11:21 -07:00
JMC47
ebdcddfcd0
Merge pull request #9120 from JosJuice/controller-defaults
...
Fix controller defaults being empty on fresh run
2020-09-29 18:38:11 -04:00
JosJuice
623340bbbb
Fix controller defaults being empty on fresh run
...
A very early call to Config::Save is now creating empty
controller INI files.
https://bugs.dolphin-emu.org/issues/12283
2020-09-29 21:49:22 +02:00
Jordan Woyak
0295d470b1
ControllerEmu: Increase "IMUPointer" "Total Yaw" default value to match that of regular "Point" settings.
...
Removed "Total Yaw" from included Wii remote input profile to take on the default value.
2020-09-28 18:09:34 -05:00
Jordan Woyak
f766c89a08
ControllerEmu: Increase Total Yaw/Pitch default values to compensate for new FOV and to reach screen edges in the Wii Menu.
2020-09-28 18:09:34 -05:00
Jordan Woyak
f9280d0f66
ControllerInterface/Wiimote: Add "IR Distance" input providing a calculated distance from sensor bar in meters.
2020-09-28 18:09:34 -05:00
Jordan Woyak
761f7798c9
WiimoteEmu: Increase Camera FOV constants to 42 by 31.5 degrees.
2020-09-28 18:09:34 -05:00
Jordan Woyak
1063c4e940
MathUtil: Add Population (vs Sample) versions of Variance and StandardDeviation to RunningVariance.
2020-09-28 18:09:33 -05:00
Jordan Woyak
8f8509afc3
Core/NetPlay: Fix Wii Remote syncing.
2020-09-27 13:10:19 -05:00
JosJuice
960750003e
Merge pull request #9112 from Ebola16/setmin
...
Android: seekbar.setMin requires API level 26
2020-09-27 17:36:05 +02:00
Ryan Meredith
42b2d11f8d
Android: seekbar.setMin requires API level 26
2020-09-26 23:55:16 -04:00
Jordan Woyak
6cb14a9a54
Merge pull request #9115 from jordan-woyak/default-modifiers
...
Core: Unbreak default keyboard mappings.
2020-09-26 10:20:57 -05:00
Jordan Woyak
1dc0e0565d
Merge pull request #9114 from JosJuice/android-zstd-levels
...
Android: Fix convertCompressionLevelZstdValues
2020-09-26 08:41:43 -05:00
Jordan Woyak
24771aac5a
Core: Unbreak default keyboard mappings.
2020-09-26 08:25:56 -05:00
JosJuice
bdfce1cd13
Android: Fix convertCompressionLevelZstdValues
...
That's what I get for copy-pasting
2020-09-26 11:25:54 +02:00
Connor McLaughlin
aea0239071
Merge pull request #9109 from stenzek/msaa-efb-readback
...
FramebufferManager: Fix EFB readbacks with MSAA on
2020-09-26 17:46:16 +10:00
Jordan Woyak
431eb4d60d
ExpressionParser: Improve hotkey suppression logic. Allow activation with simultaneous press of modifier and final input.
2020-09-25 22:51:33 -05:00
Jordan Woyak
44927da420
ExpressionParser: Replace ScopeGuard with custom deleter unique_ptr.
2020-09-25 22:51:33 -05:00
Jordan Woyak
48b76ff90f
InputCommon: Improve input detection to produce buton combinations.
2020-09-25 22:51:32 -05:00
Jordan Woyak
d8ad8c3861
InputCommon: Make hotkeys and input detection aware of Ctrl -> L_Ctrl / R_Ctrl hierarchy.
2020-09-25 20:29:18 -05:00
Jordan Woyak
aae913fbc6
InputCommon: Clean up modifier ignoring logic.
2020-09-25 20:29:18 -05:00
Jordan Woyak
f7bf26cd60
Core: Clean up default hotkey expressions.
2020-09-25 20:29:18 -05:00
Jordan Woyak
f015c99a51
ControllerInterface: Add platform consistent names for modifier keys.
2020-09-25 20:29:18 -05:00
Jordan Woyak
d2729df281
ExpressionParser: Allow duplicate and superset modifier hotkeys to function.
2020-09-25 20:29:18 -05:00
Jordan Woyak
b3acc7403f
InputCommon: Support detecting combinations of inputs. (Hotkeys)
2020-09-25 20:29:18 -05:00
Jordan Woyak
e6ba495486
ExpressionParser: Suppress inputs when hotkey modifiers are pressed.
2020-09-25 20:29:18 -05:00
Jordan Woyak
52547379c9
ExpressionParser: Add Hotkey syntax.
2020-09-25 20:29:18 -05:00
Ryan Meredith
c3f34ac3fa
Android: Add "Ignore for this session" to Warning AlertMessages
2020-09-25 11:50:59 -04:00
Ryan Meredith
991eb6ae83
Android: Use DialogFragment for AlertMessage
2020-09-25 11:50:04 -04:00
Stenzek
880f7ca6bb
FramebufferManager: Fix EFB readbacks with MSAA on
...
Regression from #8827 .
2020-09-25 20:58:02 +10:00