Commit Graph

2809 Commits

Author SHA1 Message Date
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
Ben Vanik 219eae2b2a Merge pull request #368 from DrChat/ke_sync_cleanup
Cleanup some Ke* threading APIs
2015-07-25 09:47:29 -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
Ben Vanik dae37b66a3 Merge pull request #367 from DrChat/fullscreen_fix
Fix fullscreen
2015-07-25 08:40:57 -07:00
Dr. Chat 87ebcdea8a Fix fullscreen 2015-07-25 08:56:39 -05:00
Ben Vanik 130ff8f6af Merge pull request #366 from DrChat/minecraft_fixes
Couple of fixes for IO
2015-07-24 21:55:59 -07:00
Dr. Chat 18d8fad098 Couple of fixes for IO (null pointer deref and improper XctdCompressionInformation) 2015-07-24 23:50:02 -05:00
Ben Vanik f191d7bc96 Merge pull request #365 from DrChat/minecraft_fixes
Minecraft fixes
2015-07-24 21:32:28 -07: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
Ben Vanik 8936cfae70 Merge pull request #364 from DrChat/xthread_name_id
Include host ID in XThread names
2015-07-24 17:01:34 -07: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
Ben Vanik 3cd748a234 Merge pull request #363 from DrChat/obj_handle_ref_counting
Track object handle reference counts in the object table.
2015-07-22 17:37:54 -07: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
Ben Vanik 2f233c7974 Update premake5.lua 2015-07-22 12:30:40 -07:00
Ben Vanik c21bef416b Merge pull request #362 from DrChat/xthread_race_fix
Fix race condition in XThread
2015-07-22 10:01:42 -07:00
Dr. Chat 9a47082c88 Create XThread suspended and resume it when setup is complete. Fixes race condition on thread_ variable. 2015-07-22 11:56:02 -05:00
Ben Vanik d01abd4694 Starting debugger rework, adding base async socket, removing flatbuffers. 2015-07-22 00:01:36 -07:00
Ben Vanik a98fa47081 Merge pull request #361 from DrChat/misc_fixes
Misc fixes
2015-07-21 20:22:00 -07:00
Dr. Chat e6eb21f6ac %s 2015-07-21 22:20:54 -05:00
Dr. Chat dda00b604b Don't try to use an invalid file! 2015-07-21 22:14:28 -05:00
Dr. Chat 3ad3635567 X_IO_STATUS_BLOCK / X_EX_TITLE_TERMINATE_REGISTRATION 2015-07-21 22:13:29 -05:00
Dr. Chat c6e6894d9d Platform window enable/disable border support 2015-07-21 22:13:06 -05:00
Dr. Chat 9fcbd60e9b Thread state address is gone 2015-07-21 22:11:55 -05:00
Dr. Chat 8d0fef1433 Kernel state terminate notification support 2015-07-21 22:11:33 -05:00
Dr. Chat b6f8985c8c Shuffle around RTL critical section code and add asserts
Get thread ID using new api
2015-07-21 22:09:26 -05:00
Dr. Chat 7ceaf678e0 Minor XObject function changes 2015-07-21 22:07:55 -05:00
Dr. Chat b646915b77 Make XThread use its guest KTHREAD object in the pcr in r13
Shuffle around some code in XThread
2015-07-21 22:07:30 -05:00
Dr. Chat a4849ca83e XNetSetSystemLinkPort / respect optional pointers in accept 2015-07-21 22:05:56 -05:00
Ben Vanik 8126b12340 Plumbing frontbuffer_ptr around (but not using it yet). 2015-07-21 19:43:36 -07:00