Commit Graph

685 Commits

Author SHA1 Message Date
gibbed
95afbe2d93 Don't allocate memory for TLS slots, and copy the default TLS data at the start, rather than offset by the TLS slot size, which seems to be more correct. 2015-06-14 03:50:45 -05:00
gibbed
734b1a7be9 Fixed byte_offset in NtReadFile debug log. 2015-06-13 09:00:26 -05:00
gibbed
3a093d4c84 Fixed comment. 2015-06-13 08:59:52 -05:00
Dr. Chat
9376ed3f01 Whoops 2015-06-13 00:33:24 -05:00
Dr. Chat
3e7870fb39 Make SetNativePointer setup the guest pointer 2015-06-12 22:46:19 -05:00
Dr. Chat
4e74db8e51 Add the dispatch header to X_SEMAPHORE 2015-06-12 22:43:37 -05:00
Dr. Chat
3bd5dc011c Free the object creation info on destruction 2015-06-12 21:35:49 -05:00
Dr. Chat
b7aabd7860 XSemaphore now calls CreateNative 2015-06-12 21:31:00 -05:00
Dr. Chat
bdcadeffe5 XObject CreateNative 2015-06-12 21:30:32 -05:00
Dr. Chat
a0a8b7ec37 Add X_OBJECT_HEADER and X_OBJECT_CREATE_INFORMATION 2015-06-12 19:48:24 -05:00
Dr. Chat
f96657ef7c Fixup DISPATCH_HEADER type_flags to its parts 2015-06-12 19:47:28 -05:00
Dr. Chat
4c9cab4346 Make XThread create a kernel object for itself 2015-06-12 19:02:17 -05:00
Dr. Chat
864e257474 DISPATCH_HEADER -> X_DISPATCH_HEADER 2015-06-12 18:59:08 -05:00
gibbed
6348c3dc72 Changed a hardcoded value to something slightly more reasonable until we can calculate the correct value. 2015-06-10 23:48:51 -05:00
gibbed
1c37c14fc8 Cleaned up MmQueryStatistics. 2015-06-10 21:53:47 -05:00
gibbed
dc371009d9 Renamed handle_ to native_handle_ in some places where it makes more sense. 2015-06-10 21:24:54 -05:00
Ben Vanik
cabf9d6261 Adding some GPU docs and creating output directories automatically. 2015-06-10 19:20:14 -07:00
Dr. Chat
feba4f03a2 ResolvePath check for fully qualified paths 2015-06-10 19:09:33 -05:00
Dr. Chat
bc0fb19005 Swap main device to harddisk0 2015-06-10 19:08:58 -05:00
Dr. Chat
60cf80d85c Actually give the game the new handle 2015-06-09 19:04:41 -05:00
Dr. Chat
41f1023549 Minor fix in XThread - checking the wrong address for NULL 2015-06-09 18:58:45 -05:00
Dr. Chat
72a641efac Fix up NtDuplicateObject 2015-06-09 18:58:21 -05:00
Dr. Chat
3627418e0e Object table handle duplication 2015-06-09 18:58:02 -05:00
Ben Vanik
573f190a43 Adding modules/functions to the debugger. 2015-06-08 23:22:25 -07:00
Ben Vanik
00b3b0eab9 Adding assertion to RtlImageXexHeaderField + fixing return (maybe). 2015-06-07 21:51:19 -07:00
gibbed
1d37df29cb Untested implementation of MmCreateKernelStack and stub of MmDeleteKernelStack. 2015-06-07 22:28:06 -05:00
gibbed
98e14fcb1b Hack for KeWaitForSingleObject when games pass in object handles. 2015-06-07 21:08:16 -05:00
gibbed
7f57867f49 Let's fix the strange stack overflows doing the stupid thing. 2015-06-07 18:29:09 -05:00
gibbed
b9087e0698 This appears to be better? 2015-06-07 18:17:09 -05:00
Ben Vanik
ba88955be4 vsnprintf return is dumb. 2015-06-07 16:13:05 -07:00
gibbed
0fb9161a1b Putting the user_index == 255 check back into XamUserReadProfileSettings. 2015-06-07 04:51:50 -05:00
gibbed
cbd1210337 Handle a NULL playlist name pointer when creating title playlist. 2015-06-07 01:46:57 -05:00
Ben Vanik
f0492dfbb0 Looks like this is used to query rather than read sometimes. 2015-06-06 23:00:17 -07:00
Ben Vanik
58324352ae Stubbed color format. 2015-06-06 22:57:15 -07:00
Dr. Chat
14b14f4309 XnAddrStatus enum and XNADDR struct 2015-06-06 21:20:20 -05:00
Dr. Chat
0c61244e91 Fix XNetGetDebugXnAddr signature 2015-06-06 19:19:13 -05:00
Dr. Chat
6e0732b95b NetDll argument 0 is a caller ID 2015-06-06 19:17:26 -05:00
Ben Vanik
a52fcf0157 Merge pull request #244 from DrChat/sector_info_stub
Sector info stub
2015-06-05 17:36:50 -07:00
gibbed
b14ca702d1 Initialize process_type properly. 2015-06-05 19:21:52 -05:00
Dr. Chat
3b913844f0 File sector information stub 2015-06-05 19:06:36 -05:00
Dr. Chat
5250f0ca3e NtQueryInformationFile: Return X_STATUS_UNSUCCESSFUL on default cause 2015-06-05 18:58:39 -05:00
Dr. Chat
d9ff65c9a2 Change NtQueryInformationFile to new-style export 2015-06-05 18:54:47 -05:00
gibbed
1d02ce63d3 Cleaned up XamUserReadProfileSettings. Also fixed writing out pointers for
setting data, fixing issues with games trying to read from zero page after
reading profile settings.
2015-06-05 18:53:14 -05:00
gibbed
edf8d1a74d Corrected comment. 2015-06-05 16:49:28 -05:00
gibbed
c1d3d62e2a Changed the default license mask. 2015-06-05 16:17:09 -05:00
Ben Vanik
232c35b89e Use the right sizes. Nice catch DrChat. 2015-06-04 20:06:49 -07:00
Ben Vanik
52060af847 Best-guess process info block. 2015-06-04 17:46:00 -07:00
Ben Vanik
f9742cc3eb Fixing formatting. 2015-06-04 16:56:42 -07:00
Ben Vanik
21474970b2 Fixing (or at least improving) TLS. 2015-06-04 16:51:53 -07:00
Dr. Chat
88672eff4f InterlockedFlushSList and rewrote InterlockedPopEntrySList 2015-06-04 16:21:25 -05:00