Commit Graph

2752 Commits

Author SHA1 Message Date
Ben Vanik
d8be8fdbbb Never run WSACleanup, it breaks the debugger. Some games do this
on startup just because, which decrements our WSA instance to zero.
2015-07-29 21:41:39 -07:00
Ben Vanik
9bea299a16 Massaging xinput arguments. Fixes RCR. 2015-07-29 21:41:09 -07:00
Ben Vanik
c0dcf83de8 Cleanup heap use. 2015-07-29 20:33:59 -07:00
Ben Vanik
c67173fe36 Switching to real page sizes, not allocation granularity. 2015-07-29 20:28:06 -07:00
Ben Vanik
122114d1d1 Fixing debugger startup race. 2015-07-29 19:52:53 -07:00
Ben Vanik
19901c4759 Replacing a use of strings for xbyak labels. 2015-07-29 18:58:45 -07:00
Ben Vanik
40e98eab7c Fix include. 2015-07-29 00:33:57 -07:00
Ben Vanik
e657276996 Mostly working stack walking (besides issue #372). 2015-07-29 00:15:52 -07:00
Ben Vanik
e01c2ac98d Fixing formatting. 2015-07-28 00:32:01 -07:00
Ben Vanik
ad9472e60b Better sign extend, thanks to @inolen. 2015-07-27 20:25:20 -07:00
Ben Vanik
226b7ae83f Only generate .user if it doesn't exist. 2015-07-27 20:12:14 -07:00
Ben Vanik
dffc1f0e14 Merge pull request #371 from DrChat/xam_enumerate_fix
Fix XamEnumerate returning a RESULT instead of a HRESULT
2015-07-27 19:59:57 -07:00
Ben Vanik
b1baaa45bc Merge pull request #369 from DrChat/handle_release_fix
Fix releasing the primary handle of an object in RemoveHandle
2015-07-27 19:59:45 -07:00
Dr. Chat
1e0ba0b24c Fix XamEnumerate returning a RESULT instead of a HRESULT in extended error. 2015-07-27 21:50:26 -05:00
Dr. Chat
fe7a710460 Revert license mask. 2015-07-27 18:32:41 -05:00
Dr. Chat
804b6b80ac Winkey support GetKeystroke (need to fix flags though) and support right stick 2015-07-27 18:28:08 -05:00
Dr. Chat
993c646e91 XAM_OVERLAPPED 2015-07-27 18:26:22 -05:00
Dr. Chat
997de209ec Reversed engineered X_OBJECT_HEADER a bit better 2015-07-27 18:26:07 -05:00
Dr. Chat
766788be7b XMAContext abort instantly if libav failed mid-packet. 2015-07-27 18:24:04 -05:00
Dr. Chat
e37479c7b0 Convert strings before returning them 2015-07-27 18:23:11 -05:00
Dr. Chat
6a26fd08cd Xam keyboard input UI
Moved XamShowDeviceSelectorUI here
2015-07-27 18:22:51 -05:00
Dr. Chat
9b722eb602 XamContent change HDD size to 1TB, rewrite XamContentCreateEnumerator 2015-07-27 18:22:10 -05:00
Dr. Chat
df500e162e Rewrite XamEnumerate to copy one item at a time (for now anyways) 2015-07-27 18:20:50 -05:00
Dr. Chat
ee1565b0e8 XEnumerator write single item 2015-07-27 18:18:05 -05:00
Ben Vanik
e4d9f38b82 These files should have been deleted. 2015-07-27 08:28:31 -07:00
Ben Vanik
987589dcbc Stop overwriting already-specified thread names. 2015-07-26 23:49:32 -07:00
Ben Vanik
7ecc6362de Debugger stuff. Lots of wasted work :/ 2015-07-26 22:47:16 -07:00
gibbed
42ef3f224a Oops. Fixing bad asserts. 2015-07-26 11:12:54 -05:00
gibbed
b713f99e42 Constant support for VECTOR_CONVERT_I2F. 2015-07-26 10:55:41 -05:00
gibbed
20d79911f0 Constant support for Emit16_IN_32. 2015-07-26 10:54:47 -05:00
gibbed
599686f68d Unsigned Emit16_IN_32. 2015-07-26 09:57:52 -05:00
gibbed
34031e57ab Don't pass flags to XInputGetKeystroke, as on Windows it's a reserved parameter. 2015-07-26 09:31:02 -05:00
gibbed
e212a7da1d Make sure the device is connected before calling XInputGetKeystroke. 2015-07-26 09:31:01 -05:00
Dr. Chat
30f3994476 Fix accidentally releasing the primary handle of a duplicated object when the duplicated handle is removed. 2015-07-25 20:00:18 -05:00
Ben Vanik
abf50b477e Making shutdown clean. 2015-07-25 12:56:37 -07:00
Ben Vanik
89adaf8e85 --random_clear_color, and making default grey. 2015-07-25 12:56:21 -07:00
Ben Vanik
ea4ec28acc Adding --show_profiler to show profiler by default, changing hotkey to F3. 2015-07-25 12:34:15 -07:00
Ben Vanik
8ce6765233 Fixing socket startup. 2015-07-25 12:25:15 -07:00
Dr. Chat
4301806061 Cleanup some Ke* threading APIs (and update the dispatch header when possible) 2015-07-25 11:43:25 -05:00
Dr. Chat
87ebcdea8a Fix fullscreen 2015-07-25 08:56:39 -05:00
Dr. Chat
18d8fad098 Couple of fixes for IO (null pointer deref and improper XctdCompressionInformation) 2015-07-24 23:50:02 -05:00
Dr. Chat
270686a0be Whoops, don't need these 2015-07-24 23:24:23 -05:00
Dr. Chat
b8b134da75 module Retain instead of RetainHandle 2015-07-24 23:09:47 -05:00
Dr. Chat
64089558f1 XThread set exit code on exit 2015-07-24 23:09:33 -05:00
Dr. Chat
c536053dec Fix improper getting arguments from stack
Also fix PrimitivePointerParam conversion error
2015-07-24 23:08:55 -05:00
Dr. Chat
cf37fa7d71 Update a bunch of IO methods 2015-07-24 23:07:22 -05:00
Dr. Chat
eac3243907 Include host ID in XThread name for easier debugging 2015-07-24 18:42:30 -05:00
Dr. Chat
e7def962f3 Expose native thread id 2015-07-24 18:41:53 -05:00
Dr. Chat
8e41d5a707 The kernel object table now keeps track of handle reference counts. 2015-07-22 19:34:33 -05:00
Ben Vanik
a42ab648ed Shuffling --debug around and making it work. 2015-07-22 17:26:10 -07:00