Commit Graph

1874 Commits

Author SHA1 Message Date
Dr. Chat 65df257ede Fix audio decoder - mono sounds are working now! 2015-05-24 22:26:46 -05:00
gibbed 05081fa030 Fixed some constant loads. 2015-05-24 16:18:06 -05: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
gibbed 33d40bee95 More tests for rlwinm. 2015-05-24 12:32:23 -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
Riley Labrecque 23c91b2eff Remove test binaries now that they can be created on Windows 2015-05-24 01:23:14 -06: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
Rick Gibbed 89a499bb47 Merge pull request #221 from DrChat/alt_pack
Vmaddfp test fix / Change some SSE instructions to AVX
2015-05-23 19:55:52 -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 a4b950f1e9 Fix vmaddfp test 2015-05-23 18:14:07 -05:00
Dr. Chat f7a8dc3748 Change OPCODE_SPLAT instructions from SSE->AVX 2015-05-23 17:27:26 -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
Dr. Chat 4f8d8e62b3 Use av_frame_free / Log when couldn't reopen context. 2015-05-23 00:09:58 -05:00
Dr. Chat 866a5af427 Initialize pointers to nullptr 2015-05-23 00:07:35 -05:00
Dr. Chat 3389b9e421 AudioDecoder destructor 2015-05-23 00:07:34 -05:00
Dr. Chat a69d1b7f04 Discard the current packet when XMA context is released
Some more cleanup
2015-05-23 00:07:33 -05:00
Dr. Chat a6175dba48 Remove more accidentally committed files; rename .cpp to .cc 2015-05-23 00:07:33 -05:00
Dr. Chat f31b34256b WIP Audio decoder
Remove some old comments
2015-05-23 00:07:20 -05:00
gibbed ea99ba8e3b 0x7F000000-0x7FFFFFFF is magic. 2015-05-22 02:20:05 -05:00
gibbed 8b7f6c8e0c Tests for vmaddfp. 2015-05-22 01:32:22 -05:00
gibbed c3082381c5 Tests for fmadds. 2015-05-22 01:31:50 -05:00
gibbed 45cd0e4f8f Adjustments to fmadd tests. 2015-05-22 01:30:44 -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 37f1953466 Fixing the assert when window is minimized. For you Rick :) 2015-05-21 19:23:44 -07:00
Ben Vanik bac3f8c3bd Fixing tests. 2015-05-21 07:51:56 -07:00
Ben Vanik fc4727c339 Changing calls/jmps to use the indirection table. Most games seem faster. 2015-05-21 00:12:28 -07:00
Ben Vanik ad72c193a6 Fixing stack traces, making lr BC... to diff from stack scribble BE... 2015-05-20 23:28:34 -07:00
Ben Vanik 5e5eb47789 Rewriting code cache to put everything at fixed addresses. 2015-05-20 19:23:46 -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
Ben Vanik 8bfc43bb0d Trying to do MMIO protects on allocation granularity. 2015-05-18 20:47:41 -07:00
Ben Vanik 92f5fe3b88 Changing page_size to allocation granularity. 2015-05-18 20:47:40 -07:00
Ben Vanik 172b14a8a5 Merge pull request #215 from DrChat/host_xthread
Host XThread class
2015-05-18 20:29:11 -07:00
Dr. Chat d1b2b4cde8 Start the audio system after the kernel state
Expose kernel state in emulator.h
2015-05-18 22:25:35 -05:00
Ben Vanik 7796f5cb60 Fixing page guards to work at system page granularity. 2015-05-18 20:25:15 -07:00
Dr. Chat b1920f4a87 Move audio system onto XHostThread 2015-05-18 22:25:02 -05:00
Dr. Chat ffe3b4bf04 XHostThread class 2015-05-18 22:23:59 -05:00
Ben Vanik bb5466d7b2 Fixing undefined exports to error out right. 2015-05-18 19:58:51 -07:00
Ben Vanik 1c96941236 Handling imports when modules aren't found. 2015-05-18 19:34:06 -07: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
Ben Vanik fea2f25130 Merge pull request #214 from DrChat/interlocked_slist
Implement interlocked slist
2015-05-18 19:12:41 -07:00
Dr. Chat 90648187dd Implement InterlockedPopEntrySList 2015-05-18 21:10:58 -05:00
Ben Vanik 2cacacea8a Texture fixup. 2015-05-18 19:08:30 -07:00
Ben Vanik 5c2b2a2b58 Adding missing exports. 2015-05-18 19:01:20 -07:00
Ben Vanik 6d821df3a9 Zeroing heap memory. 2015-05-18 18:48:48 -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 f5f7d15366 Trying, and failing, to get E0000000 range addresses to work. 2015-05-17 21:26:44 -07: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 50b84203c5 Fixing test. 2015-05-17 13:47:20 -07:00
Ben Vanik 3f7da258fc Adjusting stack padding on executes. 2015-05-17 13:35:12 -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
Dr. Chat 6adde32558 Scribble memory when allocated 2015-05-16 18:41:18 -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 83d52beaf2 Merge pull request #210 from DrChat/name_check_fixes
Fix some crashes from checking for object name collisions
2015-05-16 14:59:04 -07:00
gibbed 59d4847542 More tests for cntlzw. 2015-05-16 16:44:27 -05:00
Ben Vanik 3a7d1f21e8 Merge pull request #209 from DrChat/muladdsub_cleanup
Rewrite FMA mul sub/add to avoid register shuffling
2015-05-16 13:25:28 -07:00
Dr. Chat 4af14884ed Make sure object attributes pointer is non-NULL before reading from it 2015-05-16 15:24:23 -05:00