JosJuice
abc39f6c6f
DolphinWX: Use constants for default traversal server
2016-10-02 16:36:12 +02:00
JosJuice
7a165db94f
DolphinWX: Less duplication between GetTraversalPort/Server
...
They now also return their results the regular way.
2016-10-02 16:33:59 +02:00
JosJuice
e5325fd082
Automatic translation resources sync with Transifex
2016-10-02 12:54:51 +02:00
Léo Lam
25b93419d0
SysConf: Add support for the LongLong type
...
This should fix the "unknown entry type" panic alerts when an existing
SYSCONF from a real Wii NAND is used.
2016-10-02 11:52:57 +02:00
Michael Maltese
8fa79f3897
fix indendentation
2016-10-01 21:36:51 -07:00
Michael Maltese
567dffc1ee
OpenAL: Don't request samples if buffers are full
...
Makes the buffering code a bit more explicit (circular buffer, but
blocks until individual buffers get unqueued by OpenAL), and fixes a
bug in the startup of Super Mario Sunshine:
https://bugs.dolphin-emu.org/issues/9811
2016-10-01 21:36:46 -07:00
aldelaro5
f0aa9b3751
Reorganise a ton of logs level
...
Most of this commits changes performance decreasing logs from info to debug and also cleans up innacurate levels.
2016-10-01 15:50:28 -04:00
Léo Lam
453c4a4915
MainNoGUI: Shut down Wii software gracefully
2016-10-01 21:35:29 +02:00
Mat M
4eeb158b58
Merge pull request #4268 from lioncash/cast
...
VertexManagerBase: Get rid of a u16 cast
2016-10-01 08:21:24 -04:00
Léo Lam
5d8d696185
Force disable WC24 standby mode
...
When standby mode is enabled, this causes games to ES_Launch the system
menu instead of directly asking IOS (the STM more precisely) to shut
down, which prevents graceful shutdown from working
(it'll appear to hang).
Dolphin never supported WC24 standby mode anyway, so this shouldn't
cause any issues. (This should be reverted if and when WC24 standby is
implemented…)
2016-10-01 13:06:04 +02:00
Léo Lam
9b72b5f144
Shut down Wii software gracefully
...
This adds support for triggering the power event (in the STM), so that
stopping emulation first triggers a shutdown event, which notably gives
emulated software time to save game data (issue 8979) and clean up
SYSCONF (to disconnect Wiimotes and update their state in the SYSCONF).
On the first press, the stop button/hotkey/whatever will trigger a STM
power event. On a second try, we will forcefully stop emulation, just
like how it was working before.
2016-10-01 13:06:04 +02:00
Léo Lam
ae723f5251
IPC_HLE/stm: Implement STM_UnregisterStateEvent
2016-10-01 13:06:04 +02:00
Léo Lam
fcd08be34a
IPC_HLE/stm: const correctness for ResetButton
2016-10-01 13:06:04 +02:00
Léo Lam
5fb17a9014
IPC_HLE/stm: Clean up naming
...
Switches to the new naming conventions.
2016-10-01 13:06:04 +02:00
Léo Lam
faf202f0f6
IPC_HLE/stm: Separate header and implementation
...
There was as far as I know no reason to put everything in the header.
Separating the declaration from the implementation reduces build
times in case the implementation is updated without changing
any declaration.
2016-10-01 13:06:04 +02:00
Lioncash
361c7c9c09
VertexManagerBase: Make class constants constexpr
2016-10-01 03:37:17 -04:00
Lioncash
e61eb34ae6
VertexManagerBase: Get rid of a u16 cast
...
Just using the direct value is more straightforward
2016-10-01 01:05:43 -04:00
Mat M
8017e11784
Merge pull request #4267 from lioncash/vulkan
...
Vulkan: Amend header includes
2016-09-30 23:33:03 -04:00
Lioncash
9395b8efa9
Vulkan: Amend header includes
...
Adds headers where necessary to eliminate indirect includes.
Also adds headers to ensure certain standard constructs always
resolve correctly
2016-09-30 23:26:03 -04:00
Mat M
46b9383280
Merge pull request #3935 from stenzek/vulkan-pr
...
Vulkan Backend
2016-09-30 19:15:50 -04:00
Stenzek
a8194cff3c
VideoNull: Set all fields in backend_info
...
A few of these were missing, which could cause the adapter list to remain
visible after switching to null, for example.
2016-10-01 02:40:03 +10:00
Stenzek
5f66cf5ed7
Vulkan: Only submit init/upload command buffer when it has commands
...
This way we're not submitting empty buffers when it's unnecessary.
2016-10-01 02:40:03 +10:00
Stenzek
bac8c2d441
Vulkan: Work around indexed fragment output bug on AMD drivers
2016-10-01 02:40:02 +10:00
Stenzek
f6cdc38c8b
Vulkan: Use render-pass based clears where possible
2016-10-01 02:40:02 +10:00
Stenzek
c290398320
Vulkan: Ensure fast path is used for non-RGBA formats when clearing
2016-10-01 02:40:02 +10:00
Stenzek
f4944f006d
Vulkan: Support frame dumping/screenshots
2016-10-01 02:40:02 +10:00
Stenzek
4a4f6cc135
Android: Add video backend choice to settings
2016-10-01 02:40:02 +10:00
Stenzek
77a128ab87
Implement experimental Vulkan backend
2016-10-01 02:40:01 +10:00
Stenzek
fdd954e7e7
Common: Add a Semaphore wrapper class
2016-10-01 01:09:12 +10:00
Stenzek
828aac7890
VideoBackends: Make TextureCache::CompileShaders return a bool
2016-10-01 01:09:12 +10:00
Stenzek
6a99cbd9fc
VideoCommon: Call Renderer::SurfaceChanged on render parent resize
...
This is needed because for some reason the WSI for NV Vulkan drivers
doesn't return VK_ERROR_OUT_OF_DATE_KHR, so there is no other way to know
that a resize has occured apart from polling, which is a poor solution for
X11 (since it is blocking).
2016-10-01 01:09:12 +10:00
Stenzek
5346078791
VideoCommon: Add config fields for multithreading and validation layers
2016-10-01 01:09:12 +10:00
Stenzek
09638e714e
VideoCommon: Extend DriverDetails to support both OpenGL and Vulkan
2016-10-01 01:09:12 +10:00
Stenzek
a71381e80a
VideoCommon: Add APIType entry for Vulkan
2016-10-01 01:09:11 +10:00
Stenzek
75e4e42e56
ShaderGen: Work around issue with glslang and dynamic vector subscripts
...
Seems that vec[eye] will select vec.x no matter what the value of eye is.
2016-10-01 01:09:11 +10:00
Stenzek
7f3a876aae
ShaderGen: posmtx should be a 4-component unsigned byte
...
This is a global change across backends, so should be tested for
regressions.
2016-10-01 01:09:11 +10:00
Stenzek
d9c034e8cc
ShaderGen: Specify attribute/output locations/bindings explicitly
...
This also shifts the SSBO index from index 3 to index 0.
2016-10-01 01:09:11 +10:00
Markus Wick
f3cdc6433c
Merge pull request #4153 from stenzek/logicop-dstalpha
...
OGL: Handle case where both constant alpha and logic op is enabled
2016-09-30 16:07:32 +02:00
Stenzek
9f541e490d
OGL: Handle case where both constant alpha and logic op is enabled
2016-09-30 23:18:14 +10:00
Markus Wick
60138b0269
Merge pull request #4264 from lioncash/type
...
SystemRegisters: Get rid of pointer casting
2016-09-30 14:51:01 +02:00
Lioncash
91bbe56f59
SystemRegisters: Get rid of pointer casting
2016-09-30 08:28:07 -04:00
Dolphin Bot
394c50f8be
Merge pull request #4236 from SeannyM/android-buttons
...
Android: Wiimote on-screen buttons + more
2016-09-30 14:17:19 +02:00
Markus Wick
025dce86d5
Merge pull request #4261 from lioncash/gamelist
...
GameListCtrl: Use unique_ptr for underlying GameListItems
2016-09-30 13:23:43 +02:00
Lioncash
d8e4d5f035
GameListCtrl: eliminate redundant elses
...
These aren't necessary considering the above condition returns
2016-09-30 07:13:14 -04:00
Lioncash
6e0e4646bd
GameListCtrl: use unique_ptr for underlying game list items
2016-09-30 07:13:09 -04:00
Markus Wick
ebaaebf967
Merge pull request #4263 from lioncash/mmu
...
MMU: Remove useless casts
2016-09-30 12:55:58 +02:00
Lioncash
6b58ebfadc
MMU: Remove useless casts
2016-09-30 06:48:13 -04:00
Markus Wick
c33710a320
Merge pull request #4262 from lioncash/mmu
...
MMU: Get rid of type punning in FP read/write functions
2016-09-30 10:11:06 +02:00
Lioncash
e8b5e38d98
MMU: Get rid of type punning in FP read/write functions
...
The previous code is actually considered undefined behavior.
2016-09-30 03:50:08 -04:00
Lioncash
567d0204dd
RegisterView: Get rid of explicit memsets in CRegTable's constructor
...
Also gets rid of an unnecessary fill.
This is done by just default initializing the arrays
2016-09-30 01:28:54 -04:00