Commit Graph

122 Commits

Author SHA1 Message Date
Ben Vanik
e186fcaf0d Fixing end_of_file and allocation_size, some wildcard stuff, etc. 2015-06-02 22:13:16 -07:00
Ben Vanik
f86f6ee79d Always set fake cpu #. 2015-06-01 23:22:25 -07:00
Ben Vanik
19cb13692b Fixing undefined export names. 2015-06-01 22:12:11 -07:00
Ben Vanik
9c3d2b54fb Cleanup before kernel export refactor. 2015-05-31 16:31:19 -07:00
Ben Vanik
fccab79a7a Adding kernel state pointer to PPCContext. Still needs larger cleanup. 2015-05-31 14:35:56 -07:00
Ben Vanik
d97a6d1929 NtReadFile APC, somewhat. 2015-05-29 21:24:23 -07:00
gibbed
0050b3df83 Assign a CPU number based on the proc affinity mask on thread creation. Fixes audio threads not starting properly on Frogger 2, and possibly other titles. 2015-05-28 12:56:56 -05:00
Ben Vanik
8244409501 Refactoring to enable future time scaling, coordinated clocks, etc. 2015-05-26 22:20:58 -07:00
Ben Vanik
41cee3d337 Switching vsync to custom thread. 2015-05-25 21:12:27 -07:00
Ben Vanik
e3ddcd44e7 Minor fixes and fixing thread names. 2015-05-25 21:10:28 -07:00
Ben Vanik
273b9939e1 Fixing some misc thread/audio stuff. 2015-05-25 00:58:43 -07:00
Ben Vanik
f5a2b85d42 Switching to xe::mutex. 2015-05-25 00:52:21 -07:00
Ben Vanik
d746743d20 More object_ref'ing. 2015-05-25 00:51:28 -07:00
Ben Vanik
5cfb69434c Modules using object_ref. 2015-05-25 00:51:27 -07:00
Ben Vanik
fff1a7c132 Switching std::thread to XThread and hosting in object_refs. 2015-05-25 00:51:26 -07:00
Ben Vanik
1104f8e687 Header cleanups and prep. 2015-05-25 00:51:25 -07:00
gibbed
3e55b590b1 Removing unnecessary indirection from XFile. 2015-05-24 04:30:09 -05:00
gibbed
de844a3db9 Renamed XFileSystemAttributeInfo to X_FILE_FS_ATTRIBUTE_INFORMATION. 2015-05-24 04:30:08 -05:00
gibbed
cbbaae7867 Renamed XFileSystemSizeInfo to X_FILE_FS_SIZE_INFORMATION. 2015-05-24 04:30:07 -05:00
gibbed
9104e0a288 Renamed XVolumeInfo to X_FILE_FS_VOLUME_INFORMATION. 2015-05-24 04:30:07 -05:00
gibbed
d60870e9eb Renamed XDirectoryInfo to X_FILE_DIRECTORY_INFORMATION. 2015-05-24 04:30:06 -05:00
gibbed
e3e2b1a6d9 Renamed XFileInfo to X_FILE_NETWORK_OPEN_INFORMATION. 2015-05-24 04:30:05 -05:00
gibbed
2f905c0864 Added device(), removed absolute_path() on XFile. NtCreateFile now uses the file's device to resolve root directory requests. 2015-05-24 02:48:43 -05:00
gibbed
3077999240 Added XFileSystemSizeInfo. 2015-05-22 01:29:21 -05:00
Ben Vanik
4d41840728 Misc threading fixes and flags to ignore priorities/affinities. 2015-05-21 22:33:29 -07:00
Ben Vanik
20a3172ebb Fix race condition in VS on thread naming. 2015-05-19 22:28:02 -07:00
Ben Vanik
f88bf33b4f Moving threads to XHostThread and making shutdown not crash. 2015-05-19 22:20:49 -07:00
Ben Vanik
b119aa50f5 Fixing thread ID. 2015-05-18 21:24:14 -07:00
Dr. Chat
ffe3b4bf04 XHostThread class 2015-05-18 22:23:59 -05:00
Dr. Chat
ef912e7e13 Update user module imports debug dump 2015-05-18 01:42:42 -05:00
Dr. Chat
589e672d20 XexModule: Resolve user library imports 2015-05-18 01:31:59 -05:00
Ben Vanik
4d32c7af05 Attempting a thread priority mapping. 2015-05-17 21:26:27 -07:00
Ben Vanik
b44a7a7730 Allocating stacks in the right place. 2015-05-17 13:10:02 -07:00
Ben Vanik
37804d692c Fixing stack allocation alignment. 2015-05-17 10:17:32 -07:00
Dr. Chat
662fa97444 XObject SetNativePointer: Added flag to disable asserts on uninitialized memory 2015-05-16 18:47:33 -05:00
Ben Vanik
da630cc159 Starting to clean up thread state. 2015-05-16 16:34:14 -07:00
Ben Vanik
147a70b9c1 Rewriting memory manager. 2015-05-17 00:16:56 +01:00
Ben Vanik
6239ff9616 Disabling thread state 0x150 set. 2015-05-16 01:49:57 -07:00
Ben Vanik
8d4f54e240 Thread state updates. 2015-05-16 01:45:56 -07:00
Ben Vanik
88596611d1 Thread tweeks. 2015-05-16 00:12:25 -07:00
gibbed
61f4095851 Set thread affinity of the specific thread, not the current thread. 2015-05-14 17:02:28 -05:00
gibbed
283f5269d5 Create native threads with default stack size. 2015-05-14 17:02:27 -05:00
Ben Vanik
7a00b76a6e Debugger stuff, and changing to vcproj's/sln. 2015-05-09 17:48:12 -07:00
Ben Vanik
4411a4499d XEX-style exports, dumping exports, and prepping kernel export lookup. 2015-05-09 00:59:03 -07:00
Ben Vanik
23eb343484 Calling DllMain, fixing ref count, and fixing module search. 2015-05-09 00:56:42 -07:00
Ben Vanik
ade5388728 bool-ifying xe::cpu 2015-05-05 18:52:54 -07:00
Ben Vanik
b07d5b8ed3 Fixing compile warnings. 2015-05-05 18:52:37 -07:00
Dr. Chat
bffd2624fc Lookup XEX export by ordinal 2015-05-05 18:54:01 -05:00
Ben Vanik
442e5f2840 clang-format 2015-05-04 20:24:02 -07:00
Dr. Chat
49c8efdc6d XexGetProcedureAddress by name implemented. 2015-05-04 18:02:57 -05:00