Commit Graph

35301 Commits

Author SHA1 Message Date
JosJuice
5fe23ccc3e DiscIO: Fix broken workaround for MSVC ARM64 ICE
The workaround added in 30f9f31 caused a regression where Dolphin
incorrectly replaced runs of one byte with runs of another byte
when writing WIA and RVZ files. ReuseID::operator< was always
returning false unless the ReuseIDs being compared had different
partition keys, which caused std::map<ReuseID, GroupEntry>
to treat all ReuseIDs with the same partition key as equal.
2021-07-24 13:29:03 +02:00
Dentomologist
cb127509e1 WiimoteReal: Fix Dolphin shutdown crash
Clear m_scan_thread_running later to avoid accessing m_backends after it
has been cleared.
2021-07-23 17:17:11 -07:00
Mai M
1fa527f44c
Merge pull request #9943 from JosJuice/android-dsp-recommendations
Android: Adjust DSP selection names
2021-07-23 12:22:38 -04:00
JosJuice
f70df930a6 Android: Adjust DSP selection names
The Android strings were not updated in 59e6048 along with the
DolphinQt strings.
2021-07-23 08:57:39 +02:00
Mai M
f380c23fda
Merge pull request #9890 from JosJuice/jitarm64-mtfsb0x
JitArm64: Implement mtfsb0x
2021-07-22 21:41:01 -04:00
Mai M
971f110b99
Merge pull request #9937 from Techjar/netplay-split-save-sd-write
NetPlay: Split save and SD card write settings
2021-07-22 21:40:31 -04:00
Mai M
4f87821f21
Merge pull request #9938 from Pokechu22/e-reader-context-menu-item
GBA: Add "Scan e-Reader Card(s)" context menu item
2021-07-22 21:39:10 -04:00
Mai M
885a4646f8
Merge pull request #9941 from JMC47/dsprecommendations
AudioPane: Adjust DSP selection names
2021-07-22 21:37:49 -04:00
Mai M
c080fc75f2
Merge pull request #9940 from JMC47/deblob2defer
GameINI:  Fix de Blob 2 visual issues.
2021-07-22 21:37:16 -04:00
Mai M
6229aa1e4e
Merge pull request #9942 from Pokechu22/memory-viewer-junk-column
MemoryViewWidget: Remove unnecessary column
2021-07-22 21:37:00 -04:00
JMC47
59e6048200 AudioPane: Adjust DSP selection names 2021-07-22 20:59:35 -04:00
Pokechu22
bcf2c6b9b9 MemoryViewWidget: Remove unnecessary column
This column would end up containing junk data after changing the data type.
2021-07-22 17:39:35 -07:00
Markus Wick
5af5656383
Merge pull request #9932 from JosJuice/jitarm64-dcbz-backpatch
JitArm64: Fix dcbz backpatch
2021-07-23 01:58:59 +02:00
Markus Wick
8ad7508620
Merge pull request #9767 from JosJuice/jitarm64-fpr-callee-saved
JitArm64: Improve Arm64FPRCache::GetCallerSavedUsed
2021-07-23 01:53:44 +02:00
JMC47
c66dcbf9de GameINI: Fix de Blob 2 visual issues.
de Blob 2 has the same engine as de blob and shares a lot of the same
issues.  I copied the settings used for de blob.  It seems defer EFB
copies was the main culprit, but force texture filtering could also
cause problems.
2021-07-22 19:31:36 -04:00
Pokechu22
50109d70b6 GBA: Add "Scan e-Reader Card(s)" context menu item 2021-07-22 12:18:07 -07:00
JosJuice
e1670df40c Readme: Copy the submodule note to non-Windows sections
Pulling submodules is necessary now that mGBA is integrated.

