Ben Vanik
84e884a07f
Moving get_opt_header out of xex2.
2015-06-28 14:01:53 -07:00
Ben Vanik
010b701e05
Iterating on RtImageXexHeaderField.
2015-06-28 13:44:59 -07:00
Ben Vanik
996f99bd85
Quick fix for RtlImageXexHeaderField - still some more to do.
2015-06-28 12:17:48 -07:00
Ben Vanik
e772a8cb92
Fixing module export.
2015-06-28 12:07:13 -07:00
Ben Vanik
0359184bc0
Simplifying the sequences code to start refactoring.
...
Progress on #291 .
2015-06-28 12:01:47 -07:00
Ben Vanik
0630b524fa
Removing unused HIR opcodes.
...
Progress on #291 .
2015-06-28 12:01:46 -07:00
Ben Vanik
3745746fcc
Shuffling around thunk emitter.
...
Progress on #291 .
2015-06-28 12:01:45 -07:00
Ben Vanik
5e950cb066
Fixing VS intellisense for xbyak.
...
Progress on #291 .
2015-06-28 12:01:45 -07:00
Ben Vanik
7875a4b0ba
Merge pull request #300 from DrChat/hmodule_fix
...
Swap to using HMODULE instead of handles for xex modules.
2015-06-28 12:01:32 -07:00
Dr. Chat
c47c0b3354
Uhh, lint
2015-06-28 13:29:54 -05:00
Ben Vanik
83872d8e8f
Refactoring vfs to remove a lot of duplicated code.
...
Progress on #294 .
2015-06-27 22:37:49 -07:00
Dr. Chat
bb900ba9db
XexExecutableModuleHandle export now points to the executing HMODULE
2015-06-27 23:42:46 -05:00
Dr. Chat
944b39c51d
Apply some lint n' stuff
2015-06-27 22:50:08 -05:00
Dr. Chat
8a6c620fe7
XUserModule::GetOptHeader
2015-06-27 22:42:17 -05:00
Dr. Chat
cdbf736241
X_UNICODE_STRING
2015-06-27 22:39:11 -05:00
Dr. Chat
169cb65d96
Remove unused execution_info_ptr
2015-06-27 22:38:10 -05:00
Dr. Chat
7372dd4d8d
Use HMODULE instead of handles for xex modules
2015-06-27 22:00:58 -05:00
Dr. Chat
1289e7ad22
xe::be basic arithmetic operators
2015-06-27 21:49:57 -05:00
Dr. Chat
c228c0fa73
Add some native xex2 structs and handling functions
2015-06-27 21:32:16 -05:00
Ben Vanik
1ac19f1b08
Replacing vfs memory mapping with base memory mapping.
...
Progress on #294 .
2015-06-27 18:02:20 -07:00
Ben Vanik
23f91b58f3
Moving code out of vfs/ that doesn't need to be there.
...
Progress on #294 .
2015-06-27 17:01:25 -07:00
Ben Vanik
abf47b7973
Removing utilities (that were just adding needless layers).
...
Progress on #294 .
2015-06-27 16:27:38 -07:00
Dr. Chat
68b4aafb82
Add a couple more status codes
2015-06-27 17:10:23 -05:00
Dr. Chat
1ad144e451
NetDll_WSARecvFrom Stub
2015-06-27 17:08:42 -05:00
Dr. Chat
e94ad84fe9
RtlImageXexHeaderField special case for XEX_HEADER_EXECUTION_INFO
2015-06-27 17:06:27 -05:00
Ben Vanik
0716cf84c0
Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
...
Progress on #294 .
2015-06-27 13:31:21 -07:00
Ben Vanik
bc75b0ab87
Fixing NtQueryDirectoryFile.
2015-06-27 12:55:30 -07:00
Ben Vanik
74a710e8d4
Reverting interlaced types until we know what they are.
2015-06-27 12:17:37 -07:00
Ben Vanik
c2e2b3380e
Replacing X_ANSI_STRING with new style.
...
Progress on #297 .
2015-06-27 12:16:52 -07:00
Ben Vanik
f07d620553
Moving misc stuff out of xbox.h.
...
Progress on #297 .
2015-06-27 11:44:40 -07:00
Ben Vanik
7e0246c381
Moving input structs out of xbox.h.
...
Progress on #297 .
2015-06-27 11:37:12 -07:00
Ben Vanik
8c69a4df09
Cleaning up apu/ and renaming -private files to _flags.
...
Part of #296 .
2015-06-27 11:25:56 -07:00
Ben Vanik
0d2d07e8e6
Merge pull request #298 from sephiroth99/fix_glsl_detect
...
gl4: fix glsl version detection when there is no vendor specific info
2015-06-27 11:10:57 -07:00
sephiroth99
3cac71322c
gl4: fix glsl version detection when there is no vendor specific info
2015-06-27 13:19:50 -04:00
Ben Vanik
b38bf5c132
Simplifying HID creation.
...
Part of #296 .
2015-06-27 09:42:30 -07:00
Ben Vanik
883126d497
Simplifying GPU creation.
...
Part of #296 .
2015-06-27 09:11:03 -07:00
Ben Vanik
3439641101
Removing cpu.h.
...
Part of #296 .
2015-06-27 08:58:45 -07:00
Ben Vanik
12120262b8
Adding non-win8 API for unwind info, but it doesn't work :/
...
Working on #295 .
2015-06-26 21:50:32 -07:00
Ben Vanik
951b2aa5bc
Show a file picker when launched with no target file.
...
Fixes #293 .
2015-06-26 20:27:36 -07:00
Ben Vanik
dd41f01c41
Latest imgui.
...
Fixes #286 .
2015-06-26 19:32:08 -07:00
Ben Vanik
3b42b7b694
Verifying GLSL version and ARB_bindless_texture support.
...
Fixes #289 .
2015-06-26 17:22:13 -07:00
Ben Vanik
4ffaac6d6f
--gl_debug flag.
2015-06-26 17:22:13 -07:00
raven02
3a2e7bce97
Typo fix
2015-06-27 08:00:35 +08:00
raven02
767f796306
gl4: more texture formats
2015-06-27 07:37:38 +08:00
Ben Vanik
2785124d1d
Cleanup.
2015-06-26 07:56:06 -07:00
Ben Vanik
55f6ab4f38
Merge pull request #281 from raven02/master
...
gl4: implement texture max anisotropy
2015-06-26 07:52:18 -07:00
raven02
f41c500c43
gl4: minor read format fix
2015-06-26 22:27:59 +08:00
Dr. Chat
287a761987
Fix AppendParam dereferencing NULL pointers
2015-06-25 19:29:37 -05:00
Lioncash
23352f3419
xex_module: Fix formatting arguments
...
These take a const char* not a std::string.
2015-06-25 12:48:41 -04:00
raven02
d7dfb681aa
gl4: implement texture max anisotropy
2015-06-25 00:13:49 -07:00
Ben Vanik
fc7695f874
Take the whole 64k page at 0x0.
2015-06-23 18:06:37 -07:00
Ben Vanik
d335555277
Manually page align address range for write watch.
2015-06-23 17:37:09 -07:00
Ben Vanik
9441808b40
Adding menus.
2015-06-22 23:30:34 -07:00
Ben Vanik
b9c39d1b33
Fixing thread exit.
2015-06-22 22:40:39 -07:00
Ben Vanik
fb1f4906d9
xb format --all (we are now format clean). Buildbot will yell at you.
2015-06-22 22:26:51 -07:00
Ben Vanik
b46406ee4b
More descriptive OpenGL error.
2015-06-22 21:49:57 -07:00
Dr. Chat
bafd448dd8
Cleanup some XThread code
2015-06-22 21:42:33 -05:00
gibbed
75ef95b1b8
More XMA decoder cleanup.
2015-06-22 19:31:02 -05:00
raven02
1fb2ccb552
Add back the comment and we can check it again in future
2015-06-22 09:22:31 -07:00
raven02
68e12a4664
typo fix
2015-06-22 09:07:55 -07:00
raven02
d2de2bf652
gl4 : clear depth and stencil seperately using the DSA version
2015-06-22 09:04:34 -07:00
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
Dr. Chat
0bbaedae22
Fix release-mode audio
2015-06-20 19:50:24 -05: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
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
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
Dr. Chat
a0a8b7ec37
Add X_OBJECT_HEADER and X_OBJECT_CREATE_INFORMATION
2015-06-12 19:48:24 -05:00
Dr. Chat
f96657ef7c
Fixup DISPATCH_HEADER type_flags to its parts
2015-06-12 19:47:28 -05:00
Dr. Chat
4c9cab4346
Make XThread create a kernel object for itself
2015-06-12 19:02:17 -05:00
Dr. Chat
864e257474
DISPATCH_HEADER -> X_DISPATCH_HEADER
2015-06-12 18:59:08 -05:00
Ben Vanik
6d4d1db310
Example of Capstone for both libxenia and the UI. Going to shuffle around.
2015-06-10 23:31:33 -07:00
gibbed
6348c3dc72
Changed a hardcoded value to something slightly more reasonable until we can calculate the correct value.
2015-06-10 23:48:51 -05:00
gibbed
1c37c14fc8
Cleaned up MmQueryStatistics.
2015-06-10 21:53:47 -05:00
gibbed
dc371009d9
Renamed handle_ to native_handle_ in some places where it makes more sense.
2015-06-10 21:24:54 -05:00
Ben Vanik
cabf9d6261
Adding some GPU docs and creating output directories automatically.
2015-06-10 19:20:14 -07:00
Dr. Chat
feba4f03a2
ResolvePath check for fully qualified paths
2015-06-10 19:09:33 -05:00
Dr. Chat
bc0fb19005
Swap main device to harddisk0
2015-06-10 19:08:58 -05:00
Ben Vanik
9c58426231
Speeding up source map lookup for x64 disasm.
2015-06-10 00:29:07 -07:00
Ben Vanik
14e1438ec0
Dramatically speeding up HIR comments.
2015-06-10 00:28:02 -07:00
Ben Vanik
56a4620cdf
Switching StringBuffer to use a raw pointer.
2015-06-10 00:24:17 -07:00
Ben Vanik
070d34cd02
Fiddling with function data.
2015-06-09 22:01:01 -07:00
Ben Vanik
d482885378
Debugger can pause/resume threads.
2015-06-09 20:14:35 -07:00
Ben Vanik
8dc20eb5cd
Scaling audio playback frequency with clock time scaling.
2015-06-09 20:14:33 -07:00
gibbed
38c85084ff
Tests for vsl.
2015-06-09 19:56:26 -05:00
gibbed
e5c4590ecf
Few more tests for vsr.
2015-06-09 19:56:12 -05:00
gibbed
6d933c18f7
SHL_V128.
2015-06-09 19:55:54 -05:00
Ben Vanik
f0c47e036b
Fixing SHR_V128.
2015-06-09 17:42:09 -07:00
gibbed
114409ea2f
Test for vsr.
2015-06-09 19:31:44 -05:00
Dr. Chat
60cf80d85c
Actually give the game the new handle
2015-06-09 19:04:41 -05:00
Dr. Chat
41f1023549
Minor fix in XThread - checking the wrong address for NULL
2015-06-09 18:58:45 -05:00
Dr. Chat
72a641efac
Fix up NtDuplicateObject
2015-06-09 18:58:21 -05:00
Dr. Chat
3627418e0e
Object table handle duplication
2015-06-09 18:58:02 -05:00
Ben Vanik
dbcdc5b543
Function lookup is slow - replacing with a faster test.
2015-06-08 23:44:38 -07:00
Ben Vanik
1a2b4a38e0
Fixing spurious function declarations.
2015-06-08 23:37:51 -07:00
Ben Vanik
573f190a43
Adding modules/functions to the debugger.
2015-06-08 23:22:25 -07:00
Ben Vanik
9d7d6df476
Bail on invalid heap lookups.
2015-06-08 17:49:54 -07:00
Ben Vanik
52b8f4b54b
Removing memory reservation value check for load/store.
2015-06-07 21:57:44 -07:00
Ben Vanik
00b3b0eab9
Adding assertion to RtlImageXexHeaderField + fixing return (maybe).
2015-06-07 21:51:19 -07:00
gibbed
1d37df29cb
Untested implementation of MmCreateKernelStack and stub of MmDeleteKernelStack.
2015-06-07 22:28:06 -05:00
Ben Vanik
cd62d4e461
PACK to 2101010.
2015-06-07 19:44:19 -07:00
gibbed
98e14fcb1b
Hack for KeWaitForSingleObject when games pass in object handles.
2015-06-07 21:08:16 -05:00
gibbed
7f57867f49
Let's fix the strange stack overflows doing the stupid thing.
2015-06-07 18:29:09 -05:00
gibbed
b9087e0698
This appears to be better?
2015-06-07 18:17:09 -05:00
Ben Vanik
ba88955be4
vsnprintf return is dumb.
2015-06-07 16:13:05 -07:00
Ben Vanik
a446d9c64a
No need for thread-local shader translator as all reqs come from GPU CP.
2015-06-07 16:13:04 -07:00