Commit Graph

4773 Commits

Author SHA1 Message Date
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
Jonathan Goyvaerts 950e53779c Add cxxopts third party dependency 2019-08-03 02:21:29 +02:00
Jonathan Goyvaerts 08bdf5abe6 Add cpptoml third_party dependency 2019-08-03 02:20:33 +02:00
gibbed 3bcd1fb744 Oops. Move Capstone back to 4.0.1. 2019-08-02 11:24:03 -05:00
gibbed c8715e3aaa Fix Capstone submodule. 2019-08-02 11:17:44 -05:00
gibbed 083f811f7a Update discord-rpc, rapidjson. 2019-08-02 11:12:46 -05:00
Rick Gibbed 372928cd57
Merge pull request #1387 from Margen67/update_capstone
Update Capstone to latest stable (4.0.1).
2019-08-02 11:09:02 -05:00
Wes Taylor ce38e7b0b1 [App] Add support for Discord rich presence. 2019-08-02 09:06:02 -05:00
Triang3l e466687f11 [Base] Fix tzcnt logic 2019-07-31 23:08:41 +03:00
gibbed 669d83896d [Kernel] Implement RtlImageNtHeader. 2019-07-29 19:23:16 -05:00
gibbed cd18b702a6 [Kernel] Implement ExAllocatePool. 2019-07-29 19:21:01 -05:00
gibbed 3d67ffad81 [Kernel] Implement NtOpenSymbolicLinkObject, NtQuerySymbolicLinkObject. 2019-07-29 18:04:06 -05:00
gibbed 05d2d76cff [VFS] Reimplement ResolvePath. Add FindSymbolicLink, ResolveSymbolicLink. 2019-07-29 17:55:46 -05:00
gibbed 54b0e2aff6 [Kernel] Add XSymbolicLink. 2019-07-29 17:52:46 -05:00
gibbed e72cacc986 [VFS] Make ResolvePath argument a const reference. 2019-07-29 16:04:25 -05:00
gibbed 7c7d80103e [Kernel] Use type constant instead of type enum when calling base constructor. 2019-07-29 13:53:44 -05:00
gibbed 0d6bfc1a6b [Kernel] Rename NotifyListener to XNotifyListener to bring it in line with the naming scheme of kernel objects. 2019-07-29 13:43:13 -05:00
gibbed e38be4c294 [Core] Use a macro for loading kernel modules (which also explicitly discards return value). 2019-07-29 13:26:09 -05:00
gibbed ecf64d8e05 [Core] Keep a reference to the main thread's XThread rather than its underlying thread. 2019-07-29 13:24:36 -05:00
gibbed a4d2f5e4ed [Core] Initialize all members of Emulator. 2019-07-29 13:22:45 -05:00
Triang3l bc2eaf9b64 [CPU] VectorAverage CPU-independent constant propagation 2019-07-21 22:01:24 +03:00
Triang3l ab664e38a0
Merge pull request #1406 from Gliniak/vsvgsb
Added support for Altivec: vavgsb
2019-07-21 18:30:03 +03:00
Triang3l 8c00aea5ff [CPU] vpkd3d VPACK_NORMPACKED64 2019-07-20 22:04:37 +03:00
Triang3l 2350810f4e [Base] Add typename to sat_add/sub 2019-07-20 16:14:13 +03:00
Triang3l 26c24b4726 [CPU] Move saturating add/sub to base/math.h 2019-07-19 23:12:11 +03:00
Triang3l 2b411f4c8b [CPU] Saturating VectorSub: fix typo in last commit 2019-07-19 08:22:30 +03:00
Triang3l f14f44e729 [CPU] Saturating VectorAdd/Sub of constants without DID_SATURATE yet 2019-07-19 08:17:55 +03:00
gibbed 0bed6e565b [Base/GPU] Fix some usage of xe::find_base_path. 2019-07-18 18:37:47 -05:00
gibbed 887609ba44 [Base] Only attempt to create non-empty base paths in CreateParentFolder. 2019-07-18 18:32:04 -05:00
gibbed 706c810a3a [Base] Fix find_base_path returning original string with no separator is found. 2019-07-18 18:31:21 -05:00
gibbed 0d3039f5ba [VFS] Fix an outdated commit of OpenFile that somehow slipped through. 2019-07-18 17:49:15 -05:00
gibbed 9a8d77137c [Base] Fix Windows CreateFolder so it creates the entire path properly. 2019-07-18 17:47:25 -05:00
gibbed 324d28adba [VFS] Fix comment. 2019-07-18 17:24:44 -05:00
gibbed bf989f0aae [Kernel/VFS] Maybe fix creation of directories. See #1403. 2019-07-18 17:15:57 -05:00
Radosław Gliński 53eb95d33c Added support for Altivec: vavgsb
Also little size adjustments for vavgsh
2019-07-18 21:22:42 +02:00
gibbed e14639c6c0 [CPU] Fix lzx_decompress misuse of xe::bit_count. Fixes #1402. 2019-07-18 12:33:16 -05:00
Rick Gibbed c1f5bf71d8
Merge pull request #1400 from Margen67/fix-typo
Fix typo in xenia-build.
2019-07-17 21:10:28 -05:00
Margen67 efdc78ee22
Fix typo in xenia-build 2019-07-17 17:52:01 -07:00
gibbed c213f7d7a3 [CPU] Properly clear LZX window. 2019-07-17 17:53:59 -05:00
gibbed 29665ae79c [CPU] Minor LZX code cleanup. 2019-07-17 17:51:36 -05:00