Perhaps having the same submodule note repeated three times in the
different sections of the readme file is a bit odd, but I don't
know of a fitting section to put it in that isn't OS-specific...
2021-07-22 20:12:58 +02:00
JosJuice
db5a78781f
Merge pull request #9929 from Tilka/ax
DSPHLE: re-enable low-pass filter
2021-07-22 19:05:29 +02:00
JosJuice
484279f013
Merge pull request #9933 from Dentomologist/remove_stringutil_buildcompletefilename
StringUtil: Remove unused function BuildCompleteFilename
2021-07-22 19:05:07 +02:00
JosJuice
fdcea8566d JitArm64: Improve Arm64FPRCache::GetCallerSavedUsed
If we're only using the lower 64 bits of a callee-saved
register, GetCallerSavedUsed can return false for it.
2021-07-22 10:42:44 +02:00
Markus Wick
674e2aa573
Merge pull request #9892 from JosJuice/jitarm64-flush-temp
JitArm64: Add temp reg parameter to Arm64RegCache::Flush
2021-07-22 10:03:04 +02:00
Techjar
3ce5caf887 NetPlay: Split save and SD card write settings
This actually eliminates any setting pertaining to SD cards from the
NetPlay dialog, as it would effectively just be a duplicate of the
setting in the Wii pane, potentially causing confusion.

This also enables save data writing by default, as this is probably
what most players want, and should avoid them losing hours of progress
because they forgot to tick a checkbox.
2021-07-22 01:16:20 -04:00
Dentomologist
f5e5e8553c StringUtil: Remove unused function BuildCompleteFilename 2021-07-21 12:39:00 -07:00
JosJuice
1df3456267 JitArm64: Remove a comment in dcbz implementation
This implementation is pretty efficient in my opinion. And "As
long as we aren't falling back to interpreter we're winning a lot"
applies to basically every instruction to some degree anyway.
2021-07-21 19:24:41 +02:00
JosJuice
d91d6fcdc5 JitArm64: Fix dcbz backpatch
The dcbz instruction needs to lock W30 so that the slowmem code will
push and pop it when calling into C++. Also, the slowmem code expects
that the address is present in W0, so replace the use of W0 as a scratch
register in the fastmem code with the now locked W30.
2021-07-21 19:19:52 +02:00
JosJuice
302b47f5e6 JitArm64: Add temp reg parameter to Arm64RegCache::Flush
We currently have a bug when calling Arm64GPRCache::Flush with
FlushMode::MaintainState, zero free host registers, and at least
one guest register containing an immediate. We end up grabbing
a temporary register from the register cache in order to be
able to write the immediate to memory, but grabbing a temporary
register when there are zero free registers causes the least
recently used register to be flushed in a way which does not
maintain the state of the register cache.

