Commit Graph

2304 Commits

Author SHA1 Message Date
gibbed 641a4a5e47 Rejiggered ProcessXmaContext. Sound working again in Super Meat Boy. 2015-06-19 22:39:41 -05:00
gibbed 1a38586d9a Cleaned up XMASetLoopData. 2015-06-19 21:52:02 -05:00
gibbed edbd724370 - Fixed a few bugs with ringbuffer, and some cleanup.
- Reworked audio system to use semaphores instead of events for waiting.
  Should fix rare issues where the XAudio2 driver would run out of buffers
  even though it was supposed to be guarded against that.
2015-06-19 21:48:51 -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 f1e9c36f00 Better ringbuffer implementation. 2015-06-19 09:54:21 -05:00
Ben Vanik e01d1c2905 Merge pull request #265 from raven02/patch-1
gl4: more color formats
2015-06-19 07:24:55 -07:00
raven02 abda769c45 gl4: more color formats 2015-06-19 06:11:42 -07: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 58e616f3cf Removing the HIR test until it's fixed (or killed). 2015-06-18 22:38:46 -07:00
Ben Vanik bde2be5ddb Fiddling to get buildbot working. 2015-06-18 21:47:28 -07:00
Ben Vanik 226ef4d3e6 Merge pull request #264 from sephiroth99/fix_gs_location
gl4: command_processor: fix locations in geometry shader header
2015-06-17 23:25:25 -07:00
sephiroth99 d708e2899f gl4: command_processor: fix locations in geometry shader header
The vertex shader outputs VertexData at location 1. Similarly, the pixel
shader's VertexData input is at location 1.

The geometry shader has both its input and output of VertexData at
location 0. Change it to location 1 so it matches the interface of
the other two shaders.
2015-06-18 02:01:36 -04:00
Ben Vanik ae70d3b30e Merge pull request #263 from SirCmpwn/fix-includes
Fix additional includes
2015-06-17 07:18:57 -07:00
Drew DeVault f74d1b2f99 Add climits include to clock.cc 2015-06-16 23:45:49 -06:00
Drew DeVault 39253cbb93 Add cstring include to xenia/base/string.h 2015-06-16 23:45:37 -06: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
Ben Vanik aae45515ae Preserving HIR disasm when the debugger is attached. 2015-06-16 21:04:18 -07:00
Ben Vanik 165d49ad3a Moving PPC disasm to on-demand in debugger. 2015-06-16 20:18:48 -07:00
Ben Vanik 5f33087a12 Adding mmap for code cache and exposing cache properties. 2015-06-16 20:13:39 -07:00
Ben Vanik c34db170f5 Adding fallback for pre-MOVBE-supporting processors. 2015-06-16 20:06:50 -07:00
gibbed 75206149ab KeInitializeEvent. 2015-06-16 20:41:26 -05:00
gibbed 54a7b8c591 Assert symbol_info is not null in X64Emitter::Call. 2015-06-16 20:41:25 -05:00
Ben Vanik b9c341ebef Yell at the user when they have an unsupported CPU. 2015-06-16 17:46:41 -07:00
Ben Vanik 51eeb4f039 Using upstream xbyak movbe. 2015-06-15 20:44:13 -07:00
Ben Vanik 2a6ada2a3c Optimization to merge LOAD+SWAP and SWAP+STORE into flagged opcodes. 2015-06-15 18:59:29 -07:00
Ben Vanik ddaf08ca8d Adding flag to make LOAD/STORE also perform a byte swap. 2015-06-15 18:59:28 -07:00
Ben Vanik 84fa09a2db Switching to use xenia-project xbyak. 2015-06-15 18:59:27 -07:00
Ben Vanik 0ffd8bbedd Place all XMM constants in memory so we can avoid clobbering rax. 2015-06-15 18:59:27 -07:00
Ben Vanik 329a03e7c4 Merge pull request #258 from DrChat/fullscreen
Fullscreen support with F6
2015-06-14 10:09:50 -07:00
Dr. Chat 23c7273481 Use F11 to fullscreen instead 2015-06-14 12:02:52 -05:00
Dr. Chat cec2e2b397 Fullscreen support with F6 2015-06-14 11:47:50 -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
Ben Vanik edaebbf00f Adding call address assert. 2015-06-14 00:09:58 -07:00
gibbed c949c1d303 Support src1 and src2 being a constant in OPCODE_EXTRACT. 2015-06-14 02:08:41 -05:00
Ben Vanik 3870dabcee Replacing LoadZero and LoadConstant with explicit types. 2015-06-13 23:42:38 -07:00
Ben Vanik dc2de8ca32 README update. 2015-06-13 18:30:19 -07:00
Ben Vanik f74c88351d Don't do that ಠ_ಠ 2015-06-13 11:27:29 -07:00
Ben Vanik 0c9180eef0 Auto source vcvars (no need to use Developer Prompt anymore). 2015-06-13 11:15:00 -07: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
Ben Vanik 3a43eef4fe Merge pull request #253 from DrChat/krnl_obj_fix
Misc. Kernel Object Fixes
2015-06-12 22:36:07 -07: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