Commit graph

4721 commits

Author SHA1 Message Date
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
Dr. Chat
0bc08d80ef NtCreateIoCompletion stub 2015-06-04 01:06:39 -05:00
Ben Vanik
bba530f628 Pre-sizing export tables. 2015-06-03 22:40:23 -07:00
Ben Vanik
5c41a8f0f9 Fixing Checked builds. 2015-06-03 22:35:05 -07:00
Ben Vanik
b6728ce23e Removing additional varargs trampoline in shader translator. 2015-06-03 22:34:58 -07:00
Ben Vanik
a9e2ba16fb Optimizing page allocation (still shit) and adding MmSetAddressProtect. 2015-06-03 21:24:09 -07:00
Ben Vanik
50813d3ffa NetDll_XNetGetDebugXnAddr stub. 2015-06-03 20:45:05 -07:00
Ben Vanik
e8e9e08b4e Merge pull request #239 from DrChat/emu_pack16
Emulate PACK/UNPACK for non-F16C CPUs
2015-06-03 20:39:12 -07:00
Dr. Chat
809c327041 Emulate PACK/UNPACK for non-F16C CPUs 2015-06-03 22:33:45 -05:00
Ben Vanik
b8d1d3cf35 Stub for avatar stuff to make it immediately bail. 2015-06-03 18:29:44 -07:00
Ben Vanik
36dc6dd864 Logging APC delivery. 2015-06-03 17:59:36 -07:00
Ben Vanik
1e0c8e223d Merge pull request #238 from DrChat/size_fix
Resize main window after attaching the menu
2015-06-03 11:00:50 -07:00
Dr. Chat
94a075d581 Resize main window after attaching the menu 2015-06-03 12:59:36 -05:00
Ben Vanik
08fc703b73 Merge pull request #237 from DrChat/audio_decoding
Cleanup Audio System Code
2015-06-03 09:16:07 -07:00
Dr. Chat
826609cd60 Cleanup some audio system code. 2015-06-03 11:14:10 -05:00
gibbed
60daa978dd VdSwap has 10 arguments. 2015-06-03 10:37:59 -05:00
gibbed
c467024ec8 Packet building helpers. 2015-06-03 10:36:37 -05:00
gibbed
5cfdec7dbf Fix a comment. 2015-06-03 09:50:13 -05:00
Ben Vanik
954b67df78 Adding readback color format. 2015-06-02 22:46:53 -07:00
Ben Vanik
7f62e8a86d Fixing notification dequeing. 2015-06-02 22:13:17 -07:00
Ben Vanik
e186fcaf0d Fixing end_of_file and allocation_size, some wildcard stuff, etc. 2015-06-02 22:13:16 -07:00
Ben Vanik
25a2fbd78e Merge pull request #236 from DrChat/krnl_crypt
Xboxkrnl SHA Crypt Stubs
2015-06-02 22:09:53 -07:00
Dr. Chat
b448d794c5 xboxkrnl SHA crypt stubs 2015-06-03 00:06:33 -05:00
Ben Vanik
40a6a12800 Attempting to inline a lot of MMIO operations. Works for GPU stuff mainly. 2015-06-02 20:15:43 -07:00
Ben Vanik
6618bcf2db Merge pull request #235 from DrChat/audio_decoding
Whoops - fix overflowing on output audio samples
2015-06-02 11:18:27 -07:00
Dr. Chat
50d8017ac5 Whoops - fix overflowing on output audio samples 2015-06-02 13:17:15 -05:00
Rick Gibbed
8aaa254390 Merge pull request #234 from DrChat/audio_decoding
.cpp -> .cc and add ring_buffer.cc to the project
2015-06-02 11:24:07 -05:00
Dr. Chat
45d3f4f886 Ugh, why doesn't VS just save this automatically? 2015-06-02 11:23:05 -05:00
Dr. Chat
e09ea50c74 .cpp -> .cc and add ring_buffer.cc to the project 2015-06-02 11:23:04 -05:00
gibbed
6d61d0a7b2 Added _snprintf and swprintf. 2015-06-02 10:42:10 -05:00
gibbed
58b1059a23 Reordered the formatting exports in the order of their ordinal. 2015-06-02 10:42:09 -05:00
gibbed
b402fb76e1 Oops. 2015-06-02 10:42:08 -05:00
gibbed
065f0417f2 Fixed vsnprintf behavior when count < 0. 2015-06-02 10:42:08 -05:00
Ben Vanik
99718fd3ce Merge pull request #233 from DrChat/audio_decoding
Cleanup Audio System Code
2015-06-02 08:22:10 -07:00