To get around this, require callers to pass in a temporary
register in the GPR MaintainState case. In other cases,
passing in a temporary register is not required but can help
avoid spilling a register (if the caller already had a
temporary register at hand anyway, which in particular will
be the case in my upcoming memcheck pull request).
2021-07-21 16:28:19 +02:00
Shawn Hoffman
0e41cf392f msbuild: reduce number of cl batches for mgba 2021-07-21 04:51:41 -07:00
Léo Lam
d1beb9ef70
Merge pull request #7896 from CrystalGamma/pr-reserve
PowerPC: Move lwarx/stwcxd. reservation into PowerPCState
2021-07-21 12:39:42 +02:00
CrystalGamma
c991904e04 PowerPC: Add reservation monitor to save state 2021-07-21 12:14:07 +02:00
CrystalGamma
d763d693e8 PowerPC: Move lwarx/stwcxd. reservation into PowerPCState 2021-07-21 12:12:19 +02:00
Léo Lam
462af20cdd
Merge pull request #9920 from JMC47/popshadow
GameINI: Fix PoP:TT Shadows
2021-07-21 11:47:16 +02:00
Léo Lam
bf36baa6b3
Merge pull request #9925 from JMC47/starsuccessorbox
GameINI:  Improve Rendering in Sin & Punishment: Star Successor
2021-07-21 11:46:13 +02:00
JMC47
ae63c68b88 GameINI: Fix PoP:TT Shadows
At extreme angles, there is severe shadow zfighting with fast depth
disabled.  Enabling it causes it work on all backends without issue.
Verified in OpenGL, D3D11, D3D12, and Vulkan.
2021-07-21 05:42:08 -04:00
Léo Lam
9a91b867ab
Merge pull request #9912 from Pokechu22/memory-viewer-physical-mem2
Fix MEM2 in the memory viewer in physical mode
2021-07-21 11:37:15 +02:00
JMC47
4472105210 GameINI: Improve Rendering in S&P:SS
Sin & Punishment: Star Successor has rendering issues in the upper left
part of the screen.  While we can't completely fix it, by disabling
Store EFB Copies to Texture only, we can make it from a missing box to
just a couple of lines being visible that make up the copy region.
2021-07-21 05:36:19 -04:00
Léo Lam
43b5383b16
Merge pull request #9924 from JMC47/tombraiderlegendini
GameINI:  Fix water in Tomb Raider Legend
2021-07-21 11:29:08 +02:00
Léo Lam
ae426a4323
Merge pull request #9926 from JMC47/happyfeet2ini
GameINI:  Fix Happy Feet 2 Text
2021-07-21 11:26:01 +02:00
Léo Lam
3e73a4fced
Merge pull request #9930 from JosJuice/netplay-designated-initializer
NetPlayClient: Remove a designated initializer
2021-07-21 10:45:34 +02:00
JosJuice
a3c8fb06c5 NetPlayClient: Remove a designated initializer
release-ubu-x64 currently fails with "sorry, unimplemented: non-trivial
designated initializers not supported". pr-ubu-x64 doesn't for some
reason, but we might as well remove the designated initializer.
2021-07-21 09:36:52 +02:00
JosJuice
b2d87c49b6 JitArm64: Implement mtfsb0x
Part 3 of implementing the FPSCR system register instructions.
2021-07-21 09:22:13 +02:00
JosJuice
46f7074bf7 Translation resources sync with Transifex 2021-07-21 09:19:20 +02:00
JMC47
a1e806ed76
Merge pull request #9600 from Bonta0/mgba-pr
Full GBA Controllers Integration with mGBA
2021-07-21 02:36:43 -04:00
Tillmann Karras
4a5c723114 DSPHLE: re-enable low-pass filter
Maybe this got fixed? Sonic Colors probably needs it for underwater audio.
2021-07-21 03:59:25 +01:00
Pokechu22
fa9c43cfaa Software: Handle texture wrapping more accurately
This fixes various texture offsetting issues with negative texture coordinates (bringing the software renderer in line with the hardware renderers).  It also handles the invalid wrap mode accurately (as was done for the hardware renderers in the previous commit).  Lastly, it handles wrapping with non-power-of-2 texture sizes in a hardware-accurate way (which is somewhat broken looking, as games aren't supposed to use wrapping with non-power-of-2 sizes); this has not been done for the hardware renderers.
2021-07-20 19:23:23 -07:00
Pokechu22
19332575aa WrapMode=3 behaves the same as Clamp 2021-07-20 19:23:23 -07:00
JMC47
b515786c8d
Merge pull request #9927 from OatmealDome/double-usbgecko
GeckoSockServer: Only join connectionThread if it is joinable
2021-07-20 22:18:33 -04:00
OatmealDome
48bcd96526 GeckoSockServer: Only join connectionThread if it is joinable 2021-07-20 14:56:09 -04:00
JMC47
e7dd3785be GameINI: Fix Happy Feet 2 text
Personally confirmed 2048 samples weren't enough.  Some text was still
missing.
2021-07-20 07:38:42 -04:00
JMC47
948cd64567 GameINI: Fix water in Tomb Raider Legend
Disables Store EFB Copies to Texture Only.  As this game has a lot of
water, the water not rendering correctly provides a pretty significant
gameplay issue.
2021-07-20 06:36:11 -04:00
JosJuice
175878cad8
Merge pull request #9919 from JMC47/memcardsizes
INI: Fix Memcard detection in SSX Tricky and SpongeBob:CFtKK
2021-07-20 12:00:40 +02:00