gibbed
693958f8b7
[Base] Fix escaping quote runs.
2019-08-04 07:29:29 -05:00
gibbed
bee55ce5bb
[Base/Core] Work on config/cvars. Properly escape string values when saving config.
2019-08-04 07:09:05 -05:00
gibbed
82f85c98f0
[Base] Add wide version of split_path.
2019-08-04 06:47:09 -05:00
gibbed
01c656b77b
[Base] Add split_string.
2019-08-04 06:46:07 -05:00
gibbed
2048239f30
[Base] Move implementation out of header where appropriate, and qualify std namespace.
2019-08-04 04:40:19 -05:00
gibbed
40cc8c52d7
[Base] Qualify std namespace.
2019-08-04 04:39:22 -05:00
gibbed
8b1f728d85
[Base] Use vwsprintf instead of _vsnwprintf.
2019-08-04 03:44:08 -05:00
gibbed
5ea54d9326
[Core] Fix config load/save not using wide strings for path.
2019-08-04 03:30:57 -05:00
gibbed
b685211b96
[Base] Add wide versions of FatalError.
2019-08-04 03:26:18 -05:00
gibbed
29fcde6687
Fix submodule URLs.
2019-08-04 03:23:36 -05:00
gibbed
85b4b561bf
[Base] Fix Travis complaints with cvar code.
2019-08-04 02:52:28 -05:00
gibbed
a1c9d57afc
[App] Make target into a transient cvar.
2019-08-04 02:18:03 -05:00
gibbed
f360053198
[Base/Core] Bring cvar/config code in line with the style guide.
2019-08-04 02:17:22 -05:00
gibbed
7ba460552c
[Base/Core] Add support for transient cvars.
2019-08-04 02:12:46 -05:00
gibbed
9a9a55aa49
[Core] Report the actual reason config parse failed.
2019-08-04 01:22:01 -05:00
gibbed
53b564c1a6
[APU] Only set the work event/wait on the worker thread when they actually exist.
2019-08-04 00:49:32 -05:00
gibbed
38a6d110e7
[APU] Only wait on the worker thread if it actually exists.
2019-08-04 00:27:49 -05:00
gibbed
e48f4ce004
[Core] Only wait on the main thread if it actually exists.
2019-08-03 23:48:05 -05:00
gibbed
4970fc8673
[Kernel] Make XObject type() const.
2019-08-03 23:47:16 -05:00
gibbed
b2f62b1982
Clean up cvars (rename, recategorize).
2019-08-03 23:46:03 -05:00
Rick Gibbed
9d924950cc
Merge pull request #1417 from emoose/xnotify-fixes
...
[Kernel] Make XamShow*UI exports send XN_SYS_UI notifications, & small XNotifyListener fix.
2019-08-03 22:37:59 -05:00
emoose
313e81ec38
[Kernel] Add XN_SYS_UI notifications to XamShow*UI exports
2019-08-04 03:57:06 +01:00
emoose
c3476e8e19
[Kernel] Make XNotifyListener::notifications_ a std::vector, allowing multiple to use the same ID.
...
Previously adding a notification that already exists would just overwrite the older notifications value, meaning the game would never see that older notification.
This would break games like Project Sylpheed, which seems to require seeing XN_SYS_UI = true eventually followed by XN_SYS_UI = false for the game to realize all system UIs are closed.
2019-08-04 03:55:57 +01:00
gibbed
0ac83f99dc
[App] Add winkey input driver last.
2019-08-03 20:47:39 -05:00
gibbed
f2dac86b3f
[App] Use make_unique when creating a derived type instance.
2019-08-03 20:46:03 -05:00
gibbed
02ea74becd
[App] Only create input nop driver when explicitly requested.
2019-08-03 20:07:19 -05:00
gibbed
e5eb59df71
[App] Remove unnecessary type aliasing (which also broke Travis).
2019-08-03 18:10:49 -05:00
gibbed
f5cddbbf3f
[App] Simplify and improve factory template.
...
[App] Rework audio and input system creation.
2019-08-03 17:36:50 -05:00
gibbed
848e2a4088
[App] Rework graphics system creation.
2019-08-03 16:42:38 -05:00
Triang3l
890a32bd98
[App] Only start D3D12 if DLL exists
2019-08-03 22:33:09 +03:00
Triang3l
9aaef8871d
[Readme] Remove D3D12 link
2019-08-03 21:21:18 +03:00
Triang3l
d20c2fa9da
[Memory/Vulkan] Move old memory watches to the Vulkan backend
2019-08-03 21:06:59 +03:00
Triang3l
0370f8bbd9
[Memory] Pass exact_range to watch callbacks
2019-08-03 19:16:04 +03:00
Triang3l
a0c92e30ce
[Main] Add --gpu=d3d12 hint
2019-08-03 17:16:52 +03:00
Triang3l
cc7f26ada8
[GPU] Remove one merge conflict resolution line
2019-08-03 17:15:37 +03:00
Triang3l
e04dfe8833
Merge branch 'master' into d3d12
2019-08-03 16:53:37 +03:00
Triang3l
352f12f92e
[D3D12] Switch from gflags to cvars
2019-08-03 16:53:23 +03:00
gibbed
5593773a07
[Discord] Better image keys and avoid setting a small image for now.
2019-08-03 08:16:08 -05:00
gibbed
112bf6c8ab
Properly reset title id/game title.
2019-08-03 08:16:08 -05:00
gibbed
c16ef67ff9
[App/Discord] Rework how rich presence is managed.
...
Updating rich presence state every time the window title changes
is a bad idea(tm).
2019-08-03 08:16:04 -05:00
Rick Gibbed
763274654d
Merge pull request #1358 from jgoyvaerts/config_final
...
Replace GFLAGS with a config system + config file.
2019-08-02 19:57:33 -05:00
Jonathan Goyvaerts
eaf92cc7dc
Default the number of parallel build threads to 4 so clang doesn't run out of memory (both local and on travis-ci)
2019-08-03 02:34:29 +02:00
Jonathan Goyvaerts
2a1d67eada
[Base] Fix snprintf not working correctly
...
This seems to be an issue with Microsoft declaring a snprintf macro which causes issues.
Related issues:
- https://github.com/nlohmann/json/issues/1408
- https://github.com/kodi-pvr/pvr.vuplus/issues/162
2019-08-03 02:34:19 +02:00
Jonathan Goyvaerts
81fe22f1c8
Get rid of gflags alltogether
2019-08-03 02:34:19 +02:00
Jonathan Goyvaerts
67cc8b7316
Load game config on game load
2019-08-03 02:34:17 +02:00
Jonathan Goyvaerts
d12871b8b4
[App] Initialize config on emulator startup
2019-08-03 02:34:08 +02:00
Jonathan Goyvaerts
c1af632562
Replace all gflag implementations with cvar implementations
2019-08-03 02:34:07 +02:00
Jonathan Goyvaerts
a01908aa15
Add config class for loading and saving of config file
2019-08-03 02:34:07 +02:00
Jonathan Goyvaerts
bedd8ea40f
[Base] Add cvar class, a better, more flexible implementation of storing configuration variables than gflags
2019-08-03 02:33:56 +02:00
Jonathan Goyvaerts
bc6c047152
[Base] Add generic implementation for converting from string to T, and add specific implementation for string to bool
2019-08-03 02:33:40 +02:00