Commit Graph

2304 Commits

Author SHA1 Message Date
Zangetsu38 397383d693 Fix compilation 2015-06-07 20:03:58 +02:00
gibbed 32ca1d1953 @ha @h. 2015-06-07 12:52:16 -05:00
gibbed be7900614b Basic tests for td, tdi, tw, twi. 2015-06-07 12:51:36 -05:00
gibbed 43b0cd6eae Added test reproducing an issue with constants, jumptables and traps. 2015-06-07 06:48:23 -05:00
gibbed 54f03529db Show linker errors when assembling tests. 2015-06-07 06:47:10 -05:00
gibbed 336658159a Assemble tests in 32-bit mode rather than 64-bit mode. Shouldn't hurt anything, but will allow for proper 32-bit relocations. 2015-06-07 06:46:24 -05:00
gibbed 0fb9161a1b Putting the user_index == 255 check back into XamUserReadProfileSettings. 2015-06-07 04:51:50 -05:00
gibbed cbd1210337 Handle a NULL playlist name pointer when creating title playlist. 2015-06-07 01:46:57 -05:00
Ben Vanik f0492dfbb0 Looks like this is used to query rather than read sometimes. 2015-06-06 23:00:17 -07:00
Ben Vanik 58324352ae Stubbed color format. 2015-06-06 22:57:15 -07:00
Ben Vanik 6edf4f898f Gracefully skipping noaccess constant loads. 2015-06-06 22:56:53 -07:00
Ben Vanik 6f4049ac0f Merge pull request #247 from DrChat/xnet_callerid
Discovered NetDll functions' first argument and fix XNetDebugXnAddr signature
2015-06-06 20:54:18 -07:00
Dr. Chat 14b14f4309 XnAddrStatus enum and XNADDR struct 2015-06-06 21:20:20 -05:00
Dr. Chat 0c61244e91 Fix XNetGetDebugXnAddr signature 2015-06-06 19:19:13 -05:00
Dr. Chat 6e0732b95b NetDll argument 0 is a caller ID 2015-06-06 19:17:26 -05:00
gibbed cc79934fee Added k_16_16_16_16. 2015-06-06 18:10:17 -05:00
Ben Vanik 429698c2ec Replacing DidCarry with manual calculation and fixing compares. 2015-06-06 15:24:46 -07:00
Ben Vanik 6b52f6715a Adding tests for branch/carry and logging disasm on test failure. 2015-06-06 10:59:43 -07:00
Ben Vanik 29c77a3087 Merge pull request #245 from DrChat/debugprint_out
Log DebugPrint traps to debugger
2015-06-05 22:57:31 -07:00
Dr. Chat 4c3297441c Log debugprint traps to the debugger, if attached 2015-06-06 00:50:51 -05:00
Dr. Chat 35ad3c0f1f DebugPrint to debugger util function 2015-06-06 00:48:28 -05:00
gibbed 54e8868160 Some (hopefully correct) constant fixes for MUL_ADD_V128, MUL_SUB_V128, and SWIZZLE V128. Needs extra work on AVX2 side. 2015-06-05 23:29:31 -05:00
Ben Vanik a52fcf0157 Merge pull request #244 from DrChat/sector_info_stub
Sector info stub
2015-06-05 17:36:50 -07:00
gibbed b14ca702d1 Initialize process_type properly. 2015-06-05 19:21:52 -05:00
Dr. Chat 3b913844f0 File sector information stub 2015-06-05 19:06:36 -05:00
Dr. Chat 5250f0ca3e NtQueryInformationFile: Return X_STATUS_UNSUCCESSFUL on default cause 2015-06-05 18:58:39 -05:00
Dr. Chat d9ff65c9a2 Change NtQueryInformationFile to new-style export 2015-06-05 18:54:47 -05:00
gibbed 1d02ce63d3 Cleaned up XamUserReadProfileSettings. Also fixed writing out pointers for
setting data, fixing issues with games trying to read from zero page after
reading profile settings.
2015-06-05 18:53:14 -05:00
gibbed edf8d1a74d Corrected comment. 2015-06-05 16:49:28 -05:00
gibbed c1d3d62e2a Changed the default license mask. 2015-06-05 16:17:09 -05:00
gibbed dae8aa4386 Added --protect_zero command-line argument to protect page zero from read/writes. 2015-06-05 16:13:34 -05:00
Ben Vanik 0cf3064bf5 Merge pull request #243 from sephiroth99/amdfix
Fixes some issues on AMD drivers
2015-06-04 21:29:41 -07:00
sephiroth99 dd30330d18 gl4: fix usage of struct as input/output variables
Apparently, structs cannot be used as in/out variables. This causes
shader compile errors on AMD (nVidia doesn't seem to care I guess?).

Remove the structs and put each struct members as its own variable.
2015-06-05 00:11:23 -04:00
sephiroth99 1139a1b6ac gl4: fix nullptr dereference in GL4Shader::CompileProgram
A nullptr dereference will occur when the disassembly string is not
found, which will obviously happen on AMD. Check for the condition and
if it is not found, put a message indicating so.
2015-06-04 23:52:47 -04:00
sephiroth99 48ed0cb903 gl4: fix glGetInteger of GL_SAMPLER_BINDING
GL_SAMPLER_BINDING returns a single value. On AMD drivers, using the
indexed version of glGetInteger to get that value causes a
GL_INVALID_ENUM error. Use the non-indexed version.
2015-06-04 23:32:37 -04:00
Ben Vanik 232c35b89e Use the right sizes. Nice catch DrChat. 2015-06-04 20:06:49 -07:00
Ben Vanik bc9652e671 Actually fixing the off by one in log buffer size. 2015-06-04 20:04:39 -07:00
Ben Vanik d3ddf0e718 Make the log buffer stupid large. 2015-06-04 19:58:26 -07:00
Ben Vanik 53527bef17 Fixing heap frees. 2015-06-04 19:18:00 -07:00
Ben Vanik 52060af847 Best-guess process info block. 2015-06-04 17:46:00 -07:00
Ben Vanik f9742cc3eb Fixing formatting. 2015-06-04 16:56:42 -07:00
Ben Vanik 21474970b2 Fixing (or at least improving) TLS. 2015-06-04 16:51:53 -07:00
Ben Vanik 319402a11a Re-allow writes to 0. No clue why, but everything does it. 2015-06-04 16:37:17 -07:00
Ben Vanik d9364eccac Merge pull request #242 from DrChat/halo_fixes
Misc. Halo Fixes
2015-06-04 14:27:26 -07:00
Dr. Chat abacf136a0 Protect page 0 with no access 2015-06-04 16:21:38 -05:00
Dr. Chat 88672eff4f InterlockedFlushSList and rewrote InterlockedPopEntrySList 2015-06-04 16:21:25 -05:00
Dr. Chat 4f807a669c Fix TLS copying (size may still be wrong though) 2015-06-04 16:20:52 -05:00
Ben Vanik 7abed0a033 Merge pull request #241 from DrChat/audio_decoding
Hookup libav logging
2015-06-04 07:58:22 -07:00
Ben Vanik a8e7bb4cca Merge pull request #240 from DrChat/io_comp_stub
NtCreateIoCompletion stub
2015-06-04 07:57:23 -07:00
Dr. Chat 23ae1b6297 Hookup libav logging 2015-06-04 02:10:56 -05:00