Triang3l
352f12f92e
[D3D12] Switch from gflags to cvars
2019-08-03 16:53:23 +03: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
c1af632562
Replace all gflag implementations with cvar implementations
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
Triang3l
68b2ddee86
Merge branch 'master' into d3d12
2019-07-31 23:09:44 +03:00
Triang3l
e466687f11
[Base] Fix tzcnt logic
2019-07-31 23:08:41 +03:00
Triang3l
4aceeb73c4
[Memory] Move new watches to heap-aware Memory from MMIOHandler
2019-07-30 08:00:20 +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
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
9a8d77137c
[Base] Fix Windows CreateFolder so it creates the entire path properly.
2019-07-18 17:47:25 -05:00
Rick Gibbed
e51686bbac
Merge pull request #1369 from jgoyvaerts/logger_fix
...
[Base] Flush the logger before exiting on a fatal error.
2019-05-11 11:45:00 -05:00
Jonathan Goyvaerts
eb5baa41bb
Shutdown logging when a fatal error occurs, this fixes the error not showing up in the log file
2019-05-11 14:58:34 +02:00
Rick Gibbed
00e061c4e4
Merge pull request #1316 from chris-hawley/master
...
[Base] Remove hacky fix for missing codecvt on linux.
2019-05-04 11:40:33 -05:00
Rick Gibbed
9bb20bfc36
Merge pull request #1254 from Wildenhaus/master
...
Games on Demand / Multi-file STFS (SVOD) support.
2019-05-04 11:30:48 -05:00
gibbed
bc9d82e2b0
[Base] Fix Travis whining.
2019-04-30 18:16:20 -05:00
gibbed
bc0ebcb26e
- Clean up log level names, no need for LOG_LEVEL_ prefix when it is an
...
enum class.
- Clarify usage of log level in comment.
2019-04-30 17:41:27 -05:00
gibbed
6b772c01b9
[Base] Oops. Fix missing include.
2019-04-30 16:44:00 -05:00
gibbed
2c3207e5cc
[Base] Widen LaunchBrowser.
2019-04-30 16:30:17 -05:00
gibbed
1dd15d4abc
[App] Stub main_init for posix.
2019-04-20 10:57:41 -05:00
gibbed
4f44bc3362
[App] Fix AVX check. For good this time. Hopefully.
2019-04-20 02:32:45 -05:00
gibbed
1145d57007
Undo main/wWinMain changes in preparation for new method
...
of doing a startup AVX check.
This reverts commit 4030cff3ec .
2019-04-20 02:32:45 -05:00
gibbed
18d8a59cfa
[Kernel] Initialize COM on all new XThreads.
2019-04-19 04:02:32 -05:00
gibbed
4030cff3ec
- Move main, wWinMain entrypoints to their own file.
...
- Fix startup AVX checks.
2019-04-18 16:57:42 -05:00
chris-hawley
fed4cb63a7
implement linux filesystem support
2019-04-08 01:06:06 -04:00
Christian Hawley
b1f2f177cd
Remove hacky fix for missing codecvt on linux
2019-04-08 01:06:06 -04:00
Triang3l
84b8b444cf
[Base] Clock::QueryHostUptimeMillis: change to 64-bit
2019-04-05 13:32:34 +03:00
gibbed
eee4d91621
[App] Hopefully fix CPU support check for AVX so it will function on CPUs without AVX.
2018-12-15 23:36:07 -06:00
gibbed
85b714f2af
[Base] Make --win32_high_freq=false actually work.
2018-12-15 22:56:36 -06:00
gibbed
fb50f02a98
[Base] Properly flush remaining writes out before shutting down logging.
2018-11-24 08:54:46 -06:00
gibbed
86d2c9ae1e
Fix Travis whining.
2018-11-22 09:48:04 -06:00
Margen67
896ac4a682
Update documentation.
...
- Convert http to https, provide archive link when possible.
- Made CPU-JIT.png more readable on dark themes;
Added a white background so there isn't black text on a black
background.
2018-11-22 09:20:09 -06:00
gibbed
5c473a5203
[Base] Fix missing include in filesystem_posix.
2018-11-22 06:41:58 -06:00
gibbed
1ba5dd5eb1
Use platform-specific user directory to store content. Create a file named portable.txt next to xenia.exe to restore previous behavior.
2018-11-21 18:07:45 -06:00
Wildhaus
19fb21da7d
Games on Demand / Multifile STFS (SVOD) Support
2018-11-11 15:27:29 -05:00
Triang3l
c949ce3d9c
[Base] StringBuffer: Clear the C string in Reset
2018-11-10 16:33:40 +03:00
emoose
0b7f7e1657
[CPU] Move XEX2 code into XexModule class, autodetect XEX key
...
Code is mainly just copy/pasted from kernel/util/xex2.cc, I've tried fixing it up to work better in a class, but there's probably some things I missed.
Also includes some minor improvements to the XEX loader, like being able to try both XEX keys (retail/devkit) automatically, and some fixes to how the base address is determined.
(Previously there was code that would get base address from optional header, code that'd get it from xex_security_info, code that'd use a stored base address value...
Now everything reads it from a single stored value instead, which is set either from the xex_security_info, or if it exists from the optional header instead.
Maybe this can help improve compatibility with any weird XEX's that don't have a base address optional header?)
Compressed XEX loader also has some extra checks to make sure the compressed data hash matches what's expected.
Might increase loading times by a fraction, but could save reports from people unknowingly using corrupt XEXs.
(still no checks for non-compressed data though, maybe need to compare data with xex_security_info->ImageHash?)
2018-10-20 04:18:18 +01:00
gibbed
cd39bbed5c
[Base] Undo last commit because it breaks file redirection.
...
This reverts commit ceece673e8 .
2018-05-31 17:22:50 -05:00
gibbed
ceece673e8
[Base] Fix AttachConsole so that --help works when invoked from command-line.
2018-05-31 16:46:03 -05:00
gibbed
bc369e43cb
[Kernel] Add support for XFileEndOfFileInformation.
2018-05-23 04:24:37 -05:00
DrChat
6262dd2c3d
[App] Actually set a high-performance timer
2018-05-22 22:20:34 -05:00
DrChat
288af1c7e9
[App] Add a flag to toggle high-performance timers
2018-05-22 17:31:30 -05:00
DrChat
73c30d87a8
[App] Request high-performance timer resolution on Windows
2018-05-22 16:41:05 -05:00
Sandy Carter
24e7bb5293
[Memory] Fix alignment to 16 bytes
...
Fix segmentation fault happening on linux when `src` or `dst` is not aligned to
16 bytes.
Assert against use of `src_ptr` and `dest_ptr` which are not unaligned to 16
bits.
2018-04-20 18:50:40 -07:00
Sandy Carter
1681ebfdcb
[Base Tests] Add tests for all cases in memory.cc
2018-04-20 18:50:39 -07:00
Sandy Carter
b6dc70ea5a
[Base Tests] Move base tests to their own subdir
2018-04-20 17:08:28 -07:00