Anthony
b6f9bdf16b
Merge pull request #4466 from Ebola16/master
...
Jit64: Minor Typo Fix
2016-11-22 01:45:23 -06:00
Ryan Meredith
6d55aebcf7
Typo_Fix
2016-11-21 23:23:48 -05:00
Stenzek
3d21169dfc
Merge pull request #4458 from stenzek/strided-xfb
...
D3D/Vulkan: Handle strided XFB copies
2016-11-20 12:34:11 +10:00
Emmanuel Gil Peyrot
c4cd0d444a
NetPlay: Fix build when miniupnpc is disabled.
2016-11-19 15:36:26 +00:00
Stenzek
1aecf90765
DolphinNoGUI: Receive resize events and notify backend when this occurs
...
Solves the viewport sizing issue for backends that cannot tell when the
window is resized (Vulkan on NV at least).
2016-11-19 23:03:20 +10:00
Stenzek
d6d3341183
D3D: Fix strided XFB copies
2016-11-19 20:29:51 +10:00
Stenzek
6b88a854a7
Vulkan: Handle strided XFB copies
...
Where src_rect.width * 2 != dst_stride.
2016-11-19 20:29:47 +10:00
JosJuice
2a5d22b3a7
Automatic translation resources sync with Transifex
2016-11-19 11:26:03 +01:00
Mat M
171bb147a8
Merge pull request #4457 from leoetlino/btemu-eslaunch-fix
...
IPC_HLE: Fix emulated BT crash (uninitialised memory)
2016-11-18 19:11:38 -05:00
Léo Lam
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
Mat M
d3710d5cff
Merge pull request #4454 from hthh/osx-toolbar-fix
...
DolphinWX: Fix toolbar creation on macOS
2016-11-18 11:25:56 -05:00
Stenzek
725ef4c5dc
Vulkan: Pass target_rect to framebuffer draw methods
...
Fixes the black borders in frame dumps when the window was not sized to
the framebuffer aspect ratio.
2016-11-18 22:55:22 +10:00
hthh
4d2f058fe8
DolphinWX: Fix toolbar creation on macOS
2016-11-18 21:32:12 +11:00
Markus Wick
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
Markus Wick
71be84e074
Merge pull request #4452 from stenzek/jmp-self-idle-loop
...
Jit64: Treat branch-to-self instruction as an idle loop
2016-11-16 10:24:29 +01:00
Markus Wick
e21aa1d990
Merge pull request #4431 from SeannyM/android-multifile
...
Android: Specify ini file for every setting
2016-11-15 10:38:15 +01:00
Sean Maas
128c1f04ad
Android: Specify ini file for every setting
...
Load all the inis at once, choose which one to write to, and save them all
at the same time. This allows us to modify settings from different files
on the same settings page.
2016-11-14 18:34:06 -05:00
Stenzek
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
Stenzek
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
Stenzek
c657134c86
Jit64: Treat branch-to-self instruction as an idle loop
2016-11-15 00:26:59 +10:00
Jules Blok
017ab71fcf
Merge pull request #4451 from stenzek/vulkan-poke
...
Vulkan: Fix crash on EFB poke
2016-11-14 14:14:45 +01:00
Stenzek
bd67adb362
Vulkan: Use correct sample count for EFB pokes with MSAA enabled
2016-11-14 20:24:16 +10:00
Stenzek
89176fe2ab
Vulkan: Fix crash on EFB poke
2016-11-14 20:19:59 +10:00
Markus Wick
6a2e1e9986
Merge pull request #4429 from SeannyM/android-invert-settings
...
Android: Fix inverted EFB settings
2016-11-14 10:07:10 +01:00
Jules Blok
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
Jules Blok
7e35a47b51
Cosmetics.
2016-11-13 22:17:40 +01:00
Markus Wick
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
Markus Wick
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
JosJuice
141f3bfb3a
IOS HLE: Prevent accessing host file system
2016-11-13 10:03:23 +01:00
JosJuice
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
JosJuice
b47e607105
HLE_OS: More bounds checking in GetStringVA
2016-11-12 19:17:15 +01:00
JosJuice
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
JosJuice
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
JosJuice
3b78fec24e
Automatic translation resources sync with Transifex
2016-11-12 12:09:00 +01:00
Markus Wick
458a8d94e3
Merge pull request #4444 from lioncash/pragma
...
NetPlayLauncher: Add missing #pragma once
2016-11-11 22:10:04 +01:00
Jules Blok
aa0e4472c0
Frame: Move exclusive mode switching to helper function.
2016-11-11 21:24:08 +01:00
Lioncash
f207c01586
NetPlayLauncher: Add missing #pragma once
2016-11-11 14:58:20 -05:00
Jules Blok
aab6b70868
MainAndroid: Remove obsolete Host_RequestFullscreen() function
2016-11-11 20:48:19 +01:00
Jules Blok
d8201a7e8b
Frame: Remove exclusive mode OSD messages.
2016-11-11 20:36:11 +01:00
Jules Blok
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
Jules Blok
9909babe2c
D3DBase: Create the swapchain in fullscreen mode if enabled.
2016-11-11 20:36:10 +01:00
Jules Blok
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
Jules Blok
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
Jules Blok
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
Jules Blok
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
Mat M
fbfce2a043
Merge pull request #4442 from lioncash/param
...
CodeWindow: Remove unused constructor parameter
2016-11-11 13:58:33 -05:00
Lioncash
cd9520f458
CodeWindow: In-class initialize variables where applicable
2016-11-11 13:31:36 -05:00
Lioncash
492b82042d
CodeWindow: Remove unused parameter from constructor
2016-11-11 13:20:47 -05:00
Stenzek
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
Jules Blok
20d49ba97f
DolphinQt2: Implement Host_YieldToUI().
2016-11-11 13:42:18 +01:00