Ben Vanik
edfa3f3fc0
Replacing the tick count timer with xplat abstraction (also better rate).
...
Fixes #346 .
2015-07-19 10:11:54 -07:00
Ben Vanik
91d7acf59e
Fixing some particularly bad /W4.
2015-07-18 23:04:21 -07:00
Ben Vanik
e0eb85bbbc
Switching to premake. Probably with disasterous consequences.
2015-07-18 16:00:01 -07:00
Ben Vanik
6c5d230f67
Merge pull request #353 from DrChat/ob_threads
...
Implement ObLookupThreadByThreadId / ObOpenObjectByPointer
2015-07-18 13:27:25 -07:00
Dr. Chat
b92cddc182
Implement SHA-1 in xboxkrnl (correctness not verified though)
...
Stubs for some weird crypto functions
2015-07-18 14:57:43 -05:00
Dr. Chat
55f5b95670
These are implemented (and formatting)
2015-07-17 20:29:39 -05:00
Dr. Chat
c60d30a311
Add a few more xam exports
2015-07-17 19:57:35 -05:00
Dr. Chat
c3189a6837
ObLookupThreadByThreadId / ObOpenObjectByPointer
2015-07-17 19:56:54 -05:00
Dr. Chat
1ea5a4b7b4
XThread initialize the dispatch header
2015-07-17 19:55:09 -05:00
Dr. Chat
e54477d0e4
XObject::StashNative
2015-07-17 19:52:29 -05:00
Ben Vanik
756d414386
Prep for split libraries.
2015-07-16 22:26:34 -07:00
Sinoxan
0cdff21582
Removing unnecessary unsigned checks.
2015-07-16 19:01:11 +01:00
Ben Vanik
ecd4af10c9
Fixing some clang warnings/errors.
2015-07-15 23:26:58 -07:00
Ben Vanik
f520d3a2a4
Run with latest clang-format.
2015-07-15 22:44:30 -07:00
Ben Vanik
c3415e6332
Adding TLS abstraction.
2015-07-15 22:20:33 -07:00
Ben Vanik
48d5d76882
Cleaning up RtlTimeToTimeFields/TimeFieldsToTime. Needs a non-win32 impl.
2015-07-15 22:10:24 -07:00
Ben Vanik
8154d1dad6
Moving xe::Memory and code cache to abstracted APIs.
2015-07-15 22:10:05 -07:00
Ben Vanik
fefaa31cd8
Switching a few types to their platform-agnostic versions.
2015-07-15 22:09:19 -07:00
Ben Vanik
58c3a1ba79
VirtualProtect platform abstraction.
2015-07-15 18:20:05 -07:00
Ben Vanik
99104a25a8
Fixing thread exit.
2015-07-15 18:01:17 -07:00
Ben Vanik
a6012b73f4
Switching audio system to platform-agnostic primitives.
2015-07-14 23:13:56 -07:00
Ben Vanik
345fe60da0
Switching over kernel objects to the platform-agnostic APIs.
...
Possibly some regressions here.
2015-07-14 22:44:45 -07:00
Ben Vanik
bd490d5833
Threading primitives, in prep for removing Win32 from kernel/ and others.
2015-07-13 22:49:29 -07:00
Ben Vanik
d89bad7380
Removing uses of Sleep/SwitchToThread/etc.
2015-07-13 21:54:24 -07:00
Ben Vanik
40621a90bd
Switching to standard mutex for now (but keeping xe::mutex).
2015-07-13 21:49:32 -07:00
Ben Vanik
72ad899e9e
Starting to remove windows.h includes from things.
2015-07-13 20:49:29 -07:00
Ben Vanik
15c17459be
Massive refactoring of xenia::ui and GL swap behavior.
...
This seems to dramatically improve most games (especially with
--vsync=false), though it may cause swap issues with others.
New code should be easier to port, and enables elemental-forms to be
drawn for any emulator UI.
2015-07-12 22:04:17 -07:00
Dr. Chat
5332290573
NetDll_WSAWaitForMultipleEvents
...
NetDll_WSAResetEvent
2015-07-11 19:32:33 -05:00
Dr. Chat
8499da972c
Convert a couple of kernel threading APIs to new style
2015-07-11 18:17:52 -05:00
Dr. Chat
f0060f8335
Allow direct typecasting of Result shim util class
2015-07-11 18:14:33 -05:00
Dr. Chat
90a9a71e55
Lint.
2015-07-10 23:32:05 -05:00
Dr. Chat
ee1696e571
Fix some inconsistencies in the XMA API (and rewrite a lot of functions to the new style)
2015-07-10 23:16:42 -05:00
Dr. Chat
b2241e3fef
Avoid calling OnUnload twice.
2015-07-06 19:19:32 -05:00
Dr. Chat
0388d17a72
Formatting
2015-07-06 10:57:32 -05:00
Dr. Chat
88465de41e
FscGetCacheElementCount stub
2015-07-06 10:41:14 -05:00
Dr. Chat
6ddd0b4700
Rewrite InterlockedPopEntrySList
2015-07-05 21:33:29 -05:00
Dr. Chat
870aa092bb
KernelState::GetKernelModule
2015-07-05 17:27:25 -05:00
Dr. Chat
8adbc2cd0c
Return 0 for success
2015-07-05 17:14:42 -05:00
Dr. Chat
fd136c1f9f
Swap to default initializers.
2015-07-05 17:05:58 -05:00
Dr. Chat
4e6b036b3c
Formatting.
2015-07-05 16:28:11 -05:00
Dr. Chat
82986c6eec
Use TerminateTitle rather than relying on XamLoader* being called from the main thread.
2015-07-05 16:22:45 -05:00
Dr. Chat
ff72a25260
Remove dump on module launch (already dumped on load!)
2015-07-05 15:54:30 -05:00
Dr. Chat
39d6e9a20f
Implement XamLoaderLaunchTitle and other loader functions.
2015-07-05 15:44:46 -05:00
Dr. Chat
d6686fc345
Load default.xex as a regular module and call TerminateTitle when the main thread exits.
2015-07-05 15:44:02 -05:00
Dr. Chat
57e89e72b1
Use the actual thread handle as a wait handle, add bool XThread::running
2015-07-05 15:43:09 -05:00
Dr. Chat
5ccea06e7f
KernelState::TerminateTitle
2015-07-05 15:42:30 -05:00
Dr. Chat
778acac929
XThread Terminate
2015-07-05 14:44:43 -05:00
Dr. Chat
7f53b1d630
Allow unloading of user modules
2015-07-05 14:03:00 -05:00
Dr. Chat
8210ada448
XModule OnUnload
2015-07-05 13:47:53 -05:00
Dr. Chat
4fdebd530f
XThread bool guest thread
2015-07-05 13:37:10 -05:00