Commit Graph
100 Commits
Author SHA1 Message Date
Léo Lam 1719e634b2 Merge pull request #9190 from iwubcode/enable_vulkan_windows_solution
VideoCommon: enable vulkan in windows solution, update CMake vulkan option to match opengl
2020-10-24 21:01:39 +02: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
Léo Lam 271676a7c8 Merge pull request #7395 from mazes-80/11374
Cmake option to enable/disable vulkan video backend
2020-10-23 20:31:36 +02: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
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
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 83b80b289b Merge pull request #9134 from SpaceXCheeseWheel/patch-1
Shaders: Remove AsciiArt shader
2020-10-22 01:14:01 +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
Léo Lam 3176f4d790 Merge pull request #9180 from lioncash/mat-cexpr
Common/Matrix: Allow TVec classes to be used in constexpr contexts
2020-10-22 00:31:59 +02: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
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 548bfbe2a2 Merge pull request #8917 from jwsharpe/require/zstd
Pushed required version of lib-zstd to 1.4.0 or higher
2020-10-21 22:27:50 +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
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
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
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
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
Léo Lam eb5e1e6151 Merge pull request #9175 from lioncash/action
ARDecrypt: Resolve seedtable at compile-time
2020-10-21 15:35:10 +02:00
Léo Lam 47059f6388 Merge pull request #9113 from ShiftaDeband/ini/FixPSOTrials
Add .ini configuration files for Phantasy Star Online Episode I&II Trial Edition and Episode III Trial Edition
2020-10-20 15:34:39 +02: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
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
Léo Lam 05194bc67e Merge pull request #9149 from altimumdelta/readme_add_buildbot_link
Readme: Add Buildbot header link
2020-10-20 12:24:04 +02: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
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 b26c2e7adb Merge pull request #9094 from Pokechu22/wii-fit-ini-note
Add INI note for Wii Fit and Wii Fit Plus
2020-10-20 02:07:52 +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
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 55b4924899 Merge pull request #9159 from JosJuice/qt-predefined-translate
Fix predefined Qt strings not getting translated
2020-10-20 00:52:52 +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
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
Léo Lam 653f89701d Merge pull request #9151 from trofi/master
Source/Core/DiscIO/WIACompression.cpp: add missing <limits> include
2020-10-15 21:14:24 +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
Léo Lam d1439a1fa9 IOS/USB: Move scan thread logic into a separate class
This moves the scan thread logic and variables into a separate
ScanThread class. By turning ScanThread instances into members of the
most derived class, this ensures that the scan thread is always
properly stopped when the most derived class is destructed and fixes
a race condition that could cause the scan thread to call virtual
member functions from a derived class whose members have already
been destructed.

A drawback of this approach is that the scan thread must be the last
member variable, so this commit also adds static assertions to ensure
that the assumption stays valid.
2020-08-17 15:14:45 +02:00
Léo Lam 55c931d624 Merge pull request #8995 from Tilka/warnings
Fix some more GCC warnings
2020-08-17 14:49:28 +02:00
Léo Lam 6104018fe1 Merge pull request #9020 from Tilka/usb
IOS/USB: fix potential race condition
2020-08-17 12:15:26 +02:00
Léo Lam c9945670f0 Merge pull request #9029 from shuffle2/vs-clean
vs/msbuild: fix the build generating log files in source dirs
2020-08-17 12:13:45 +02:00
Léo Lam fee6bef252 Merge pull request #9032 from shuffle2/msbuild-unittests
UnitTests: avoid using glob to find compilation units
2020-08-17 12:11:59 +02:00
Léo Lam a660033e8c Merge pull request #8792 from leoetlino/video-backend
Migrate video backend setting to the new config system
2020-05-24 15:26:44 +02:00
Léo Lam 1203e626b3 Merge pull request #8800 from sepalani/kd-shutdown
IOS/KD: Implement IOCTL_NWC24_REQUEST_SHUTDOWN
2020-05-24 15:24:51 +02:00
Léo Lam 166633bf27 Merge pull request #8826 from iwubcode/try_parse_any_base
Common / Core: Update StringUtil to allow specifying the base
2020-05-24 15:13:49 +02:00
Léo Lam 7449c7153c Merge pull request #8830 from JosJuice/delete-empty-rfl-db
CheckNAND: Delete RFL_DB.dat if empty
2020-05-24 15:12:39 +02:00
Léo Lam 8df56cb319 Migrate video backend setting to the new config system
Fixes https://bugs.dolphin-emu.org/issues/12087
2020-05-22 16:54:53 +02:00
Léo Lam 393ce529af Merge pull request #8771 from Leseratte10/master
Add /dev/dolphin interface to allow game to read the REAL product code
2020-05-22 16:49:31 +02:00
Léo Lam 7aec045ef7 Merge pull request #8799 from Ebola16/AT
Android: Consistent TODO formatting
2020-05-22 16:44:43 +02:00
Léo Lam 47ee5ac284 WiiRoot: Fix empty files being created when source is missing
CopyNandFile must not create empty files on the destination filesystem
if the source file doesn't exist.

