Léo Lam
6e8881a426
IOS: Remove unnecessary and unused PrepareForState
...
PrepareForState is now unnecessary with the new implementation of
HostFileSystem::DoState, which does what the old implementation
(CWII_IPC_HLE_Device_FileIO::PrepareForState) used to do.
2021-02-13 16:56:29 +01:00
Léo Lam
2f85b80b7b
Merge pull request #9333 from Pokechu22/sw-always-divide-by-q
...
Software: Always divide the texture coordinates by q.
2021-02-13 13:24:18 +01:00
JosJuice
4e107935ac
Arm64Emitter: Allow specifying 21th bit of ADRP imm
2021-02-13 11:33:27 +01:00
JosJuice
d226b8f825
Arm64Emitter: Remove optimize parameter from MOVI2R
...
I don't really see the use of this. (Maybe in the past it
was used for when we need a constant number of instructions
for backpatching? But we don't use MOVI2R for that now.)
2021-02-13 11:33:27 +01:00
Pokechu22
7d5ae03219
Software: Always divide the texture coordinates by q.
...
Equivalent to da43f9a15
for the software renderer.
2021-02-12 16:37:47 -08:00
Léo Lam
99fc1c682a
IOS: Simplify unnecessarily qualified names
...
Now that the ES class (now called ESDevice) and the ES namespace do
not conflict anymore, "IOS::" can be dropped in a lot of cases.
This also removes "IOS::HLE::" for code that is already in that
namespace. Some of those names used to be explicitly qualified
only for historical reasons.
There are no functional changes.
2021-02-13 01:36:09 +01:00
Léo Lam
a2fa89b15e
Merge pull request #9502 from JosJuice/android-dol-elf-details
...
Android: Adjust logic for DOL/ELF long press
2021-02-13 01:03:26 +01:00
Léo Lam
3e1646adae
Merge pull request #9504 from leoetlino/ios-class-name-cleanup
...
IOS: Use less ambiguous names for classes
2021-02-13 01:00:16 +01:00
Léo Lam
522cb6b137
IOS: Use less ambiguous names for classes
...
Some of the device names can be ambiguous and require fully or partly
qualifying the name (e.g. IOS::HLE::FS::) in a somewhat verbose way.
Additionally, insufficiently qualified names are prone to breaking.
Consider the example of IOS::HLE::FS:: (namespace) and
IOS::HLE::Device::FS (class). If we use FS::Foo in a file that doesn't
know about the class, everything will work fine. However, as soon as
Device::FS is declared via a header include or even just forward
declared, that code will cease to compile because FS:: now resolves
to Device::FS if FS::Foo was used in the Device namespace.
It also leads to having to write IOS::ES:: to access ES types and
utilities even for code that is already under the IOS namespace.
The fix for this is simple: rename the device classes and give them
a "device" suffix in their names if the existing ones may be ambiguous.
This makes it clear whether we're referring to the device class or to
something else.
This is not any longer to type, considering it lets us get rid of the
Device namespace, which is now wholly unnecessary.
There are no functional changes in this commit.
A future commit will fix unnecessarily qualified names.
2021-02-12 21:40:31 +01:00
Léo Lam
09c9fdf71c
Merge pull request #9505 from Pokechu22/bitfield-natvis
...
Restore BitField Natvis
2021-02-12 12:36:59 +01:00
Sepalani
fabf6f51cd
PCAP: Improve TCP session logging
2021-02-12 13:42:18 +04:00
Pokechu22
0102914323
Restore BitField Natvis
...
It was lost in #9092 .
2021-02-11 23:31:27 -08:00
iwubcode
ce7db2e32b
InputCommon: When using dynamic input textures, only call force reload textures once for packs that have multiple configurations
2021-02-11 19:18:38 -06:00
iwubcode
0a9c764dc4
VideoCommon: Join the prefetch thread before clearing to avoid a potential crash that can occur by multiple threads touching a single resource
2021-02-11 19:18:38 -06:00
JosJuice
296efad2e3
Android: Add missing "World" entry in country list
...
Fixes an IndexOutOfBoundsException. (Yeah, attempts at having
cross-language enums are kinda fragile...)
2021-02-11 22:35:18 +01:00
JosJuice
606e6ca3ba
Android: Adjust logic for DOL/ELF long press
...
Android follow-up for 83c1277
. Removes some now unnecessary code
and disables "Set as Default ISO" for DOL, ELF and WAD files.
2021-02-11 22:32:20 +01:00
Léo Lam
bf758fbe7c
Merge pull request #9490 from Dentomologist/fix_expression_scroll_wheel_spam
...
Config: Fix expression window scroll wheel spam
2021-02-11 21:42:00 +01:00
Léo Lam
3ce72d4005
Merge pull request #9408 from sepalani/sni
...
SSL: Workaround to remove SNI from ClientHello
2021-02-11 21:38:41 +01:00
Sepalani
2a15bc6ab2
SSL: Workaround to remove SNI from ClientHello
2021-02-11 23:13:59 +04:00
Léo Lam
a354814240
Merge pull request #9424 from Pokechu22/sw-no-special-case
...
Software: Remove normalization special case
2021-02-11 19:36:45 +01:00
Léo Lam
1fc6fbc2c0
Merge pull request #6075 from sepalani/pcap-log
...
PCAP logging with fake TCP/UDP packet
2021-02-11 00:15:37 +01:00
Léo Lam
ddacbf83f6
Merge pull request #9461 from cbartondock/master
...
Working Game IDs for Elf/Dol files
2021-02-10 22:50:40 +01:00
Léo Lam
1e71904cb9
Merge pull request #9495 from leoetlino/wiki-redirect
...
Qt: Fix "open wiki" option not using the wiki redirect script
2021-02-10 13:14:47 +01:00
Léo Lam
118b2a3580
Core/DSP: Fix improper uses of offsetof
...
According to the C standard, an offsetof expression must evaluate to an
address constant, otherwise it's undefined behavior.
Fixes https://bugs.dolphin-emu.org/issues/12409
See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95942
There are still improper uses of offsetof (mostly in JitArm64) but
fixing that will take more effort since there's a PPCSTATE_OFF wrapper
macro that is sometimes used with non-array members and sometimes used
with arrays and variable indices... Let's keep that for another PR.
2021-02-10 02:03:16 +01:00
Dentomologist
43b389410a
Config: Fix expression window scroll wheel spam
...
Fixes the expression window being spammed with the first entry in the
Operators or Functions select menus when scrolling the mouse wheel while
hovering over them.
Fixes https://bugs.dolphin-emu.org/issues/12405
2021-02-09 08:55:01 -08:00
JosJuice
3e4bf57c69
Merge pull request #9423 from MerryMage/arm64-movi2r-test
...
UnitTests: Add MOVI2R test
2021-02-08 10:58:09 +01:00
Markus Wick
9a2d908aba
Merge pull request #9400 from JosJuice/jitarm64-imm
...
JitArm64: More constant propagation optimizations
2021-02-08 10:53:01 +01:00
Léo Lam
7ef8e53c4a
Qt: Fix "open wiki" option not using the wiki redirect script
...
The dolphin-redirect.php script seems to have been present since 2012
at least, but we accidentally stopped using it when the "open wiki"
feature was reimplemented in DolphinQt2 in 2016.
<@delroth> dolphin-redirect.php is slightly smarter and tries to find gameid aliases for e.g. same region
<@delroth> uh, I mean different region
2021-02-08 02:52:29 +01:00
JosJuice
761d7748b6
JitArm64: Fix mistaken use of LSL imm
2021-02-07 13:55:55 +01:00
JosJuice
efeda3b759
JitArm64: More constant propagation optimizations
...
PR 9262 added a bunch of Jit64 optimizations, some of
which were already in JitArm64 and some which weren't.
This change ports the latter ones to JitArm64.
2021-02-07 13:55:35 +01:00
Errorcodebin
8a3fe6e24a
Fix mapping window title bar becoming unresponsive
2021-02-04 14:32:03 +01:00
Markus Wick
b6e9cca64f
Merge pull request #9485 from JosJuice/jitarm64-pc-stp
...
JitArm64: Use STP for pc/npc
2021-02-03 12:22:37 +01:00
iwubcode
77c68a3142
DolphinQt: Fix regression that caused the regex expression to be evaluated incorrectly. If an input expression has a non-alpha character in it, we want to quote it with backticks
2021-02-02 20:36:54 -06:00
MerryMage
1ab7657120
MovI2R: Do not exhaustively test
2021-01-31 13:17:31 +00:00
MerryMage
fe9207bb56
UnitTests: Add MOVI2R test
2021-01-31 13:17:19 +00:00
MerryMage
f65c1df094
Random: Add seeded PRNG
2021-01-31 13:16:45 +00:00
MerryMage
a0b8956f22
JitArm64_Integer: Add optimizations for rlwimix
...
* Check for case when source field is at LSB
* Use BFXIL if possible
* Avoid ROR where possible
2021-01-31 12:05:43 +00:00
MerryMage
8aa2013a2d
Arm64Emitter: Add additional assertions to BFI/UBFIZ
2021-01-31 12:04:57 +00:00
MerryMage
75d92ad628
Arm64Emitter: Prefer BFM/UBFM to EncodeBitfieldMOVInst
2021-01-31 12:04:57 +00:00
MerryMage
be6aec9932
Arm64Emitter: Add BFXIL
2021-01-31 12:04:57 +00:00
Sepalani
82bb5d9915
NetworkCaptureLogger: PCAP support added
...
Log TCP/UDP read/write with fake packet.
2021-01-30 19:35:09 +04:00
cbartondock
83c127784b
Working Game IDs for Elf/Dol files
2021-01-30 09:51:37 -05:00
JosJuice
dd8e504c80
JitArm64: Use STP for pc/npc
2021-01-30 11:56:25 +01:00
Markus Wick
b22073ef59
Merge pull request #9484 from JosJuice/jitarm64-ps-stp
...
JitArm64: Use STP for (parts of) ppcState.ps
2021-01-30 08:51:56 +01:00
JosJuice
91b55824f9
JitArm64: Use STP for (parts of) ppcState.ps
...
The savestate incompatibility problem mentioned in a comment
was solved by d266be5
.
2021-01-30 01:01:01 +01:00
JosJuice
2d9ea42df2
Arm64Emitter: Add asserts for LDP/STP imm out of range
2021-01-30 00:25:33 +01:00
Sepalani
b363962757
BreakpointWidget: Remove unnecessary code
...
PPCDebugInterface.Clear() is called by Core on shutdown instead
2021-01-28 21:23:18 +04:00
Sepalani
289637f92f
NetworkCaptureLogger: Move SSL logging
2021-01-28 21:23:18 +04:00
Shawn Hoffman
6829775fac
msbuild: re-enable HAS_OPENGL and HAS_VULKAN
2021-01-27 19:10:53 -08:00
Léo Lam
c386c5acc2
Merge pull request #9366 from iwubcode/freelook_camera_quaternion
...
VideoCommon: allow Free Look to be manipulated by a quaternion
2021-01-28 01:34:09 +01:00
Léo Lam
9ca24ae8e0
Merge pull request #9092 from shuffle2/vshack
...
msbuild: Merge "Core" libs into single DolphinLib
2021-01-28 01:33:46 +01:00
iwubcode
586c689d63
VideoCommon: use Quaternion for Free Look orientation
2021-01-27 18:22:10 -06:00
iwubcode
d35287b6e4
Common: update Quaternion to allow rotating pitch, yaw, and roll all at once
2021-01-27 18:22:10 -06:00
iwubcode
544692f96a
Common: add convenience function to convert a Quaternion to a Matrix44
2021-01-27 18:22:10 -06:00
SirMangler
9f6d88880e
MemoryWidget: Add 'Offset' and General Improvements
2021-01-28 01:04:09 +01:00
Shawn Hoffman
500a694ca8
msbuild: bundle all dolphin "core" code into single library
2021-01-27 14:29:49 -08:00
Shawn Hoffman
5770ff01f3
rename D3DCommon/Common to D3DCommon/D3DCommon
2021-01-27 14:29:48 -08:00
Shawn Hoffman
527b5a9761
normalize common filenames in VideoBackends/D3D12
2021-01-27 14:29:48 -08:00
Shawn Hoffman
a0aeb5b0b9
normalize common filenames in VideoBackends/D3D
2021-01-27 14:29:48 -08:00
Shawn Hoffman
d7fd892fde
normalize common filenames in VideoBackends/Vulkan
2021-01-27 14:29:48 -08:00
Shawn Hoffman
ef70fe05bf
normalize common filenames in VideoBackends/Null
2021-01-27 14:29:48 -08:00
Shawn Hoffman
ff4f67492b
normalize common filenames in VideoBackends/OGL
2021-01-27 14:29:48 -08:00
Shawn Hoffman
3193f3d5c4
rename Core/IOS/FS/FileSystem.cpp to FileSystemCommon.cpp
2021-01-27 14:29:48 -08:00
Shawn Hoffman
7e1df34735
rename InputCommon/ControllerInterface/Device to CoreDevice
2021-01-27 14:29:48 -08:00
Shawn Hoffman
0be1491ef0
rename ciface::Wiimote to ciface::WiimoteController
2021-01-27 14:29:48 -08:00
Shawn Hoffman
84128d9532
rename Common/File to Common/IOFile
2021-01-27 14:29:48 -08:00
Shawn Hoffman
07fd02f207
rename Core/Analytics to Core/DolphinAnalytics
2021-01-27 14:29:47 -08:00
Léo Lam
96e3360f05
Merge pull request #9452 from JosJuice/android-wii-saves
...
Android: Add "Import Wii Save"
2021-01-27 23:00:47 +01:00
Markus Wick
7290cd0032
Merge pull request #9478 from JosJuice/double-assert-attempt-2
...
JitArm64: Fix false positive "turned singles into doubles" asserts
2021-01-27 20:20:59 +01:00
Markus Wick
b1fdd14ed1
Merge pull request #9314 from smurf3tte/dcbx
...
Jit: Fix correctness issue in dcbf/dcbi/dcbst
2021-01-27 20:12:21 +01:00
JosJuice
12aa1071cb
Android: Re-implement a subset of CompletableFuture
...
Imagine if Android phones actually got updates
2021-01-27 20:10:07 +01:00
JosJuice
347551a01d
Android: Implement save overwrite confirmation
2021-01-27 20:10:07 +01:00
JosJuice
cd4ccda51c
Android: Add "Import Wii Save"
2021-01-27 20:10:06 +01:00
JosJuice
b08306d0b8
Android: Refactor MainPresenter.installWad
...
Also replacing a toast with a dialog so that you have proper
time to read the message.
2021-01-27 20:10:06 +01:00
JosJuice
4a394ffc9c
Android: Merge launchInstallWad into launchOpenFileActivity
2021-01-27 20:10:05 +01:00
JosJuice
80b56b6575
Android: Move InstallWAD to a new WiiUtils class
...
I'm trying to move away from dumping every native method
in NativeLibrary.
2021-01-27 20:10:05 +01:00
Markus Wick
2ada5b422d
Merge pull request #9448 from JosJuice/blr-x30
...
JitArm64: Avoid using X30 with BLR
2021-01-27 20:07:24 +01:00
Léo Lam
8c127a612f
Merge pull request #9416 from Filoppi/patch-9
...
InputCommon: Wrap remaining invalid default input expressions around ``
2021-01-27 19:54:20 +01:00
Léo Lam
6dc0f0dfe6
Merge pull request #9438 from shuffle2/add-shortcut-to-desktop
...
DolphinQT: Gives option to add desktop shortcut
2021-01-27 19:41:09 +01:00
Léo Lam
b597b16f63
Merge pull request #9439 from Darwin-Rist/master
...
Added Opacity settings for touchscreen controls
2021-01-27 19:35:58 +01:00
Léo Lam
28cd6f6520
Merge pull request #9440 from lioncash/qt6
...
DolphinQt: Qt 6.0 forward-compatibility changes
2021-01-27 19:28:43 +01:00
Léo Lam
6086111566
Merge pull request #9467 from iwubcode/gamecube_controllers_widget
...
DolphinQt: Move gamecube controller ui logic to its own widget
2021-01-27 19:24:06 +01:00
Léo Lam
84ad550c19
Merge pull request #9449 from Filoppi/patch-11
...
Qt: Fix Shake Mapping Indicator not showing deadzone
2021-01-27 19:19:58 +01:00
Léo Lam
42b55e8fa3
Merge pull request #9450 from Filoppi/patch-12
...
Qt: Fix stock input profiles being deletable
2021-01-27 19:18:51 +01:00
iwubcode
780360b921
DolphinQt: Move gamecube controller ui logic to its own widget
2021-01-27 12:02:39 -06:00
Léo Lam
920dd812ad
Merge pull request #9468 from iwubcode/wiimote_controllers_widget
...
DolphinQt: Move wiimote controller ui logic to its own widget
2021-01-27 18:54:29 +01:00
iwubcode
f3b6c9723c
DolphinQt: Move wiimote controller ui logic to its own widget
2021-01-27 11:27:05 -06:00
Léo Lam
fb09acd01f
Merge pull request #9453 from JosJuice/state-metadata-osd
...
Android: Don't show OSD messages when opening savestate menu
2021-01-27 18:22:39 +01:00
Léo Lam
70447d0281
Merge pull request #9454 from JosJuice/android-ingame-settings-save
...
Android: Fix in-game settings changes not getting saved
2021-01-27 18:17:27 +01:00
JosJuice
5d19558623
JitArm64: Fix false positive "turned singles into doubles" asserts
...
Fixes a regression from 88f3fec
.
2021-01-27 16:11:39 +01:00
Léo Lam
b886c70a43
Merge pull request #9456 from trevor403/breakpoint-loading
...
Breakpoint from string flag parsing using token
2021-01-27 15:53:24 +01:00
Léo Lam
4ba9bb26e9
Merge pull request #9455 from lioncash/traversal
...
TraversalProto: Minor cleanup
2021-01-27 15:51:29 +01:00
Shawn Hoffman
a02a629958
windows: fix unregistering VEH
2021-01-27 05:15:54 -08:00
Léo Lam
305faa73ec
Merge pull request #9436 from shuffle2/asan
...
msvc: enable asan compat
2021-01-27 13:24:26 +01:00
Léo Lam
2537ea77ee
Merge pull request #9460 from jordan-woyak/wiimote-dc-crash-fix
...
WiimoteReal: Fix crash on real Wii Remote disconnect on Windows.
2021-01-27 13:14:52 +01:00
Léo Lam
bc14e4a0f0
Merge pull request #9463 from Dentomologist/fix_CreateTempDir_calls
...
UnitTests: Add setup error checking
2021-01-27 13:12:05 +01:00
Léo Lam
093978b2e0
Merge pull request #9466 from iwubcode/common_controllers_widget
...
DolphinQt: Move common controller interface logic to its own widget
2021-01-27 13:06:20 +01:00
JosJuice
d00430470b
JitArm64: Update registers last used before start of instruction
...
Let's reset m_last_used for each register that will be used
in an instruction before we start allocating any of them,
so that one of the earlier allocations doesn't spill a
register that we want in a later allocation. (We must still
also increment/reset m_last_used in R and RW, otherwise we
end up in trouble when emulating lmw/stmw since those access
more guest registers than there are available host registers.)
This should ensure that the asserts added earlier in this
pull request are never triggered.
2021-01-26 22:53:33 +01:00
JosJuice
f17cd3750a
JitArm64: Remove default parameters from Arm64FPRCache::R/RW
...
It obscures more than it helps in my opinion.
2021-01-26 22:53:33 +01:00
JosJuice
88f3fec04e
JitArm64: Add asserts for unexpected single to float conversions
...
If the register pressure is high when allocating registers,
Arm64FPRCache may spill a guest register which we are going to
allocate later during the current instruction, which has the
side effect of turning it into double precision. This will have
bad consequences if we are assuming that it is single precision,
so let's add some asserts to detect if that ever happens.
2021-01-26 22:53:33 +01:00