Commit Graph

1126 Commits

Author SHA1 Message Date
Ben Vanik 84e884a07f Moving get_opt_header out of xex2. 2015-06-28 14:01:53 -07:00
Ben Vanik 010b701e05 Iterating on RtImageXexHeaderField. 2015-06-28 13:44:59 -07:00
Ben Vanik 996f99bd85 Quick fix for RtlImageXexHeaderField - still some more to do. 2015-06-28 12:17:48 -07:00
Ben Vanik e772a8cb92 Fixing module export. 2015-06-28 12:07:13 -07:00
Ben Vanik 7875a4b0ba Merge pull request #300 from DrChat/hmodule_fix
Swap to using HMODULE instead of handles for xex modules.
2015-06-28 12:01:32 -07:00
Dr. Chat c47c0b3354 Uhh, lint 2015-06-28 13:29:54 -05:00
Ben Vanik 83872d8e8f Refactoring vfs to remove a lot of duplicated code.
Progress on #294.
2015-06-27 22:37:49 -07:00
Dr. Chat bb900ba9db XexExecutableModuleHandle export now points to the executing HMODULE 2015-06-27 23:42:46 -05:00
Dr. Chat 944b39c51d Apply some lint n' stuff 2015-06-27 22:50:08 -05:00
Dr. Chat 8a6c620fe7 XUserModule::GetOptHeader 2015-06-27 22:42:17 -05:00
Dr. Chat 169cb65d96 Remove unused execution_info_ptr 2015-06-27 22:38:10 -05:00
Dr. Chat 7372dd4d8d Use HMODULE instead of handles for xex modules 2015-06-27 22:00:58 -05:00
Dr. Chat c228c0fa73 Add some native xex2 structs and handling functions 2015-06-27 21:32:16 -05:00
Ben Vanik 1ac19f1b08 Replacing vfs memory mapping with base memory mapping.
Progress on #294.
2015-06-27 18:02:20 -07:00
Ben Vanik 23f91b58f3 Moving code out of vfs/ that doesn't need to be there.
Progress on #294.
2015-06-27 17:01:25 -07:00
Ben Vanik abf47b7973 Removing utilities (that were just adding needless layers).
Progress on #294.
2015-06-27 16:27:38 -07:00
Dr. Chat 1ad144e451 NetDll_WSARecvFrom Stub 2015-06-27 17:08:42 -05:00
Dr. Chat e94ad84fe9 RtlImageXexHeaderField special case for XEX_HEADER_EXECUTION_INFO 2015-06-27 17:06:27 -05:00
Ben Vanik 0716cf84c0 Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
Progress on #294.
2015-06-27 13:31:21 -07:00
Ben Vanik bc75b0ab87 Fixing NtQueryDirectoryFile. 2015-06-27 12:55:30 -07:00
Ben Vanik c2e2b3380e Replacing X_ANSI_STRING with new style.
Progress on #297.
2015-06-27 12:16:52 -07:00
Ben Vanik f07d620553 Moving misc stuff out of xbox.h.
Progress on #297.
2015-06-27 11:44:40 -07:00
Ben Vanik 7e0246c381 Moving input structs out of xbox.h.
Progress on #297.
2015-06-27 11:37:12 -07:00
Ben Vanik 8c69a4df09 Cleaning up apu/ and renaming -private files to _flags.
Part of #296.
2015-06-27 11:25:56 -07:00
Ben Vanik b38bf5c132 Simplifying HID creation.
Part of #296.
2015-06-27 09:42:30 -07:00
Ben Vanik 3439641101 Removing cpu.h.
Part of #296.
2015-06-27 08:58:45 -07:00
Dr. Chat 287a761987 Fix AppendParam dereferencing NULL pointers 2015-06-25 19:29:37 -05:00
Ben Vanik b9c39d1b33 Fixing thread exit. 2015-06-22 22:40:39 -07:00
Ben Vanik fb1f4906d9 xb format --all (we are now format clean). Buildbot will yell at you. 2015-06-22 22:26:51 -07:00
Dr. Chat bafd448dd8 Cleanup some XThread code 2015-06-22 21:42:33 -05:00
gibbed 021b5a3d17 Moved the XMA decoder out of AudioSystem and into its own world (plus minor code cleanup in the process). 2015-06-21 02:25:24 -05:00
Dr. Chat 8eba3a366f Rename XamLoaderLaunchTitle argument 2015-06-20 11:05:33 -05:00
Ben Vanik 03f2d26afd Fixing tests with no debugger attached. 2015-06-19 21:53:49 -07:00
gibbed 1a38586d9a Cleaned up XMASetLoopData. 2015-06-19 21:52:02 -05:00
gibbed f3547a832f Removed XMAContextData::kSize constant, moved kXmaContextCount, changes to use newer ringbuffer, cleaned up XMAInitializeContext a bit (with fixes for loop_data handling). 2015-06-19 09:54:21 -05:00
gibbed 1e4d65bcf7 Whoops. 2015-06-19 07:34:51 -05:00
gibbed d1221a3c5e Cleaned up VdGetCurrentDisplayInformation a bit. 2015-06-19 06:45:27 -05:00
Ben Vanik e4c5522c84 Merge pull request #261 from SirCmpwn/fix-std-mem
Add missing includes for cstring
2015-06-16 22:19:19 -07:00
Drew DeVault a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik b750370759 Partial thread data plumbing. 2015-06-16 21:53:40 -07:00
gibbed 75206149ab KeInitializeEvent. 2015-06-16 20:41:26 -05:00
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
Dr. Chat 4f807a669c Fix TLS copying (size may still be wrong though) 2015-06-04 16:20:52 -05:00
Dr. Chat 0bc08d80ef NtCreateIoCompletion stub 2015-06-04 01:06:39 -05:00
Ben Vanik bba530f628 Pre-sizing export tables. 2015-06-03 22:40:23 -07:00
Ben Vanik a9e2ba16fb Optimizing page allocation (still shit) and adding MmSetAddressProtect. 2015-06-03 21:24:09 -07:00
Ben Vanik 50813d3ffa NetDll_XNetGetDebugXnAddr stub. 2015-06-03 20:45:05 -07:00
Ben Vanik b8d1d3cf35 Stub for avatar stuff to make it immediately bail. 2015-06-03 18:29:44 -07:00
Ben Vanik 36dc6dd864 Logging APC delivery. 2015-06-03 17:59:36 -07:00
gibbed 60daa978dd VdSwap has 10 arguments. 2015-06-03 10:37:59 -05:00
gibbed 5cfdec7dbf Fix a comment. 2015-06-03 09:50:13 -05:00
Ben Vanik 7f62e8a86d Fixing notification dequeing. 2015-06-02 22:13:17 -07:00
Ben Vanik e186fcaf0d Fixing end_of_file and allocation_size, some wildcard stuff, etc. 2015-06-02 22:13:16 -07:00
Dr. Chat b448d794c5 xboxkrnl SHA crypt stubs 2015-06-03 00:06:33 -05:00
gibbed 6d61d0a7b2 Added _snprintf and swprintf. 2015-06-02 10:42:10 -05:00
gibbed 58b1059a23 Reordered the formatting exports in the order of their ordinal. 2015-06-02 10:42:09 -05:00
gibbed b402fb76e1 Oops. 2015-06-02 10:42:08 -05:00
gibbed 065f0417f2 Fixed vsnprintf behavior when count < 0. 2015-06-02 10:42:08 -05:00
Ben Vanik c516447ae1 Misc stubs. 2015-06-02 00:14:24 -07:00
Ben Vanik 7525b840db Making Rick happy ;) 2015-06-01 23:41:17 -07:00
Ben Vanik 862c322cbc Fixing stack args and error typo. 2015-06-01 23:36:05 -07:00
Ben Vanik f86f6ee79d Always set fake cpu #. 2015-06-01 23:22:25 -07:00
Dr. Chat 93763c166f input_buffer_*_block_count -> input_buffer_*_packet_count 2015-06-02 00:44:59 -05:00
Ben Vanik 493b06a48a NetDll_XNetQosServiceLookup stub. 2015-06-01 22:20:04 -07:00
Ben Vanik 19cb13692b Fixing undefined export names. 2015-06-01 22:12:11 -07:00
Ben Vanik 5c34b0a73e Fixing printfs and fixing exports. link.exe is too good. 2015-06-01 21:40:53 -07:00
Ben Vanik a91a754b24 Converting some exports to the new way. 2015-06-01 20:56:57 -07:00
Ben Vanik f634edb9eb Shrinking type names. 2015-06-01 19:55:43 -07:00
Ben Vanik 169ced8194 Removing kernel_state and ppc_context from kernel export args. 2015-06-01 19:33:13 -07:00
Ben Vanik 23826fa957 Initial experiment with new kernel export format. 2015-06-01 18:19:42 -07:00
gibbed 225bb74316 Oops. Not sure how that got reverted. 2015-06-01 20:05:54 -05:00
gibbed 2a2fe509e6 Rename _vswprintf to vswprintf. 2015-06-01 19:42:23 -05:00
gibbed 5b06b8436e Use std::ostringstream instead of std::stringstream. 2015-06-01 19:32:13 -05:00
gibbed fe8d058b36 Completely reimplemented xboxkrnl formatting related functions (sprintf, etc). No longer relies on CRT-provided sprintf/etc. Floating-point types needs more thorough testing. 2015-06-01 19:29:25 -05:00
gibbed 633d72a98e Corrected NtQueryFullAttributesFile behavior when root_directory is 0. 2015-06-01 19:01:57 -05:00
gibbed 7c5ea52022 Updated functions pulling arguments out of the stack to use the appropriate SHIM_GET_ARG_* macro. 2015-06-01 19:01:56 -05:00
gibbed 8c49281bb5 Improvements to SHIM_GET_ARG_* macros. 2015-06-01 19:01:49 -05:00
Ben Vanik ce3359389b Allow new-style export registration. 2015-05-31 17:54:44 -07:00
Ben Vanik 08770a4ec0 Mass renaming. I love clang-format. 2015-05-31 16:58:12 -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
Ben Vanik a4edb7f9e1 Removing 64bit return type and cleaning up some SHIM* stuff pre-refactor. 2015-05-29 17:12:30 -07:00
gibbed 07c0724cf0 Some work on VdSwap. 2015-05-29 15:59:57 -05:00
gibbed 35bea36fc4 Added a magic value to XE_SWAP packets to make it obvious if there's an opcode collision. 2015-05-29 15:59:56 -05: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
gibbed d1dbee2052 Consistency in memset calls. 2015-05-28 05:28:59 -05:00
gibbed 32fff9271b Yeah, let's zero the right argument, m'kay. 2015-05-28 05:22:36 -05:00
gibbed 1613ef35a6 %S support for vsprintf. 2015-05-28 05:18:15 -05:00
gibbed 671d6f3746 Making assumptions about how big the buffer being passed to VdGetSystemCommandBuffer is. Seems to work and fix the divide by zero trap many games were making. 2015-05-28 05:18:14 -05:00
Ben Vanik e419d314b3 Audio now works a bit better, but is still broken :/ 2015-05-28 02:15:30 -07:00
Ben Vanik a93325434a Minor audio tweeks + profiling. 2015-05-28 00:19:17 -07:00
gibbed 0b75d409d2 Somehow this assert got removed. 2015-05-27 15:06:11 -05:00
gibbed 4280ae8adc Corrected HostPathEntry::QueryDirectory return value when the first search fails. 2015-05-27 14:36:59 -05:00
Ben Vanik 8244409501 Refactoring to enable future time scaling, coordinated clocks, etc. 2015-05-26 22:20:58 -07:00
gibbed 05f2577fb7 Hurf. SHIM_SET_RETURN_64 -> SHIM_SET_RETURN_32. 2015-05-26 23:06:26 -05:00
Ben Vanik 55e65f4ad6 GetObjectsByType. 2015-05-25 21:39:01 -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 814ec82ad4 Removing old GetObject. 2015-05-25 00:52:20 -07:00
Ben Vanik a2b66f9109 LookupObject'ing code. 2015-05-25 00:52:19 -07:00
Ben Vanik 018e9a96e1 LookupObject helper. 2015-05-25 00:52:19 -07:00
Ben Vanik 120e09f8e7 XObject::GetObject->GetNativeObject 2015-05-25 00:52:19 -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
Ben Vanik 8ac1f61c64 RAII object reference, debug mutex, etc. 2015-05-25 00:51:24 -07:00
Ben Vanik 576d6492dc Basic debugger networking. 2015-05-25 00:51:22 -07:00
gibbed 90d6c81161 Stubbed XFileAllocationInformation and XFileEndOfFileInformation in NtSetInformationFile. 2015-05-24 14:18:42 -05:00
gibbed f1d0fe909f Added an assert_not_null for native_ptr in XObject::GetObject. 2015-05-24 13:42:31 -05:00
gibbed 5c404ddfdb Always give an error on querying a file for compression information. This fixes Banjo-Kazooie and other games that rely on XtcdDecompression. 2015-05-24 12:32:24 -05:00
Ben Vanik 7afc108b28 Merge pull request #224 from DrChat/net_changes
Misc. changes in xam_net
2015-05-24 10:26:38 -07:00
gibbed 7d5b6920fa Added QuerySizeInfo for FileFsSizeInformation. 2015-05-24 04:30:10 -05:00
gibbed a4ef6e5837 Renamed QueryVolume to QueryVolumeInfo, QueryFileSystemAttributes to QueryAttributeInfo. 2015-05-24 04:30:09 -05: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 25c76e92e9 Simplify ResolvePath(), accessing paths using \Device\whatever is no longer valid (nothing should legitimately be using this anyway). 2015-05-24 01:27:26 -05:00
gibbed a4f2efe941 Fixed path joining in NtCreateFile. 2015-05-24 01:15:52 -05:00
Dr. Chat fad7cce2e9 Misc. changes in xam_net
XNetGetTitleXnAddr now returns a loopback address
2015-05-23 22:43:38 -05:00
gibbed 194fc4c1fd Calls to VdSetDisplayModeOverride seem to skip r5 as an argument. Set a return value in VdInitializeEngines. 2015-05-23 19:51:07 -05:00
gibbed b38bc0df1e VdPersistDisplay is two arguments, not nine. 2015-05-23 19:38:57 -05:00
gibbed a376eb7d9f Added XamIsUIActive. 2015-05-23 19:29:04 -05:00
Dr. Chat 99dd84ce57 Removed assert statements checking for addr range 2015-05-23 14:52:38 -05:00
Dr. Chat 61e9ba665b XamLoaderSetLaunchData 2015-05-23 14:35:00 -05:00
Dr. Chat 30e445a6de VdPersistDisplay - Check if unk1 ptr is NULL 2015-05-23 14:25:46 -05:00
Dr. Chat 9d2e8d4699 Shouldn't need these range asserts anymore. 2015-05-23 14:25:10 -05:00
gibbed ea99ba8e3b 0x7F000000-0x7FFFFFFF is magic. 2015-05-22 02:20:05 -05:00
gibbed ddc5989b06 Games seem to check if XamLoaderGetLaunchDataSize returns a non-zero, which maybe means no data/error. 2015-05-22 01:29:33 -05:00
gibbed 3077999240 Added XFileSystemSizeInfo. 2015-05-22 01:29:21 -05:00
gibbed 5ac98d2feb Adding some notes about fs_info_class in NtQueryVolumeInformationFile. 2015-05-22 00:41:24 -05:00
gibbed 06c99ded71 Cleaning up some stuff in RtlRaiseException, additional notes. 2015-05-22 00:41:23 -05:00
gibbed b3d56521b4 Valid, unknown, content type. 2015-05-22 00:41:23 -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 2328b34308 Cleaning up some old flags. 2015-05-19 22:28:01 -07:00
Ben Vanik 9e685a1453 Merge pull request #216 from DrChat/audio
Cleanup some audio code
2015-05-19 22:24:00 -07:00
Dr. Chat f168fa881e Merge branch 'audio_cleanup' into audio 2015-05-20 00:20:52 -05:00
Ben Vanik f88bf33b4f Moving threads to XHostThread and making shutdown not crash. 2015-05-19 22:20:49 -07:00
Ben Vanik 7a82ad839a Merge branch 'memory' 2015-05-19 20:29:00 -07:00
Dr. Chat 38918c86a8 Cleanup some audio system code 2015-05-19 21:52:21 -05:00
Ben Vanik 721974185f Implementing XamShowDirtyDiscErrorUI. 2015-05-18 22:50:59 -07:00
Ben Vanik dc7717e650 Fixing opening files for write. 2015-05-18 22:22:55 -07:00
Ben Vanik 53c807de5d File not found. 2015-05-18 21:56:29 -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
Ben Vanik dceb9550c9 Adding global lock for slist (this is what reactos does). 2015-05-18 19:17:07 -07:00
Ben Vanik c5906fba7f Implementing XGetVideoCapabilities. 2015-05-18 19:13:42 -07:00
Dr. Chat 90648187dd Implement InterlockedPopEntrySList 2015-05-18 21:10:58 -05:00
Ben Vanik 5c2b2a2b58 Adding missing exports. 2015-05-18 19:01:20 -07:00
Dr. Chat 9c949a2e87 Don't need to memset the xex memory twice. 2015-05-18 10:42:35 -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
Dr. Chat 88733bf8ba Zero-fill the memory where we're placing the xex 2015-05-18 00:50:58 -05:00
Dr. Chat f2ac2af8cd Change kernel state's object mutex to a recursive mutex
KernelState::IsKernelModule
2015-05-18 00:40:43 -05:00
Ben Vanik 4d32c7af05 Attempting a thread priority mapping. 2015-05-17 21:26:27 -07:00
Ben Vanik 56e27990e0 Fixing name check. 2015-05-17 17:17:56 -07:00
Ben Vanik c1a0f46ea8 Implementing dcbz. 2015-05-17 16:40:38 -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 f14a52358a KeSetBasePriorityThread: Some games apparently pass in the thread handle instead 2015-05-17 11:03:02 -05: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
Dr. Chat 4af14884ed Make sure object attributes pointer is non-NULL before reading from it 2015-05-16 15:24:23 -05: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
Dr. Chat e6b4c6056f Calculate xex size based on the total size of all of the sections 2015-05-14 21:54:18 -05:00
Ben Vanik 380fabebe7 async errors. 2015-05-14 17:13:54 -07:00
Ben Vanik 9ea88ff901 Hack for testing completion routines - this is not correct.
Assert left in on purpose.
2015-05-14 16:35:46 -07:00
Ben Vanik 46eedeab01 Fixing up some overlapped completion routine stuff. 2015-05-14 16:35:29 -07:00
Ben Vanik abf7b794e6 Adding --headless and basic message box UI. 2015-05-14 16:21:08 -07:00
gibbed 6fe545b3e9 Return X_ERROR_PATH_NOT_FOUND instead of X_ERROR_FILE_NOT_FOUND in XamContentCreateCore. 2015-05-14 17:02:28 -05: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
gibbed ac1a805b8e Implemented RtlNtStatusToDosError lookup tables. 2015-05-14 13:41:45 -05:00
gibbed 169c0fd26b Oops. Sorting. 2015-05-14 12:01:24 -05:00
gibbed 20144709e3 Added xboxkrnl_error.cc/.h and moved RtlNtStatusToDosError to it. 2015-05-14 11:59:50 -05:00
Dr. Chat 398a412707 Inherit exe stack size if user doesn't specify one 2015-05-14 00:59:29 -05:00
Ben Vanik 6aec2c0d02 Whoops. I'm tired. 2015-05-13 00:38:55 -07:00
Ben Vanik 3b2035a054 Adding case for ObReferenceObjectByHandle, but impl still todo. 2015-05-13 00:37:35 -07:00
Ben Vanik 7622746ecf 4A seems more legit for video mode unk. Still no clue what it is. 2015-05-12 21:41:44 -07:00
gibbed c00ded9fbc Fixed VdQueryVideoFlags. 2015-05-12 22:59:21 -05:00
gibbed 95080cefa2 Fixed second argument in XamEnableInactivityProcessing. 2015-05-12 21:56:24 -05:00
Ben Vanik 5fbdd6e262 Fixing XMP playlist handles. 2015-05-12 19:55:10 -07:00
gibbed fc9f9d9a60 This is probably more correct. Gets rid of all xobject related asserts for several games. 2015-05-12 06:51:30 -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
Dr. Chat 0f2b1491b7 Call a DLL's entry-point function in XexLoadImage 2015-05-08 22:51:03 -05:00
Dr. Chat 8deb622abb Execute module entry-point function if it has one. 2015-05-08 22:50:54 -05: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
Dr. Chat 54d84f04e3 XamLoaderLaunchTitle log parameters 2015-05-05 15:17:45 -05:00
Ben Vanik 649eb1cf8e Merge pull request #190 from DrChat/load_module
XexLoadImage support for user modules
2015-05-04 20:32:12 -07:00
Ben Vanik 442e5f2840 clang-format 2015-05-04 20:24:02 -07:00
Dr. Chat 1b111f0313 Thread safety 2015-05-04 22:16:48 -05:00
Dr. Chat f12a8dbe20 Release modules on destruction 2015-05-04 22:07:58 -05:00
Dr. Chat 9f0663efa2 XexLoadImage for user modules 2015-05-04 22:03:14 -05:00
Dr. Chat d86674ed82 Whoops 2015-05-04 21:39:43 -05:00
Dr. Chat 9603a0a683 Formatting 2015-05-04 20:58:30 -05:00
Dr. Chat 1571c51a56 Kill some unused code 2015-05-04 20:33:04 -05:00
Dr. Chat e90475a31b kill the TODO 2015-05-04 20:26:18 -05:00
Dr. Chat 6a602affed Don't parse loader export table for now (since it's referenced to with an exact address) 2015-05-04 18:16:31 -05:00
Dr. Chat 211cd0760a Use header->exe_address instead (in-case the module is relocated) 2015-05-04 18:11:39 -05:00
Dr. Chat be3d729831 Implemented this too (XexGetProcedureAddress) 2015-05-04 18:03:03 -05:00
Dr. Chat 49c8efdc6d XexGetProcedureAddress by name implemented. 2015-05-04 18:02:57 -05:00
Ben Vanik 78921c1a7e Merging Runtime into Processor. 2015-05-03 22:28:25 -07:00
Ben Vanik 4c8f3501ad Removing xdb and old tracing code before rewrite. 2015-05-03 22:01:31 -07:00
Ben Vanik d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07:00
Ben Vanik 99816056be Code cleanup: removing poly.h 2015-05-02 02:29:26 -07:00
Ben Vanik 642259e16f Code cleanup: moving ExportResolver to xe::cpu 2015-05-02 02:11:11 -07:00
Ben Vanik 4d15b2296e Code cleanup: removing config.h and cleaning up platform.h 2015-05-02 01:41:39 -07:00
Ben Vanik 30f7effa73 Code cleanup: removing common.h 2015-05-02 01:25:59 -07:00
Ben Vanik 727ffaa122 Various fixes and utilties. 2015-05-02 00:26:03 -07:00
Ben Vanik ec84a688e9 Starting to properly attribute virtual vs. physical memory accesses. 2015-03-29 11:11:35 -07:00
Ben Vanik 3a197705bb Special memory functions for system allocs. 2015-03-28 15:54:44 -07:00
Ben Vanik 71eabf7f2b Fixing some misc bugs. 2015-03-28 15:45:39 -07:00
Ben Vanik 281abea955 Converting addresses in xe::cpu to 32bit. 2015-03-24 19:41:29 -07:00
Ben Vanik 3279776a80 Moving cpu/frontend/ppc/ to cpu/frontend/. 2015-03-24 08:37:00 -07:00
Ben Vanik 9281d62106 Moving cpu/runtime/ to cpu/. 2015-03-24 08:25:58 -07:00
Ben Vanik 29912f44c0 Moving alloy/ into xenia/cpu/ to start simplifying things. 2015-03-24 07:46:18 -07:00
Ben Vanik 08e652410e Plumbing scalar params through swap. Hacky, but works for replay. 2015-03-22 09:31:55 -07:00
Ben Vanik 22246cccb5 Whoops - my arbitrarily picked GPU command # collided -_- 2015-03-20 16:37:04 -07:00
Ben Vanik 1a9ce6edfa Somewhere the file access mode is messed up... 2015-03-15 00:18:18 -07:00
Ben Vanik ff4e9c32b6 XamContentFlush stub. 2015-03-14 23:54:52 -07:00
Ben Vanik 0117c39968 Proper XamEnumerate return when there are zero items. 2015-03-14 23:54:43 -07:00
x1nixmzeng 25f78ed325 Added API scanner tool
New tool for issue #171 which links to libxenia to dump the API usage
from packaged content
2015-02-21 17:33:56 +00:00
Ben Vanik 130c11a2ca GPU recording (--trace_gpu=file) and playback (gpu-trace-viewer file). 2015-02-20 07:47:06 -08:00
x1nixmzeng d091f12c81 Adjustments to wildcard engine
Fixed incorrect logic when checking at the end of the string - some of
the names had an added null character
Removed case sensitivity
2015-02-17 22:42:01 +00:00
Ben Vanik 17bc561045 Implement XMA* methods.
Fixes #156.
2015-02-16 22:22:42 -08:00
Ben Vanik 50b0746a26 XMA hardware spoofing when using direct register access.
This works for recent games that don't use the XMA* methods.
Upcoming CLs will add the XMA* method shims forthcoming.
2015-02-16 17:18:28 -08:00
x1nixmzeng 97ed221d8b Fixed writing data to the host device
New paths can now be created if they do not exist - this allows content
packages such as savedata to be written to disk
2015-02-16 23:04:10 +00:00
Ben Vanik 20f40a1da4 sprintf. 2015-02-16 10:07:46 -08:00
Ben Vanik 04b30fef99 Fixing warning. 2015-02-13 15:50:37 -08:00
x1nixmzeng 4f7761c5e2 Support for wildcard queries
Provides support for persistent wildcard file requests, as described in
#96
Also moved CanonicalizePath into common code (poly::fs)
2015-02-13 23:41:19 +00:00
Ben Vanik 3d980dd294 No-op FileDispositionInformation for NtSetInformationFile. 2015-02-13 12:00:34 -08:00
Ben Vanik a482d7968b Fixing bad log and warnings. 2015-02-13 11:29:07 -08:00
Ben Vanik 6598556446 Implementing RtlCompareString/RtlCompareStringN. Fixes #162. 2015-02-13 10:43:56 -08:00
Ben Vanik ea5175cab5 Fixing path issues for host FS. 2015-02-12 21:52:46 -08:00
Ben Vanik f8c7c97d54 Fix null deref. 2015-02-12 18:11:29 -08:00
Ben Vanik d22bfec53c Implementing XamContentGetCreator, always returning self for saves. 2015-02-12 17:31:07 -08:00
Ben Vanik 0ae79bc21a Implementing NtFlushBuffersFile stub. 2015-02-12 17:30:41 -08:00
Ben Vanik d4d88daa94 XamContentCreate. Seems to work! Fixes #152. 2015-02-12 16:57:53 -08:00
Ben Vanik 1ddb8f0c8f Content enumeration. 2015-02-12 16:57:52 -08:00
x1nixmzeng 0d0b406acf Resolving entry names
Some more string manipulation fluff
2015-02-13 00:26:02 +00:00
Ben Vanik dc731f6a31 Most of XamContent* methods, besides enumeration.
Progress on #152.
2015-02-12 14:16:43 -08:00
x1nixmzeng 9300551e31 Various fixes to resolving relative paths
Rewritten the canonicalization path logic to better handle complex
relative paths
2015-02-12 01:39:22 +00:00
Ben Vanik bde6cf0d85 Stubs for XamSessionCreateHandler+co; enough to make games skip it.
Fixes #150.
2015-02-11 16:41:10 -08:00
Ben Vanik c846ec30c3 Implementing XamGetExecutionId. 2015-02-11 16:26:07 -08:00
Ben Vanik 31bec99cbb Stubs for XLIVEBASE.
Fixes #159.
2015-02-11 15:24:47 -08:00
Ben Vanik 31b09f5aac XUsbcamGetState stub. 2015-02-11 13:40:45 -08:00
Ben Vanik 585e0b0e46 XamAlloc/XamFree. Fixes #153. 2015-02-11 10:16:54 -08:00
Ben Vanik dbe9b25a65 Logging for XMPCaptureOutput in #140. 2015-02-11 09:55:13 -08:00
Ben Vanik 90e489527a Enough of ObOpenObjectByName to handle basic usage + asserts for others.
Fixes #143.
2015-02-11 09:42:12 -08:00
Ben Vanik 2c49eec79f XamContentGetDeviceData stub and making XamContent* less schizophrenic.
Fixes #147.
2015-02-11 07:36:15 -08:00
Ben Vanik d1f1fa8951 Fixing NetDll_select. 2015-02-11 00:27:58 -08:00
Ben Vanik c34601469b Fixing overlapped return from XamUserReadProfileSettings. 2015-02-10 23:32:12 -08:00
Ben Vanik e7dfbd5542 Make XexGetModuleHandle set ptr to 0 on failure. 2015-02-10 23:00:49 -08:00
Ben Vanik 57919b2a11 Seems like games are allowed to set the execute bit.
(it may just be masked away by the system)
2015-02-10 22:31:24 -08:00
Ben Vanik 5876196a2c Fixing input to return EMPTY. 2015-02-10 22:11:45 -08:00
x1nixmzeng 4351f48c7b Resolve relative file paths
Implemented path normalization so relative paths can be correctly
resolved
2015-02-11 01:11:52 +00:00
Ben Vanik 9b7f64f9e6 XNotifyDelayUI stub. 2015-02-10 12:11:17 -08:00
Ben Vanik cc6d03ab2c Removing unneeded fs entry type. 2015-02-09 16:59:28 -08:00
Ben Vanik 29719b8f4d Cleaning up some line ending issues. 2015-02-09 14:10:23 -08:00
Ben Vanik 908b95aeaa Probably working select. 2015-02-05 21:52:00 -08:00
Ben Vanik f128bf8670 Enough NetDll for games using sockets as IPC. 2015-02-05 21:26:28 -08:00
Ben Vanik c33613b2f8 assert_unhandled_case on ObReferenceObjectByHandle. 2015-02-02 23:07:21 -08:00
Ben Vanik 05f008d6ce Several XamContent* methods. 2015-02-02 23:07:20 -08:00
Ben Vanik c75a0337ae Fix XamUserCreateAchievementEnumerator. 2015-02-02 23:07:20 -08:00
Ben Vanik 969ef8f688 Fix XamEnumerate returns. 2015-02-02 23:07:19 -08:00
Ben Vanik 4f92df8918 XexGetModuleHandle(nullptr,) support. 2015-02-02 23:07:19 -08:00
Ben Vanik bba8f6391b Tweaking CriticalSection. 2015-02-02 23:07:16 -08:00
Ben Vanik ea1bdd2a24 Fixing vswprintf and adding vscwprintf. 2015-02-01 22:44:33 -08:00
Ben Vanik 487ce40123 No-op XUserGetContext. 2015-02-01 22:29:36 -08:00
Ben Vanik 59adde4d7f Negative size allocs. Probably. 2015-02-01 21:20:55 -08:00
Ben Vanik 493c3d7656 XMsgSystemProcessCall call. 2015-02-01 20:53:44 -08:00
Ben Vanik 93ded5ef0f Old style mfcr. 2015-02-01 20:49:47 -08:00
Ben Vanik 7b48332782 Reversing XUserSetPropertyEx signature. 2015-02-01 17:40:38 -08:00
Ben Vanik 5b759d387c Starting to reverse XGI app. 2015-02-01 17:25:18 -08:00
Ben Vanik cfcd6118c2 Fixing GetTickCount.
There's likely a better way to do this (on demand), but this works for now.
2015-02-01 09:05:35 -08:00
Ben Vanik 00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik b6b27e621a Enough XMP to play (fake) play media. 2015-01-11 00:28:24 -08:00
Ben Vanik f5e12eba76 Digging into XMP stuff. Wish these were just normal functions. 2015-01-10 21:36:46 -08:00
Ben Vanik e7ee2bf40d XamLoaderLaunchTitle 2015-01-09 00:31:56 -08:00
Ben Vanik 9f765e1291 XMsgStartIORequestEx 2015-01-09 00:26:47 -08:00
Ben Vanik 662bbb6729 Experimenting with video stuff. 2015-01-07 21:47:46 -08:00
Ben Vanik 3658e710d2 Tweaks; timebase supports TBU. 2015-01-06 00:13:27 -08:00
Ben Vanik 672ecdf252 Some games open readonly paths for writes.. hmm 2015-01-05 23:25:32 -08:00
Ben Vanik 1a70606904 QueryFileSystemAttributes/QueryVolume for STFS/ISO. 2015-01-05 22:32:44 -08:00
Ben Vanik 58e71c7ff3 KeSetDisableBoostThread stub. 2015-01-05 22:32:22 -08:00
Ben Vanik 540740ca41 NtCreateFile/NtOpenFile cleanup. Now opens directories, too. 2015-01-05 22:32:15 -08:00
Ben Vanik 9e65e35a09 Some user profile settings. 2015-01-05 22:11:26 -08:00
Ben Vanik a82629efd5 Fix dots in path names. 2015-01-04 21:08:47 -08:00
Ben Vanik caad11b30b Support root-relative paths. 2015-01-04 20:57:12 -08:00
Ben Vanik 55c4488ab2 Fast-pathing MDI's that have only one draw. 2015-01-04 14:23:28 -08:00
Ben Vanik 9c6be1edba Deciphering copy packets. 2014-12-31 19:26:57 -08:00
Ben Vanik 577ab0a4f1 Main window, empty GPU files. 2014-12-31 19:26:53 -08:00
Ben Vanik a0eebf8898 Removing old run loop/ref/core/etc. 2014-12-31 19:26:51 -08:00
Ben Vanik 1ae2f2a7af Fixing warnings under the new VC++. 2014-12-19 19:29:12 -08:00
Ben Vanik 21b6c93db0 Tweaking GPU callbacks. 2014-11-08 10:13:08 -08:00
Ben Vanik 8c314225bb Make XPS happy and remove some GPU address munging. 2014-11-02 00:02:17 -07:00
Ben Vanik 3ed9685244 VdSetDisplayMode stubs. 2014-11-01 11:42:59 -07:00
Ben Vanik 4fabd20980 Better process type emulation. 2014-11-01 11:42:44 -07:00
Ben Vanik 8c171a6489 VdEnableDisableClockGating stub. 2014-11-01 11:40:07 -07:00
Ben Vanik 2ee42c2876 VdInitializeScalerCommandBuffer. 2014-11-01 11:12:31 -07:00
Ben Vanik bea90d65cf VdCallGraphicsNotificationRoutines (kind of). 2014-11-01 11:12:07 -07:00
Ben Vanik 4ecb95c6ad Over-notifying signin seems to make some games mad. 2014-10-30 20:50:18 -07:00
Ben Vanik 6053f1d35c Spamming some notifications on startup to unhang games. 2014-10-29 21:09:54 -07:00
Ben Vanik 1566b4c890 Basic hacky SetAffinity. 2014-10-28 22:10:40 -07:00
Ben Vanik 3daf362dfe XamUserAreUsersFriends 2014-10-28 20:54:51 -07:00
Ben Vanik 1f9eff2938 misc 2014-10-28 00:23:46 -07:00
Ben Vanik d7698368fc Stubbed XamInputGetCapabilitiesEx. 2014-10-26 20:26:23 -07:00
Ben Vanik 5836a81abf XamVoiceIsActiveProcess stub. 2014-10-26 02:42:17 -07:00
Ben Vanik 13edfa95a5 Fake gamer tile reading. 2014-10-26 02:42:03 -07:00
Ben Vanik 3024b755da Tweaks to support missing user settings. 2014-10-26 02:41:48 -07:00
Ben Vanik 009ff4e80f XamLoaderTerminateTitle asserts now to make it easier to track death. 2014-10-25 11:42:54 -07:00
Ben Vanik 447b5bf316 Fixing xex loading into 4k pages. 2014-09-13 19:32:37 -07:00
Ben Vanik 0ad3ed0230 Fixing RtlMultiByteToUnicodeN. 2014-09-13 14:54:47 -07:00
Ben Vanik 8dcfe94d81 Fix cleanup of object table (double NtClose crash). 2014-09-01 10:03:52 -07:00
Ben Vanik f6c73819a3 Fixing add_carry (+typos). 2014-08-22 21:58:28 -07:00
Ben Vanik 6f802c2432 Fixing many clang warnings. 2014-08-21 23:10:08 -07:00
Ben Vanik 08b0226a16 Finishing unique_ptr'ing and fixing file memory management (for now). 2014-08-21 07:54:19 -07:00
Ben Vanik c59d053404 unique_ptr'ing things and removing some XECLEANUP. 2014-08-20 23:26:46 -07:00
Ben Vanik 244e8a8745 Removing the last of XEDECLARECLASS. 2014-08-20 22:50:10 -07:00
Ben Vanik cecf83b7b7 Removing xenia/malloc.*
Using standard memory functions now.
2014-08-20 22:22:47 -07:00
Ben Vanik d33cae1baf Auto swap for a few structs and shifting code around. 2014-08-19 22:55:09 -07:00
Ben Vanik fb98683ed3 Converting HID API to use be<> auto swapping type. 2014-08-19 22:50:21 -07:00
Ben Vanik 48a0e5c601 Shrinking alloy memory interface so that alloy-sandbox doesn't need xe. 2014-08-19 21:02:15 -07:00
Ben Vanik 41f3c92c25 Fixing build. 2014-08-19 19:41:29 -07:00
Ben Vanik 1c4dcd5e0e clang-format on most of kernel/ 2014-08-17 13:13:03 -07:00
Ben Vanik 854bcdb60a Moving mmap to poly, cleaning up devices. 2014-08-17 12:57:02 -07:00
Ben Vanik 24fe169f36 Last bit of string cleanup. string.h finally gone. 2014-08-17 11:48:29 -07:00
Ben Vanik 383d3acbb0 Some fs/ cleanup. 2014-08-16 21:36:01 -07:00
Ben Vanik 6cb9ca432f More shared header cleanup. 2014-08-16 19:07:21 -07:00
Ben Vanik f2a9fa3bf9 XECOUNT to countof. 2014-08-16 17:58:33 -07:00
Ben Vanik 5b83cf5fd1 Moving around some math macros. 2014-08-16 17:18:20 -07:00
Ben Vanik 54ce9db743 Starting to remove some macros. 2014-08-16 16:57:00 -07:00
Ben Vanik ead74f2cdb More string switching. 2014-08-16 16:46:20 -07:00
Ben Vanik 7c5fa88661 More string swapping and cleaning up main(). 2014-08-16 16:34:13 -07:00
Ben Vanik 18ee972b47 Merge pull request #116 from wszechpolak/write-gamer-tile
Add XamUserWriteProfileSettings stub
2014-08-16 16:23:14 -07:00
wszechpolak 2c4c7e11dc Add XamUserWriteProfileSettings stub 2014-08-17 00:32:13 +02:00
Ben Vanik 0675282e19 Merge pull request #115 from wszechpolak/write-gamer-tile
Fix XamWriteGamerTile
2014-08-16 14:56:01 -07:00
wszechpolak 1f8cfb6fce Clean 2014-08-16 22:49:50 +02:00
wszechpolak 1361fda884 Fix XamWriteGamerTile to make it support both sync/async requests 2014-08-16 22:47:08 +02:00
Ben Vanik e082d085d0 Merge pull request #114 from wszechpolak/write-gamer-tile
Added XamWriteGamerTile - should fix #109
2014-08-16 09:03:22 -07:00
wszechpolak 2f12585af9 Added XamWriteGamerTile - should fix #109 2014-08-16 12:17:43 +02:00
Ben Vanik 66d2336e38 More string conversion. 2014-08-16 02:50:08 -07:00
Ben Vanik a4dfc23abc Working on switching to std::string. 2014-08-16 02:30:23 -07:00
Ben Vanik bca49bed4b Removing xe_mutex_t. 2014-08-16 00:56:50 -07:00
Ben Vanik c84fcc70a4 Cleaning up kernel namespaces. 2014-08-16 00:25:13 -07:00
Ben Vanik bf48e9fbbd Part 2 of kernel cleanup: merging functions into shims. 2014-08-16 00:11:24 -07:00
Ben Vanik 916dc397ab Part 1 of kernel simplification/cleanup: removing externs. 2014-08-15 22:59:28 -07:00
Ben Vanik 56ce363ac5 Removing export impl. 2014-08-15 22:31:44 -07:00
Ben Vanik 48fbefa75e Fixing warnings/bug in NtQueryVirtualMemory. 2014-08-15 22:27:07 -07:00
Ben Vanik 3de39aaf10 Postmortem debug target now loads/scans the trace and inits the filesystem. 2014-08-15 22:02:10 -07:00
Ben Vanik c275562594 Mostly complete tracing. Probably a lot of bugs. 2014-08-15 22:02:08 -07:00
wszechpolak 50684f8f0d Implemented NtQueryVirtualMemory 2014-08-15 08:14:57 +02:00
wszechpolak b618f38e62 Pass base address without reference 2014-08-14 22:10:11 +02:00
wszechpolak b5826e0e94 Added stub of NtQueryVirtualMemory 2014-08-14 21:37:57 +02:00
Ben Vanik a5a0fd61e2 Full display info struct. 2014-08-08 15:24:48 -07:00
Ben Vanik b02ce5e95e Adding control flow simplification pass to compensate for lack of phi. 2014-08-06 14:19:42 -07:00
Ben Vanik f149a23367 XUsbcamCreate stub. 2014-08-05 13:06:33 -07:00
Ben Vanik b58b7c1783 Debug cleanup. 2014-08-05 12:51:01 -07:00
Ben Vanik 31f886d8d9 Fixing overallocation of thread stacks (expending heap). 2014-08-05 12:05:45 -07:00
Ben Vanik 2854841753 Better XMsg errors. 2014-08-05 10:44:55 -07:00
Ben Vanik 86241d0ae8 XNetCleanup/XNetRandom stubs. 2014-08-05 10:12:15 -07:00
Ben Vanik 3150f41ea0 oh ffs - properly suspending threads on creation. 2014-08-05 09:10:00 -07:00
Ben Vanik 2d4ae9ba64 XAudioEnableDucker 2014-08-04 22:02:28 -07:00
Ben Vanik 4e276695bf XamUserGetDeviceContext 2014-08-04 22:02:19 -07:00
Ben Vanik 8460afadd3 RtlUnicodeStringToAnsiString 2014-08-04 21:54:09 -07:00
Ben Vanik 64d8ee386b XamShowMessageBoxUI (that auto-advances). 2014-08-04 20:24:08 -07:00
Ben Vanik 66d2a8aec2 Setting XMA pointer to make errors clearer. 2014-08-04 18:55:00 -07:00
Ben Vanik e6275691cb KeEnableFpuExceptions stub. 2014-08-04 15:46:52 -07:00
Ben Vanik 296bb5c87a Dummy IRQL stuff to silence warnings. 2014-08-04 15:39:42 -07:00
Ben Vanik fd95858516 XamUserCheckPrivilege 2014-08-04 15:01:39 -07:00
Ben Vanik a98b9458b6 Adding XamVoice stubs. 2014-08-04 14:56:34 -07:00
Ben Vanik 35885f761c Misc fixes (overlapped IO, etc). 2014-08-03 22:25:38 -07:00
Ben Vanik 0a9d936f1e Better faking of the user profile. 2014-08-03 21:26:10 -07:00
Ben Vanik 57dda9c755 Factoring out XMsg app stuff. 2014-08-03 14:38:04 -07:00
Ben Vanik 19149bbba6 Stubbed out enumeration. 2014-08-02 21:37:11 -07:00
Ben Vanik f04c7b8661 ExAllocatePoolTypeWithTag 2014-08-02 16:23:02 -07:00
Ben Vanik 0c5110ac3e Fixing warnings. 2014-07-17 20:52:56 -07:00
Ben Vanik ec4f41fec4 Moving byte order/memory access to poly. 2014-07-17 19:20:17 -07:00
Ben Vanik ce70978ef6 Starting to split up alloy/core.h. 2014-07-14 19:18:42 -07:00
Ben Vanik e9284dfaed More C++11ification. 2014-07-13 22:28:00 -07:00
Ben Vanik 0a250d5e91 C++11ing some things. 2014-07-13 21:53:31 -07:00
Ben Vanik 9b78dd977b Migrating atomic ops to std::atomic where possible and poly. 2014-07-12 17:48:54 -07:00
Ben Vanik bf882714d0 Cleaning up asserts and file/line macros. 2014-07-12 16:51:52 -07:00
Ben Vanik 1d54342930 Starting to cleanup includes a bit. Still a mess. 2014-07-11 18:03:35 -07:00
Ben Vanik 9031d5f4a4 Fix clang warnings / move some plat code into poly. 2014-07-10 22:51:27 -07:00