Otherwise, this can lead to an empty Mii database being created in the
session Wii root if there's no database in the configured Wii root and
netplay or Movie is used -- that database would then be copied back to
the configured root, which causes games like MKW to complain about
corrupted Mii data even when the player has stopped using netplay.

This commit also simplifies CreateFullPath usage.
There's no need to manually extract the directory from the path,
FS::CreateFullPath does it automatically just like File::CreateFullPath
2020-05-09 16:47:45 +02:00
Léo Lam 1bedbdf3c0 Merge pull request #8687 from howard0su/warning_jitblock
Jit: remove warning -Winvalid-offsetof
2020-05-04 18:35:08 +02:00
Léo Lam 7c0ef725ab Merge pull request #8744 from cristian64/save_restore_netplay_browser_settings
DolphinQt: Saving and restoring NetPlay Session Browser dialog's settings.
2020-05-04 00:50:26 +02:00
Léo Lam c53ecdd689 Merge pull request #8686 from sepalani/thread-tab
Debugger: Add a Thread widget
2020-05-04 00:50:10 +02:00
Léo Lam 947d6732a8 Merge pull request #8712 from sepalani/console-type
Boot: Add ConsoleType enum class
2020-05-03 23:10:44 +02:00
Léo Lam 9ffa72ad1f Merge pull request #8691 from howard0su/warning_wiimote
WiimoteEmu: Cleanup warnings of -Wparentheses
2020-05-03 18:31:57 +02:00
Léo Lam 297bbceadf Remove redundant "Emulation" from "DSP HLE Emulation"
HLE stands for "high-level emulation", so "DSP HLE Emulation" would
mean "DSP High-Level Emulation Emulation"
2020-05-03 17:54:05 +02:00
Léo Lam 6e01855e8e Merge pull request #8770 from Ebola16/ADSP
Android: Add DSP Emulation Engine
2020-05-03 17:51:46 +02:00
Léo Lam 907b1302b0 Merge pull request #8775 from leoetlino/rect
MathUtil: Fix Rectangle::GetWidth/Height for unsigned types
2020-05-03 15:41:38 +02:00
Léo Lam 920cf38889 Merge pull request #8757 from sepalani/so-cleanup
IOS/KD: Cleanup sockets on IOCTL_NWC24_CLEANUP_SOCKET
2020-05-03 15:41:14 +02:00
Léo Lam 1b26929119 Merge pull request #8789 from JosJuice/windows-cmake-errors
Fix Windows CMake build errors
2020-05-03 15:33:58 +02:00
Léo Lam 07ab79db64 MathUtil: Fix Rectangle::GetWidth/Height for unsigned types
`std::abs(x - y)` where x and y are unsigned integers fails to compile
with an "call of overloaded 'abs(unsigned int)' is ambiguous" error
on GCC, and even if it did compile, that expression still wouldn't
give the correct result since `x - y` is unsigned.
2020-05-03 14:41:58 +02:00
Léo Lam 0ab9475f8e Merge pull request #8786 from JosJuice/user-style-not-path
DolphinQt: Store name of user style, not path
2020-05-03 14:11:55 +02:00
Léo Lam 90ba73c6c2 Merge pull request #8787 from leoetlino/config-config
Remove redundant Config prefix from ConfigInfo/ConfigLocation
2020-05-03 14:07:41 +02:00
Léo Lam 19da101164 Remove redundant Config prefix from ConfigInfo/ConfigLocation
Both structs are already in the Config namespace.
2020-05-02 14:40:14 +02:00
Léo Lam 47d1dec723 Merge pull request #8783 from JosJuice/i18n-comments
DolphinQt: Add some i18n comments for recently added strings
2020-05-02 02:12:27 +02:00
Léo Lam c72b18361f Merge pull request #8784 from JosJuice/memory-size-mismatch
Don't assume fixed width for "Emulated memory size mismatch!" message
2020-05-02 02:11:57 +02:00
Léo Lam ac18f7e884 Merge pull request #7996 from AdmiralCurtiss/memcard-manager-create-new
GCMemcard/MemcardManager: Make creating a new card more explicit and UX-friendly.
2020-04-29 00:20:08 +02:00
Léo Lam 4b00ddf9aa Merge pull request #8722 from Minty-Meeo/master
Configurable MEM1 and MEM2 sizes at runtime via Dolphin.ini
2020-04-28 22:11:12 +02:00
Léo Lam 401b582b40 Merge pull request #8151 from lioncash/jit_tables
Jit64/Jit64_Tables: Construct tables at compile-time
2020-04-28 18:03:07 +02:00
Léo Lam 82012c4cd6 Merge pull request #8272 from lioncash/overload
DolphinQt: Use qOverload where applicable
2020-04-28 16:59:43 +02:00
Léo Lam 58de3c59ce Merge pull request #8654 from 3t13nn3/HotkeyControllerProfile
Qt: Fix Hotkey Controller Profile display with boxes for each Wiimote
2020-04-28 16:17:36 +02:00
Léo Lam 93abbc66aa Merge pull request #8688 from howard0su/cleanup_strncpy
Remove warning of -Wstringop-truncation
2020-04-28 14:28:30 +02:00
Léo Lam 7390767008 Merge pull request #8668 from sepalani/rso-autodetect
RSO: Auto-detect RSO location in RAM
2020-04-28 14:27:13 +02:00
Léo Lam 0fe4985f8d Merge pull request #8689 from howard0su/cleanup_sign
Remove warnings of -Wsign-compare
2020-04-28 13:36:21 +02:00
Léo Lam d11a83e205 Merge pull request #8694 from howard0su/cleanup_switch
Cleanup warnings of -Wswitch
2020-04-28 13:35:15 +02:00
Léo Lam 586af0a55e Merge pull request #8695 from howard0su/warning_hw
HW: cleanup warnings of -Wtype-limits
2020-04-28 13:13:22 +02:00
Léo Lam fa7d6c8993 Merge pull request #8769 from Ebola16/SCDDD
Android: Fix MenuTag typo
2020-04-28 12:06:04 +02:00
Léo Lam 8f578fd2b9 Merge pull request #8704 from JosJuice/setting-txt-output-null
SettingsHandler: Don't output null bytes
2020-04-28 12:02:39 +02:00
Léo Lam 7a77abb815 Merge pull request #8753 from sepalani/network-tab
Debugger: Add a Network widget
2020-04-27 20:38:12 +02:00
Léo Lam 88ae4c7914 Merge pull request #8729 from JosJuice/android-touch-ir-default
Android: Use touch emulation of IR by default
2020-04-27 17:56:01 +02:00
Léo Lam c36a78eff8 Merge pull request #8707 from tellowkrinkle/FixCMakeSymlinkMac
Match path type to BundleUtilities when running fixup_bundle
2020-04-27 17:53:54 +02:00