Commit Graph

2279 Commits

Author SHA1 Message Date
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
Ben Vanik aee205101b Merge pull request #229 from DrChat/more_audio_fixes
More Audio Fixes
2015-05-28 22:44:07 -07: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
Ben Vanik 7a0d2d09b7 Switching dockpanelsuite to forked version. 2015-05-26 17:31:51 -07:00
Ben Vanik 7ec8cfcc2b Merge pull request #226 from shuffle2/fixup-vs-sln
Fixup vs sln
2015-05-26 17:19:45 -07:00
Ben Vanik 7ba6e62eb1 Merge pull request #227 from shuffle2/msvc-constexpr
vs2015 supports constexpr
2015-05-26 17:17:47 -07:00
Shawn Hoffman b6d51d86ee vs2015 supports constexpr 2015-05-26 14:25:45 -07:00
Shawn Hoffman 4a391117cc Update build config for WinFormsUI. VS automatically made this change. WinFormsUI is third_party. Just go with it? 2015-05-26 13:53:54 -07:00
Shawn Hoffman debb6f4338 The first listed project in a sln will be the default startup project. set it to xenia. 2015-05-26 13:53:05 -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 ddbab82169 Fixing vcproj filters that VS blew away. 2015-05-25 01:16:53 -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