Commit Graph

3132 Commits

Author SHA1 Message Date
Ben Vanik c631b965d7 Adding generic immediate mode drawing API and migrating microprofile.
Future changes will move elemental-forms and imgui to the common API as
well.
2015-11-05 21:36:05 -08:00
Ben Vanik dc04baeb3f Tracking capstone next upstream. 2015-11-05 18:53:37 -08:00
Ben Vanik fe246b1057 Latest imgui. 2015-11-05 18:51:17 -08:00
Ben Vanik 5087ccd565 Tracking capstone next. 2015-11-05 18:43:15 -08:00
Ben Vanik 5525f6c0a2 Tracking master xbyak. 2015-11-05 17:17:52 -08:00
Ben Vanik 65c5279611 Fixing style. 2015-11-05 16:39:27 -08:00
Ben Vanik a5eec3d2c5 Merge pull request #451 from DrChat/mmio_deadlock_fix
Fix a rare deadlock in the MMIO handler
2015-11-05 16:34:44 -08:00
Dr. Chat 430d4c7182 Fix rare deadlock in the MMIO handler. 2015-11-05 18:13:15 -06:00
Ben Vanik cc5ebaed6d Merge pull request #450 from DrChat/indirection_table_fallback
Indirection table fallback
2015-11-04 07:57:30 -08:00
Ben Vanik 4e09bb8e61 Merge pull request #449 from DrChat/rect_list_fix_
Rectangle List Fix (projection issues on right-aligned vertices)
2015-11-04 07:46:44 -08:00
Dr. Chat 4ca62bf02c Setup the processor before doing anything else (and return an actual error code if it fails) 2015-11-04 06:48:46 -06:00
Dr. Chat f3fe260a17 Fallback case if indirection table could not be allocated. 2015-11-04 06:46:52 -06:00
Dr. Chat 9baeef02e0 Allow rect lists to fall through if they don't match the expected format 2015-11-04 05:51:34 -06:00
Ben Vanik b9326be93c Merge pull request #447 from DrChat/excreatethread_ptr_fix
Fix ExCreateThread returning a handle when game requests a pointer
2015-11-03 20:01:12 -08:00
Ben Vanik da4a7e1bf2 Merge pull request #448 from DrChat/ke_stack_switching
Kernel Stack Switching (KeSetCurrentStackPointers)
2015-11-03 19:59:12 -08:00
Dr. Chat c4165a235c Fix rectangle list fragment shader for right-aligned vertices. 2015-11-03 21:32:25 -06:00
Dr. Chat cd12b3d198 Converted MmCreateKernelStack / Implemented MmDeleteKernelStack 2015-11-01 21:59:27 -06:00
Dr. Chat b628577855 Implemented KeSetCurrentStackPointers 2015-11-01 21:56:40 -06:00
Dr. Chat cee0e582c2 Remove workarounds for handles passed into Ke* functions. 2015-10-31 10:31:35 -05:00
Dr. Chat 4d22c21688 ExCreateThread: Flag 0x80 indicates we should return the thread pointer, not handle. 2015-10-31 10:28:53 -05:00
Ben Vanik e0b3d24a50 Merge pull request #445 from DrChat/kernel_trampolines
Generate trampoline functions for GetProcAddress on kernel modules
2015-10-24 17:16:33 -07:00
Alexandro Sánchez Bach c6751c1e5f Fixed mtcrf which was wrongly implemented as mtcr 2015-10-25 00:44:33 +01:00
Dr. Chat 3547d31c3d Generate trampoline functions for GetProcAddressByOrdinal on kernel modules. 2015-10-24 14:14:08 -05:00
Dr. Chat 729f762c5d RawModule SetAddressRange/set_name 2015-10-24 14:02:08 -05:00
Ben Vanik c3ecb1bde9 Merge pull request #444 from DrChat/mmio_fix
Fix MMIO Handler Race Condition
2015-10-23 07:25:34 -07:00
Dr. Chat 55e811450d Lint 2015-10-22 20:22:34 -05:00
Dr. Chat 407d79cf3e Fix MMIO handler race condition by rechecking page access protections under the global lock. 2015-10-22 20:18:08 -05:00
Dr. Chat 88be0a362c memory::QueryProtect 2015-10-22 20:16:27 -05:00
Ben Vanik 64b8dcfd99 Lint fixes. 2015-10-17 09:30:28 -07:00
Ben Vanik 91dfb6a8a0 Merge pull request #436 from DrChat/misc_changes
Misc changes
2015-10-17 01:15:20 -07:00
Ben Vanik d03d0233ec Merge pull request #438 from Nukem9/patch-1
Add another likely offset for ISO magic
2015-10-17 01:13:52 -07:00
Ben Vanik 8bc365e880 Merge pull request #437 from sephiroth99/clang38
Use Clang 3.8 for Linux build.
2015-10-17 01:13:47 -07:00
Nukem 5300d185af Add another likely offset for ISO magic
Tested with Skyrim's DISC1 ISO. It doesn't load otherwise.

(Submitting this through github's web editor)
2015-10-04 02:03:08 -04:00
sephiroth99 0308039779 Update Linux section of building.md document. 2015-09-26 00:17:32 -04:00
sephiroth99 9dfabba583 Fix compile error uncovered by Clang 3.8. 2015-09-25 23:50:05 -04:00
sephiroth99 049ca6de42 Use Clang 3.8 for Linux building. 2015-09-25 23:40:56 -04:00
Dr. Chat 22629c3ef5 Use a slightly better flag name for drawing all framebuffers 2015-09-25 18:54:28 -05:00
Dr. Chat c33e95981b Formatting. 2015-09-25 18:46:50 -05:00
Dr. Chat c150552b9c Quick-kill processing the XMA context if there's no new data available. 2015-09-25 18:40:49 -05:00
Dr. Chat f2b2cc1b6f X_STATUS_MAPPED_ALIGNMENT definition 2015-09-25 18:39:42 -05:00
Dr. Chat 71818a3129 Convert NtCreateEvent to new format 2015-09-25 18:39:14 -05:00
Dr. Chat b12480820c word_t shim parameter 2015-09-25 18:38:33 -05:00
Dr. Chat f5ee6f4cf5 XEX2 lan key header 2015-09-25 18:38:10 -05:00
Dr. Chat ba399d52b9 NtAllocateVirtualMemory: Return STATUS_MAPPED_ALIGNMENT if the base address is unaligned 2015-09-25 18:37:49 -05:00
Dr. Chat d78f43c574 XamContentOpenFile stub 2015-09-25 18:35:57 -05:00
Dr. Chat bf39e33dc0 Raw modules need to commit an executable range too! 2015-09-25 18:35:33 -05:00
Dr. Chat 9ceab26560 Print the LAN key header
Check if the module is a XEX module before calling Unload on XexModule
2015-09-25 18:34:54 -05:00
Dr. Chat 9f2cf96f8a Add a flag to copy color targets and depth targets to the screen on swap 2015-09-25 18:30:39 -05:00
Dr. Chat a9b557e8b9 Allow passing of >7 arguments through Processor::Execute
Set entry status to failed if LookupFunction failed
2015-09-25 18:24:12 -05:00
Dr. Chat 3cbc65ac29 XThread Get/Set Last Error 2015-09-25 18:22:13 -05:00