Dr. Chat
|
e09ea50c74
|
.cpp -> .cc and add ring_buffer.cc to the project
|
2015-06-02 11:23:04 -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
|
99718fd3ce
|
Merge pull request #233 from DrChat/audio_decoding
Cleanup Audio System Code
|
2015-06-02 08:22:10 -07:00 |
Dr. Chat
|
8c1e476bab
|
Restylizing.
|
2015-06-02 10:18:45 -05:00 |
Dr. Chat
|
e20aa16b59
|
Cleanup audio system code
|
2015-06-02 10:12:13 -05:00 |
Dr. Chat
|
ad8918f326
|
RingBuffer util class
|
2015-06-02 10:11:59 -05:00 |
gibbed
|
2a40512b74
|
Made a proper command-line flag out of disabling GL context resetting. --disable_gl_context_reset
|
2015-06-02 09:09:51 -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
|
77e245dc51
|
Fix audio decoding.
|
2015-06-02 00:45:00 -05:00 |
Dr. Chat
|
c780d5528d
|
Remove unused bits_per_frame_ field.
|
2015-06-02 00:44:59 -05: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
|
d816d80190
|
StringBuffer cleanup.
|
2015-05-31 14:35:30 -07:00 |
Ben Vanik
|
80c2078b9a
|
Merge pull request #231 from DrChat/audio_decoding
Multi-channel decoding fix
|
2015-05-30 22:23:05 -07:00 |
Dr. Chat
|
128bf76205
|
Fixed up multi-channel audio, works better now.
|
2015-05-30 22:47:41 -05:00 |
Dr. Chat
|
dfd689e22b
|
Whoops, we should be converting samples from more than one channel!
|
2015-05-30 21:27:59 -05:00 |
Dr. Chat
|
fedf7357a5
|
Remove variable bits per sample - it's always 16.
|
2015-05-30 21:01:55 -05:00 |
Ben Vanik
|
c97b462d8d
|
Fix assert.
|
2015-05-30 18:04:31 -07:00 |
Ben Vanik
|
c4ef5d4eb8
|
Allow AllocFixed of unreserved ranges.
|
2015-05-29 21:47:19 -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 |
Ben Vanik
|
0a83b49744
|
Speeding up inner loop.
|
2015-05-29 17:05:43 -07:00 |
Dr. Chat
|
40f98f195f
|
Whoops - PCM samples are signed, not unsigned
|
2015-05-29 18:52:43 -05: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 |
Dr. Chat
|
8c1b36d102
|
Don't need this.
|
2015-05-28 22:34:59 -05:00 |
Dr. Chat
|
d303f4a5ce
|
Fix raw sample clamping
|
2015-05-28 22:31:55 -05:00 |
Dr. Chat
|
fb787d4737
|
XMA context.kicked flag
|
2015-05-28 22:09:04 -05:00 |
Dr. Chat
|
73daf9cedc
|
Select input buffer 1 if needed, and hookup sequence offset.
|
2015-05-28 21:58:39 -05:00 |
Dr. Chat
|
4675a1e17a
|
Audio decoder now takes a "sequence" offset to feed to the WMAPro decoder.
|
2015-05-28 21:57:57 -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
|
3300945660
|
Fixed 8-bit and 16-bit xe::lzcnt.
|
2015-05-28 12:16:19 -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 |
Ben Vanik
|
db3d8fdc87
|
Time scaling works (num pad +/- or --time_scalar=X).
|
2015-05-27 19:04:47 -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
|
9ac61ed869
|
Fixing form designer.
|
2015-05-26 17:50:41 -07:00 |
Shawn Hoffman
|
b6d51d86ee
|
vs2015 supports constexpr
|
2015-05-26 14:25:45 -07:00 |
Ben Vanik
|
55e65f4ad6
|
GetObjectsByType.
|
2015-05-25 21:39:01 -07:00 |
Ben Vanik
|
dcb78cc640
|
Pretty sure I have mtmsrd wrong. This likely isn't correct.
|
2015-05-25 21:20:38 -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
|
7cabcad69e
|
f5 now also clears cached framebuffers/targets.
|
2015-05-25 14:58:46 -07:00 |
gibbed
|
f2685dbb1d
|
Fixed SPLAT_F32 for non-AVX2 branch.
|
2015-05-25 14:32:38 -05:00 |
gibbed
|
a2ed902980
|
Removed a debug line in XAudio2 audio driver.
|
2015-05-25 14:29:13 -05:00 |
Ben Vanik
|
148c40554b
|
Adding vmsum4fp128 test.
|
2015-05-25 12:28:32 -07:00 |
Ben Vanik
|
c616104574
|
Tracing help.
|
2015-05-25 11:09:00 -07:00 |
Ben Vanik
|
9607eef9d6
|
Fixing page alloc in range; only happens right before OOM crash though :/
|
2015-05-25 10:28:36 -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
|
e55be7d2c9
|
Fleshing out debugger types.
|
2015-05-25 00:51:23 -07:00 |
Ben Vanik
|
da655d15b3
|
Sharing memory.
|
2015-05-25 00:51:23 -07:00 |
Ben Vanik
|
576d6492dc
|
Basic debugger networking.
|
2015-05-25 00:51:22 -07:00 |
Ben Vanik
|
969badd8c3
|
Debugger UI skeleton.
|
2015-05-25 00:51:22 -07:00 |
gibbed
|
8a5d3526e5
|
Pump audio faster, up to XAUDIO2_MAX_QUEUED_BUFFERS (64) frames, then wait.
|
2015-05-25 02:49:49 -05:00 |
Ben Vanik
|
517dce01b1
|
Merge pull request #225 from DrChat/audio_fix
Fix audio decoder - mono sounds are working now!
|
2015-05-24 20:28:50 -07:00 |
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 |
Ben Vanik
|
504b855c20
|
Adding frsqrte and fixing fsqrt o_o
|
2015-05-16 13:22:49 -07:00 |
Dr. Chat
|
5dbec09818
|
Change SSE opcodes back to AVX (mixing is bad)
|
2015-05-16 14:10:28 -05:00 |
Dr. Chat
|
65ff862495
|
Whoops (typo)
|
2015-05-16 13:41:33 -05:00 |
Dr. Chat
|
8e35ec0620
|
Rewrite FMA mul sub/add to avoid register shuffling
Also downgrade some AVX opcodes to SSE
|
2015-05-16 13:31:42 -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 |
Ben Vanik
|
cda0341c25
|
Setting process affinity to use all processors.
|
2015-05-15 23:52:48 -07:00 |
Ben Vanik
|
986534d448
|
Adding --mute.
|
2015-05-15 23:34:00 -07:00 |
Rick Gibbed
|
11ea5c5b10
|
Merge pull request #208 from DrChat/stack_size_fix
Increase audio worker thread and cpu interrupt thread stack size
|
2015-05-15 18:23:34 -05:00 |
Dr. Chat
|
420d4e43b6
|
Increase audio worker thread and cpu interrupt thread stack size
|
2015-05-15 18:12:44 -05:00 |
Rick Gibbed
|
7546cca936
|
Merge pull request #207 from DrChat/mul_8_fix
Fix 8bit multiply instructions
|
2015-05-15 10:22:30 -05:00 |
Dr. Chat
|
dbdf3271fb
|
Fix 8bit multiply instructions
|
2015-05-15 10:21:07 -05:00 |
Dr. Chat
|
a46b63558e
|
Clean up mul sub/mul add code and fix a minor bug in mulsub f64
|
2015-05-15 10:09:19 -05:00 |
Ben Vanik
|
8aa1854db4
|
Fixing X_ERROR_NO_MORE_FILES - I'm sure others are wrong :/
|
2015-05-14 20:45:14 -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
|
a1fb99f1d3
|
Adding new test binaries.
|
2015-05-14 16:21:27 -07:00 |
Ben Vanik
|
abf7b794e6
|
Adding --headless and basic message box UI.
|
2015-05-14 16:21:08 -07:00 |
Dr. Chat
|
88e3ef9884
|
fmadd test
|
2015-05-14 18:07:30 -05:00 |
Dr. Chat
|
5c10d1cdaa
|
Tests: fadd/fmul
|
2015-05-14 18:07:24 -05: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 |
Ben Vanik
|
df600a105a
|
Fixing constant compare.
|
2015-05-14 14:42:54 -07:00 |
gibbed
|
ac4337cabf
|
CR1 tests for fabs (disabled).
|
2015-05-14 16:02:44 -05:00 |
gibbed
|
cfaa72cae6
|
Tests for extsb, extsh, extsw.
|
2015-05-14 15:56:25 -05:00 |
gibbed
|
a5483ced29
|
Tests for cmpl, cmpli.
|
2015-05-14 15:36:39 -05:00 |
gibbed
|
95b6f0ac46
|
Tests for cmpi.
|
2015-05-14 15:30:35 -05:00 |
gibbed
|
4122bce07c
|
Tests for cmp.
|
2015-05-14 15:24:03 -05:00 |
gibbed
|
6edc3b1c55
|
Tests for andis.
|
2015-05-14 14:57:43 -05:00 |
gibbed
|
fa5e34ce19
|
Tests for andi.
|
2015-05-14 14:55:02 -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 |
gibbed
|
a3621fd11b
|
Experimental stack allocation.
|
2015-05-14 10:12:33 -05:00 |
gibbed
|
5660d348ea
|
Tests for andc.
|
2015-05-14 02:06:58 -05:00 |
gibbed
|
5ec6b7973b
|
Tests for and.
|
2015-05-14 02:06:41 -05:00 |
gibbed
|
30f4556baf
|
CR0 tests for addze.
|
2015-05-14 01:43:18 -05:00 |
gibbed
|
e4f8818d07
|
CR0 tests for addme.
|
2015-05-14 01:27:33 -05:00 |
gibbed
|
ad9b2c792e
|
Tests for addis.
|
2015-05-14 01:27:32 -05:00 |
gibbed
|
eb5fcd5228
|
CR0 tests for adde.
|
2015-05-14 01:27:32 -05:00 |
gibbed
|
59fb08adaa
|
CR0 tests for addc, addic.
|
2015-05-14 01:27:31 -05:00 |
Ben Vanik
|
1b4e7898a4
|
Merge pull request #203 from DrChat/stack_fix
Inherit exe stack size if user doesn't specify one
|
2015-05-13 23:01:02 -07:00 |
Dr. Chat
|
398a412707
|
Inherit exe stack size if user doesn't specify one
|
2015-05-14 00:59:29 -05:00 |
gibbed
|
081fc63fbd
|
Enabled the constant tests for addc and addic.
|
2015-05-14 00:34:24 -05:00 |
gibbed
|
1bdb36eaa8
|
Added UploadTexture2D and UploadTextureCube to the profiler.
|
2015-05-13 22:02:16 -05:00 |
Ben Vanik
|
00b79d66ff
|
Fixing sub carry flag.
|
2015-05-13 18:04:33 -07:00 |
gibbed
|
b819c992ed
|
CR0 tests for add.
|
2015-05-13 17:07:29 -05:00 |
gibbed
|
bb947c6819
|
Value::MulHi and constant propagation for OPCODE_MUL_HI. Could maybe be reworked?
|
2015-05-13 16:13:06 -05:00 |
gibbed
|
9714018fbb
|
Constant tests for srw, stvew, stvl, stvr, subf, subfc, subfe, subfic, subfme, subfze.
|
2015-05-13 06:38:31 -05:00 |
gibbed
|
0cf3e8c3f5
|
Simplify some register setup in the cntlzd and cntlzw tests.
|
2015-05-13 06:36:00 -05:00 |
gibbed
|
96e549d301
|
Constant tests for rldicr, rlwimi, rlwinm, rlwnm, sld, slw, srad, sradi, sraw, srawi, srd.
|
2015-05-13 03:14:06 -05:00 |