Markus Wick
bb6604df76
Merge pull request #3805 from mathieui/gcadapter-unplug-crash
...
GCAdapter: improve thread safety
2016-05-19 22:58:06 +02:00
mathieui
1bbbe92cd2
GCAdapter: protect some more functions
...
Reset() and Setup() are not used outside of this namespace
2016-05-19 22:00:49 +02:00
degasus
5db61b4bbb
JitArm64: Fix broken block handling.
2016-05-19 19:20:44 +02:00
degasus
37e2e92e33
JitArm64: Handle ISI excepction.
2016-05-19 19:20:44 +02:00
degasus
95ebb2991f
JitArm64: Check Exceptions on mtmsr.
2016-05-19 19:20:44 +02:00
degasus
782c68cf00
JitArm64: Clean up LWZ idle skipping.
2016-05-19 19:20:44 +02:00
Stenzek
e169d54f3c
D3D11: Fix CPU EFB color reads when MSAA is enabled
...
Also swaps the byte order from RGBA->BGRA to match GL/D3D12, and what
the read handler is expecting.
Depth reads will now return the minimum depth of all samples, instead of
the average of all samples.
2016-05-19 22:51:00 +10:00
Stenzek
89e54fbd6c
OGL: Work around slowdown of glMapBufferRange with SSBO on NVIDIA drivers
...
Using glMapBufferRange to read back the contents of the SSBO is extremely
slow on NVIDIA drivers. This is more noticeable at higher internal
resolutions. Using glGetBufferSubData instead does not seem to exhibit
this slowdown.
2016-05-19 21:24:09 +10:00
JosJuice
a399966751
Movie: Better safety when writing to s_revision
2016-05-19 12:29:50 +02:00
Matthew Parlane
24ea2dc2da
Merge pull request #3842 from rukai/dolphinQtVSkeepBinaryClean
...
[Qt] VS build no longer adds all of Data to Binary
2016-05-19 20:49:35 +12:00
degasus
c04cff57da
GLExtensions: Fix OpenGL ES 3.2 handling.
2016-05-18 23:22:46 +02:00
Markus Wick
22648729c7
Merge pull request #3832 from degasus/android
...
DriverDetails: Update Qualcomm new driver version.
2016-05-18 21:26:45 +02:00
mathieui
54b4efff6b
GCAdapter: improve thread safety
...
make sure Reset() can’t be run concurrently with AddGCAdapter() or
ResetRumble() (which is called on other threads) which can cause
crashes (issue #9462 )
2016-05-18 20:44:01 +02:00
Markus Wick
682af0a86a
Merge pull request #3846 from degasus/videosw
...
VideoSW: Fix XFB config.
2016-05-18 20:14:55 +02:00
Markus Wick
da3b03c61d
Merge pull request #3829 from phire/timing_madness
...
Increase Audio DMA Interrupt delay to 200 cycles (Fix assorted Namco games)
2016-05-18 20:14:02 +02:00
degasus
3a452f3cc5
VideoSW: Fix XFB config.
2016-05-18 18:37:44 +02:00
degasus
fa3526962d
VideoSW: Drop Update in XFB copy.
2016-05-18 18:37:44 +02:00
Markus Wick
ae5d6003cd
Merge pull request #3758 from phire/minor_core_timing_fix
...
CoreTiming: Trim max slicelength to the given value.
2016-05-18 17:56:02 +02:00
Markus Wick
e2d65778fc
Merge pull request #3816 from magumagu/neogamma-hack
...
Add hack to IPCHLE to make NeoGamma work.
2016-05-18 17:49:58 +02:00
Markus Wick
5a36b7db24
Merge pull request #3811 from magumagu/eslaunch-timing
...
Fix timing regression affecting ES_LAUNCH.
2016-05-18 17:15:30 +02:00
Markus Wick
60e7c78007
Merge pull request #3840 from degasus/arm
...
JitArm64: Faster block linking.
2016-05-18 16:49:01 +02:00
rukai
f9ef9067c1
[Qt] VS build no longer adds all of Data to Binary
2016-05-14 16:50:25 +10:00
Mat M
e5bafeb40a
Merge pull request #3821 from mathieui/gcadapter-no-device
...
Fix a hang with the GC Adapter
2016-05-13 21:36:51 -04:00
degasus
637851fce0
JitArm64: optimize bclrx
...
the unconditional path is the most common, so no need to switch to far code here.
2016-05-14 00:05:55 +02:00
degasus
b6f16352e4
JitArm64: Check downcount on block linking.
...
This skips one B() call.
2016-05-14 00:04:58 +02:00
degasus
10e716c623
JitCommon: Pass jit block instead of host pointer on linking.
...
So the JIT may do more fancy stuff.
2016-05-14 00:04:58 +02:00
degasus
cf3c65fbd0
JitArm64: Use B() instead of BR() to jumo to ASM.
...
Avoid indirect jumps as good as possible. This is a noticeable speedup.
2016-05-14 00:04:58 +02:00
degasus
b2be9bd7f7
JitArm64: Inline JitAsm in JitArm64.
...
So they share the same emitter, and so they are in the same 128MB range.
This allows us to use B() to jump to the dispatcher.
However, so we have to regenerate them on every cache clear.
2016-05-14 00:04:58 +02:00
EmptyChaos
c1944f623b
Core/Movie: Add ability to run code in Host context
...
EndPlayInput runs on the CPU thread so it can't directly call
UpdateWantDeterminism. PlayController also tries to ChangeDisc
from the CPU Thread which is also invalid. It now just pauses
execution and posts a request to the Host to fix it instead.
The Core itself also did dodgy things like PauseAndLock-ing
from the CPU Thread and SetState from EmuThread which have been
removed.
2016-05-13 09:23:44 +10:00
EmptyChaos
e8dfc8e654
Movie: Threadsafety Audit
...
Fix TASInputDlg which was trying to access the GUI without the GUI
lock from the CPU Thread.
2016-05-13 09:23:44 +10:00
EmptyChaos
c1922783f8
Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer)
...
Fix Frame Advance and FifoPlayer pause/unpause/stop.
CPU::EnableStepping is not atomic but is called from multiple threads
which races and leaves the system in a random state; also instruction
stepping was unstable, m_StepEvent had an almost random value because
of the dual purpose it served which could cause races where CPU::Run
would SingleStep when it was supposed to be sleeping.
FifoPlayer never FinishStateMove()d which was causing it to deadlock.
Rather than partially reimplementing CPU::Run, just use CPUCoreBase
and then call CPU::Run(). More DRY and less likely to have weird bugs
specific to the player (i.e the previous freezing on pause/stop).
Refactor PowerPC::state into CPU since it manages the state of the
CPU Thread which is controlled by CPU, not PowerPC. This simplifies
the architecture somewhat and eliminates races that can be caused by
calling PowerPC state functions directly instead of using CPU's
(because they bypassed the EnableStepping lock).
2016-05-13 09:23:44 +10:00
mathieui
8f0cbefbe5
Disable part of the adapter features for netplay
...
In order to avoid desyncs
2016-05-12 23:31:51 +02:00
Rukai
d9a8318879
Brings visual studio build files up to date with recent Qt changes
2016-05-13 01:18:57 +10:00
Matthew Parlane
ec40b38484
Merge pull request #3571 from rukai/dolphinQtVisualStudio
...
DolphinQt2 Builds on Visual Studio
2016-05-12 22:27:18 +12:00
Matthew Parlane
356f709537
Merge pull request #3810 from mathieui/fix-adapter-recording-savestate
...
Fix loading save states with input recording with the adapter
2016-05-12 20:53:04 +12:00
mathieui
2a0ba5aaa6
Fix loading save states with input recording with the adapter
...
Intended fix for issue #9508
2016-05-12 10:45:03 +02:00
mathieui
8d23ebaa6b
Revert "Fix netplay desync when using wii-u adapter."
...
This reverts commit 429ae8fb01162ee861caaf46ca2e5c7ea2b80706.
Conflicts:
Source/Core/Core/HW/SI_DeviceGCAdapter.cpp
Source/Core/Core/HW/SI_DeviceGCAdapter.h
2016-05-12 02:01:35 +02:00
degasus
bca0e06a95
OGL: Use coherent mapping on Qualcomm devices.
2016-05-11 23:55:28 +02:00
degasus
7517d126c8
DriverDetails: Drop BUG_BROKENALPHATEST.
...
This flag is not in use at all.
2016-05-11 21:22:09 +02:00
degasus
6219c39cf5
OGL: Drop QC ES3.1 workaround.
...
This was never tested well:
HdkR> The tester was most likely trying to load a stale shader cache or something
2016-05-11 20:45:07 +02:00
Matthew Parlane
48c0c2ace6
Merge pull request #3830 from Lionel07/qt-settings-window
...
[Qt] Settings Window for Qt
2016-05-11 16:43:43 +12:00
Corwin McKnight
321b775f02
[Qt] Settings Window for Qt
...
AND Fix leftovers from full code, fixed styling and lint
2016-05-10 21:24:53 -07:00
Matthew Parlane
670a1c2694
Merge pull request #3532 from rukai/enterOpenGame
...
Qt - Enter key opens selected game in the game list.
2016-05-11 08:45:29 +12:00
Matthew Parlane
3f012df6d5
Merge pull request #3615 from rukai/qtCrash
...
DolphinQt2: Fix crash related to loading gameini
2016-05-11 08:40:00 +12:00
Summate
e01bdeddf2
Piping the wxMsgAlert through netplay window during netplay instead of running a blocking messagebox
2016-05-10 05:03:06 -05:00
Matthew Parlane
bb6a04dc8e
Merge pull request #3713 from stenzek/d3d12-more-fixes
...
D3D12: Bug fixes, implement bbox, realxfb, perfquery
2016-05-10 21:34:27 +12:00
Scott Mansell
2c95cf0f5a
Increase Audio DMA Interrupt delay to 200 cycles.
...
We really need hardware tests for this one. But this will do as a
quick fix for issue 9509 for 5.0
2016-05-09 14:16:32 +12:00
Mat M
c299a6a8cc
Merge pull request #3801 from Helios747/the_30_minute_blocker_fix
...
[UI] Remove browse toolbar button and tweak empty gamelist message
2016-05-08 17:24:40 -04:00
Stenzek
ccf9470241
D3D12: Specify read/write ranges when calling Map/Unmap
2016-05-08 23:18:59 +10:00
Stenzek
fde7dee652
D3D12: Fix invalid CopyTextureRegion call in CopyRectangleFromTexture
...
This was occuring when the source texture was larger than the destination
texture, but the source rect was <= dest rect, so the copy is valid.
2016-05-08 23:18:58 +10:00