Commit Graph

265 Commits

Author SHA1 Message Date
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
DrChat
f8319ec12f [Base] Support sign-extension in bitfield 2018-04-14 17:34:21 -05:00
DrChat
14abe1a407 Fixup 360 support 2018-04-03 19:02:49 -05:00
DrChat
6b8a34c9ba [Base] Fix Travis 2018-03-03 19:15:37 -06:00
DrChat
4fd03e8029 [Base] Shutdown the logger to prevent truncation of output 2018-03-03 19:00:04 -06:00
DrChat
f7026cb17b [Base] Add support for microprofile counters 2018-03-02 23:28:01 -06:00
DrChat
7fbd55369e [UI] Update microprofile to latest 2018-02-28 18:52:45 -06:00
DrChat
09d16f4b7b [Base] Copy up to alignment boundary in aligned swap boundaries and then use aligned load/store 2018-02-18 17:02:26 -06:00
DrChat
ffef59aaa5 [Base] RingBuffer: Add ReadAndSwap instead of piggybacking off of Read 2018-02-18 12:18:20 -06:00
DrChat
e4bc596887 [Base] Faster copy-and-swap routines 2018-02-15 21:14:52 -06:00
DrChat
b17d6f5088 [Base] Enable aligned copy and swap routines 2018-02-14 20:28:34 -06:00
DrChat
a47417117e [Base] Implement PosixEvent using eventfd 2017-12-20 17:51:31 -06:00
DrChat
b865e324c2 [Base] Handle exec R/W mapped file handles 2017-12-19 19:36:10 -06:00
DrChat
cd2e07f680 [Base] First-pass memory file mapping support 2017-12-19 19:26:26 -06:00
DrChat
5da59a95c9 Merge branch 'linux' 2017-12-16 17:15:49 -06:00
DrChat
3bc5d90662 Return dummy values for unimplemented threading functions 2017-12-16 17:02:06 -06:00