6473a485d0
Merge pull request #4460 from linkmauve/no-miniupnpc
...
NetPlay: Fix build when miniupnpc is disabled
2016-11-25 16:28:27 -06:00
11243ac358
Merge pull request #4470 from aldelaro5/fix-slowdown-logs
...
Change the patch engine log to be debug level log
2016-11-24 16:25:53 -06:00
9bfea4a0f2
Merge pull request #4447 from JosJuice/hthh-hle-issues
...
Fix exploitable HLE problems reported by hthh
2016-11-24 15:53:23 +01:00
c6b3c67ea1
Change the patch engine log to be debug level log
...
It was apparently causing heavy slowdowns on game even though it wouldn't spam much, probably caused by the amount of additional check caused by the logs levels changes.
2016-11-23 00:58:07 -05:00
6d55aebcf7
Typo_Fix
2016-11-21 23:23:48 -05:00
c4cd0d444a
NetPlay: Fix build when miniupnpc is disabled.
2016-11-19 15:36:26 +00:00
d6d3341183
D3D: Fix strided XFB copies
2016-11-19 20:29:51 +10:00
6b88a854a7
Vulkan: Handle strided XFB copies
...
Where src_rect.width * 2 != dst_stride.
2016-11-19 20:29:47 +10:00
165e3a9936
IPC_HLE: Fix emulated BT crash (uninitialised memory)
...
When the emulated BT device is created, m_HCIEndpoint (which is a
CtrlBuffer)'s m_cmd_address is not initialised to 0. So it ends up
being a random value. This is normally not an issue… but the
emulated Bluetooth code relies on m_cmd_address to know whether the
HCI endpoint is still valid.
This is a problem with ES_Launch, because the bt_emu class is
destructed and re-constructed, and while m_cmd_address is still
uninitialised, the ES_Launch code disconnects all Wii remotes,
which triggers a HCI event and hence the bug.
2016-11-19 00:11:41 +01:00
4d2f058fe8
DolphinWX: Fix toolbar creation on macOS
2016-11-18 21:32:12 +11:00
6c16f1be8a
Merge pull request #4416 from stenzek/vulkan-cmdpool
...
Vulkan: Use multiple command pools, one per frame
2016-11-16 10:25:10 +01:00
3c92b35422
Vulkan: Use multiple command pools, one per frame
...
Instead of resetting two command buffers, now we only have to call
vkResetCommandPool once at the start of a frame.
NV's recommends using one pool per frame/thread. May offer a very small
boost in performance on some systems.
2016-11-15 00:40:15 +10:00
e83bf5705a
JitArm64: Don't emit normal block exit for branch-to-self instructions
...
The normal block exit is redundant as the exception exit will jump out of
the block first, meaning this code is never executed.
2016-11-15 00:28:14 +10:00
c657134c86
Jit64: Treat branch-to-self instruction as an idle loop
2016-11-15 00:26:59 +10:00
bd67adb362
Vulkan: Use correct sample count for EFB pokes with MSAA enabled
2016-11-14 20:24:16 +10:00
89176fe2ab
Vulkan: Fix crash on EFB poke
2016-11-14 20:19:59 +10:00
99de9fbe33
Merge pull request #4443 from Armada651/exclusive-ui
...
D3D: Move exclusive mode switching to UI thread.
2016-11-14 01:45:07 +01:00
7e35a47b51
Cosmetics.
2016-11-13 22:17:40 +01:00
bc98ec77be
Merge pull request #4441 from stenzek/vulkan-max-image-count
...
Vulkan: Handle maxImageCount of zero when creating swap chain
2016-11-13 14:12:32 +01:00
c723532f0d
Merge pull request #4430 from stenzek/vulkan-no-relaxed-vsync
...
Vulkan: Don't use FIFO_RELAXED present mode for vsync.
2016-11-13 14:10:58 +01:00
141f3bfb3a
IOS HLE: Prevent accessing host file system
2016-11-13 10:03:23 +01:00
a79c449493
Avoid buffer over-reads in /dev/net/ip/top
...
Also fixes the less serious problem of buffer overflows
in emulated memory when BufferOutSize is less than 2.
2016-11-13 08:44:05 +01:00
b47e607105
HLE_OS: More bounds checking in GetStringVA
2016-11-12 19:17:15 +01:00
3d80d454ce
HLE_OS: Implement %n in GetStringVA
...
%n writes to a pointer that's provided as a parameter.
We didn't have a custom implementation of this before,
meaning that %n would trigger a write to the host
memory instead of the emulated memory!
2016-11-12 19:16:55 +01:00
656999d4c2
Correct bounds checking for /dev/sdio/slot0
...
The bounds checks in IOCtl were using 0x200 as the size of
m_Registers, which is more than the actual size, 0x200 / 4.
This commit turns m_Registers into an std::array to allow
for a correct and obvious way of getting its size.
2016-11-12 19:09:03 +01:00
aa0e4472c0
Frame: Move exclusive mode switching to helper function.
2016-11-11 21:24:08 +01:00
f207c01586
NetPlayLauncher: Add missing #pragma once
2016-11-11 14:58:20 -05:00
d8201a7e8b
Frame: Remove exclusive mode OSD messages.
2016-11-11 20:36:11 +01:00
d7cf5e28b6
Frame: Use PauseAndLock when switching fullscreen modes.
...
This allows us to regain exclusive mode directly from OnActive().
2016-11-11 20:36:10 +01:00
9909babe2c
D3DBase: Create the swapchain in fullscreen mode if enabled.
2016-11-11 20:36:10 +01:00
0028ee96b3
Host: Remove the Host_RequestFullscreen() method.
...
No longer needed, since the exclusive mode switch is now handled synchronously on the CPU thread.
2016-11-11 20:36:09 +01:00
0a194f8a3e
VideoConfig: Remove fullscreen flags.
...
These weren't actually settings, they were used as a bad way to communicate with the GPU thread.
2016-11-11 20:36:09 +01:00
c21efa0cad
D3D: Move exclusive mode switching to UI thread.
...
This prevents deadlocks when switching to exclusive mode.
And it also allows the CPU thread to block until we've completed the switch.
2016-11-11 20:36:04 +01:00
f0ce3275af
Merge pull request #4439 from Armada651/yield-ui
...
CPU: Fix deadlocks by periodically yielding to the UI message pump.
2016-11-11 20:30:31 +01:00
cd9520f458
CodeWindow: In-class initialize variables where applicable
2016-11-11 13:31:36 -05:00
492b82042d
CodeWindow: Remove unused parameter from constructor
2016-11-11 13:20:47 -05:00
160fee6791
Vulkan: Handle maxImageCount of zero when creating swap chain
...
anv seems to set this to zero, which is fine according to the spec, but
we were using it as a maximum, which was resulting in a swap chain
without any buffers being created.
2016-11-11 23:33:40 +10:00
20d49ba97f
DolphinQt2: Implement Host_YieldToUI().
2016-11-11 13:42:18 +01:00
05a3f927ee
CPU: Fix deadlocks by periodically yielding to the UI message pump.
2016-11-11 13:37:03 +01:00
8203ea929b
BlockingLoop: Yield to UI message pump while waiting.
2016-11-11 13:37:02 +01:00
2d9ef3412a
GCAdapterConfigDiag: Mark OnUpdateAdapter parameter as unused.
2016-11-10 20:19:53 -05:00
1ae9027a6b
GCAdapterConfigDiag: Rename UpdateAdapter to OnUpdateAdapter
...
Uses the general naming convention for event functions.
2016-11-10 20:18:59 -05:00
c5c7ff9fd6
GCAdapterConfigDiag: Make functions private where applicable
...
These don't need to be in the public interface.
2016-11-10 20:12:02 -05:00
c77d4a765d
Merge pull request #4425 from lioncash/ipc
...
IPC_HLE: Move NWC24Config and WiiNetConfig to their own source files
2016-11-10 16:55:43 -05:00
03878a44e1
Merge pull request #4433 from Armada651/the-emu-that-runs-faster-than-its-race-condition
...
FrameTools: Avoid deadlock in UpdateGUI().
2016-11-10 16:50:13 +01:00
97bd77c928
Frame: Remove unused menu variable
...
This has been unused since the introduction of the MainMenuBar class
that abstracts away all of the wxMenuBar UI loading.
2016-11-10 07:33:52 -05:00
0b9562b0d5
Merge pull request #4434 from lioncash/path
...
PathConfigPane: Eliminate main frame global usage
2016-11-10 07:31:31 -05:00
193dd97759
VideoCommon: Drop FlipImageData.
...
This function isn't used any more, and good code shouldn't use it at all. Use negative strides instead.
2016-11-10 12:59:22 +01:00
3816207d7b
OGL: Fix frame dump on emulation close.
2016-11-10 12:59:22 +01:00
21774bdc81
OGL: Only flush the frame dumping thread on dumping.
...
This fixes the screenshot stutter, as this needs more than a frame.
So we won't stall on the png writing at all until emulation stops or
a new screenshot is requested.
2016-11-10 12:59:22 +01:00