Commit graph

35177 commits

Author SHA1 Message Date
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
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
JosJuice
2ec035441d
Merge pull request #9915 from JMC47/mxsuperflyini
GameINI: MX Superfly - fix player textures
2021-07-20 12:00:12 +02:00
JMC47
4614e82bf9
Merge pull request #9923 from JosJuice/psgen-gles-bbox
PixelShaderGen: Fix OpenGL ES bounding box compilation error
2021-07-20 05:54:13 -04:00
JosJuice
92fc4f1eca PixelShaderGen: Fix OpenGL ES bounding box compilation error 2021-07-20 11:39:32 +02:00
JMC47
1e3ea8c468
Merge pull request #9922 from Techjar/graphics-drivers-suck
VideoCommon: Expand vector comparisons instead of overloading any()
2021-07-20 05:38:25 -04:00
Techjar
5e0520b6e0 VideoCommon: Expand vector comparisons instead of overloading any()
For whatever stupid reason, Mali drivers do not allow overloading
built-in functions.
2021-07-20 05:24:47 -04:00
Tilka
fa55e52fff
Merge pull request #9917 from TheHarmonicRealm/master
Fix GBR and GRB post-processing effects
2021-07-20 09:38:14 +01:00
JMC47
103120bb2d INI: Fix Memcard detection in SSX Tricky and SpongeBob:CFtKK 2021-07-19 22:50:20 -04:00
Mai M
88cc20ffd0
Merge pull request #9918 from JMC47/IMGDDv35ini
INI Settings for Paper Mario: Thousand-Year Door Demo Disc
2021-07-19 22:01:50 -04:00
Mai M
6ed201ca94
Merge pull request #9913 from Tilka/postprocess
PostProcessing: fix lens distortion shader for HLSL
2021-07-19 22:00:53 -04:00
JMC47
d0b8f91d97 INI Settings for Paper Mario Demo
Interactive Demo Disc Version 35 comes with Paper Mario: The
Thousand-Year Door.  Note that D56J01 is a different game.
2021-07-19 18:55:05 -04:00
Noah
0be80bcb18
Fix swap_RGB_GRB.gls post-processing shader 2021-07-19 13:21:41 -07:00
Noah
ac32996d11
Fix swap_RGB_GBR.gls post-processing shader 2021-07-19 13:20:58 -07:00
JMC47
c184569192
Merge pull request #9916 from Dentomologist/fileinfo_constructor_remove_duplication
FileUtil: Remove duplication in FileInfo constructor
2021-07-19 15:10:02 -04:00
Dentomologist
fe670a3e68 FileUtil: Remove duplication in FileInfo constructor 2021-07-19 11:50:17 -07:00
JMC47
79a50c7730 GameINI: MX Superfly - fix player textures
This game uses EFB copies to generate the outfit for your character in
career mode.
2021-07-19 13:01:50 -04:00
Tillmann Karras
2344624b08 PostProcessing: fix lens distortion shader for HLSL 2021-07-18 22:49:36 +01:00
Pokechu22
2d460b8e31 Fix MEM2 in the memory viewer in physical mode 2021-07-18 13:09:42 -07:00
Mai M
6e7698a354
Merge pull request #9910 from Tilka/postprocess
PostProcessing: fix shader compilation failures
2021-07-18 13:58:16 -04:00
Mai M
47d847d468
Merge pull request #9911 from JMC47/summonerini
INI: Fix Summoner Invalid Reads
2021-07-18 13:57:01 -04:00
JMC47
d65d4b7158 INI: Fix Summoner Invalid Reads 2021-07-18 11:56:56 -04:00
JMC47
ed3000845c
Merge pull request #9899 from jack-1313/patch-2
INI settings for 'Hasbro Family Game Night 2'
2021-07-18 10:05:53 -04:00
jack-1313
8f107191cb Create R6X.ini
Fixes :
https://bugs.dolphin-emu.org/issues/12534

Update R6X.ini

Update R6X.ini

Update R6X.ini
2021-07-18 12:52:54 +05:30
Tilka
e25d9791fc
Merge pull request #9909 from matheuz1210/master
Fix Readme.md's command line usage
2021-07-18 04:14:28 +01:00