Commit Graph

2080 Commits

Author SHA1 Message Date
dariosamo e5727e7e2a GL4 Translator: ADDs/MULs/SUBs changed to XZ instead of XY. Basic implementation of loops for FLOW_CONTROL. 2015-06-21 14:09:41 -03:00
gibbed 2c319db116 More shuffling of XMA decoder code. 2015-06-21 06:31:24 -05:00
gibbed 06a3bfc3be More XmaDecoder cleanup. 2015-06-21 03:24:42 -05:00
gibbed e98178c9d5 Totally not my fault. 2015-06-21 02:28:42 -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
gibbed 736dba5aca Fixed bit size of input_buffer_read_offset in XMAContextData. 2015-06-21 00:24:02 -05:00
gibbed 7e582c14fb Removed some unused code. 2015-06-21 00:23:29 -05:00
Ben Vanik 27ae555555 Merge pull request #272 from DrChat/rel_audio_fix
Fix release-mode audio
2015-06-20 17:57:45 -07:00
Dr. Chat 0bbaedae22 Fix release-mode audio 2015-06-20 19:50:24 -05:00
Ben Vanik 3738ccf18a Fixing warnings. 2015-06-20 17:37:07 -07:00
Ben Vanik fb591cbadb Disabling use of FMA until I can figure out the rounding issues. 2015-06-20 11:21:32 -07: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
Ben Vanik c7270f50dd Fixing paths with spaces. 2015-06-19 21:30:12 -07:00
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
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
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
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 0ffd8bbedd Place all XMM constants in memory so we can avoid clobbering rax. 2015-06-15 18:59:27 -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
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