Commit Graph

  • cc5ebaed6d Merge pull request #450 from DrChat/indirection_table_fallback Ben Vanik 2015-11-04 07:57:30 -08:00
  • 4e09bb8e61 Merge pull request #449 from DrChat/rect_list_fix_ Ben Vanik 2015-11-04 07:46:44 -08:00
  • 4ca62bf02c Setup the processor before doing anything else (and return an actual error code if it fails) Dr. Chat 2015-11-04 06:47:38 -06:00
  • f3fe260a17 Fallback case if indirection table could not be allocated. Dr. Chat 2015-11-04 06:46:52 -06:00
  • 9baeef02e0 Allow rect lists to fall through if they don't match the expected format Dr. Chat 2015-11-04 05:51:34 -06:00
  • b9326be93c Merge pull request #447 from DrChat/excreatethread_ptr_fix Ben Vanik 2015-11-03 20:01:12 -08:00
  • da4a7e1bf2 Merge pull request #448 from DrChat/ke_stack_switching Ben Vanik 2015-11-03 19:59:12 -08:00
  • c4165a235c Fix rectangle list fragment shader for right-aligned vertices. Dr. Chat 2015-11-03 21:30:48 -06:00
  • cd12b3d198 Converted MmCreateKernelStack / Implemented MmDeleteKernelStack Dr. Chat 2015-11-01 21:57:35 -06:00
  • b628577855 Implemented KeSetCurrentStackPointers Dr. Chat 2015-11-01 21:56:40 -06:00
  • cee0e582c2 Remove workarounds for handles passed into Ke* functions. Dr. Chat 2015-10-31 10:31:35 -05:00
  • 4d22c21688 ExCreateThread: Flag 0x80 indicates we should return the thread pointer, not handle. Dr. Chat 2015-10-31 10:28:53 -05:00
  • e0b3d24a50 Merge pull request #445 from DrChat/kernel_trampolines Ben Vanik 2015-10-24 17:16:33 -07:00
  • c6751c1e5f Fixed mtcrf which was wrongly implemented as mtcr Alexandro Sánchez Bach 2015-10-25 00:44:33 +01:00
  • 3547d31c3d Generate trampoline functions for GetProcAddressByOrdinal on kernel modules. Dr. Chat 2015-10-24 14:14:08 -05:00
  • 729f762c5d RawModule SetAddressRange/set_name Dr. Chat 2015-10-24 14:02:08 -05:00
  • c3ecb1bde9 Merge pull request #444 from DrChat/mmio_fix Ben Vanik 2015-10-23 07:25:34 -07:00
  • 55e811450d Lint Dr. Chat 2015-10-22 20:22:34 -05:00
  • 407d79cf3e Fix MMIO handler race condition by rechecking page access protections under the global lock. Dr. Chat 2015-10-22 20:18:08 -05:00
  • 88be0a362c memory::QueryProtect Dr. Chat 2015-10-22 20:16:27 -05:00
  • 64b8dcfd99 Lint fixes. Ben Vanik 2015-10-17 09:30:28 -07:00
  • 91dfb6a8a0 Merge pull request #436 from DrChat/misc_changes Ben Vanik 2015-10-17 01:15:20 -07:00
  • d03d0233ec Merge pull request #438 from Nukem9/patch-1 Ben Vanik 2015-10-17 01:13:52 -07:00
  • 8bc365e880 Merge pull request #437 from sephiroth99/clang38 Ben Vanik 2015-10-17 01:13:47 -07:00
  • 5300d185af Add another likely offset for ISO magic Nukem 2015-10-04 02:03:08 -04:00
  • 0308039779 Update Linux section of building.md document. sephiroth99 2015-09-26 00:17:32 -04:00
  • 9dfabba583 Fix compile error uncovered by Clang 3.8. sephiroth99 2015-09-25 23:50:05 -04:00
  • 049ca6de42 Use Clang 3.8 for Linux building. sephiroth99 2015-09-25 23:40:56 -04:00
  • 22629c3ef5 Use a slightly better flag name for drawing all framebuffers Dr. Chat 2015-09-25 18:54:28 -05:00
  • c33e95981b Formatting. Dr. Chat 2015-09-25 18:46:50 -05:00
  • c150552b9c Quick-kill processing the XMA context if there's no new data available. Dr. Chat 2015-09-25 18:40:49 -05:00
  • f2b2cc1b6f X_STATUS_MAPPED_ALIGNMENT definition Dr. Chat 2015-09-25 18:39:42 -05:00
  • 71818a3129 Convert NtCreateEvent to new format Dr. Chat 2015-09-25 18:39:14 -05:00
  • b12480820c word_t shim parameter Dr. Chat 2015-09-25 18:38:33 -05:00
  • f5ee6f4cf5 XEX2 lan key header Dr. Chat 2015-09-25 18:38:10 -05:00
  • ba399d52b9 NtAllocateVirtualMemory: Return STATUS_MAPPED_ALIGNMENT if the base address is unaligned Dr. Chat 2015-09-25 18:37:49 -05:00
  • d78f43c574 XamContentOpenFile stub Dr. Chat 2015-09-25 18:35:57 -05:00
  • bf39e33dc0 Raw modules need to commit an executable range too! Dr. Chat 2015-09-25 18:35:33 -05:00
  • 9ceab26560 Print the LAN key header Check if the module is a XEX module before calling Unload on XexModule Dr. Chat 2015-09-25 18:34:54 -05:00
  • 9f2cf96f8a Add a flag to copy color targets and depth targets to the screen on swap Dr. Chat 2015-09-25 18:30:39 -05:00
  • a9b557e8b9 Allow passing of >7 arguments through Processor::Execute Set entry status to failed if LookupFunction failed Dr. Chat 2015-09-25 18:24:12 -05:00
  • 3cbc65ac29 XThread Get/Set Last Error Dr. Chat 2015-09-25 18:22:13 -05:00
  • ee92f75a84 Updating to the latest clang-format. Make sure to update yourselves! Ben Vanik 2015-09-22 08:26:19 -07:00
  • 2298fa8048 Now that clang-3.8 is whitelisted on travis, try that. Ben Vanik 2015-09-22 08:19:57 -07:00
  • a47badd84f Pulling latest submodules. Ben Vanik 2015-09-22 07:54:46 -07:00
  • 69b58cf189 Fixing checked build. Ben Vanik 2015-09-22 07:52:45 -07:00
  • 8272beb8d2 Fix assignment of temporary value to non-const reference. sephiroth99 2015-09-22 03:02:45 -04:00
  • 08ae855e07 It seems 'export' is a reserved keyword for clang. sephiroth99 2015-09-22 03:02:06 -04:00
  • f3a4e1146f Fix logical-op parenthesis error from clang. sephiroth99 2015-09-22 03:01:37 -04:00
  • 7fb4fd2790 More workarounds for __m128. sephiroth99 2015-09-22 03:00:37 -04:00
  • 7e58ad2800 Put MSVC buildoptions under Windows platform filter. sephiroth99 2015-09-22 02:58:32 -04:00
  • ab2ef82d55 xobject: remove accept method of object_ref class sephiroth99 2015-09-22 01:27:29 -04:00
  • 890e4591ce Set premake language to C for projects with C source code. sephiroth99 2015-09-22 01:11:56 -04:00
  • 5cec2b3d3e Move Windows specific linkoption under Windows platform section. sephiroth99 2015-09-22 01:09:40 -04:00
  • 9961fbde2e Set std=c++14 only when compiling C++ projects. sephiroth99 2015-09-22 01:08:19 -04:00
  • e1d569dd7c Fix usage of __m128. sephiroth99 2015-09-22 01:00:43 -04:00
  • 9134061044 Set clang as the C compiler and clang++ as the C++ compiler. sephiroth99 2015-09-22 00:57:51 -04:00
  • 542f5ba8e5 Move GetTempReg higher in the source file, before its first usage. sephiroth99 2015-09-22 00:55:30 -04:00
  • ff7c755bc9 memory: AlignedAlloc: fallback to aligned_alloc() sephiroth99 2015-09-22 00:46:15 -04:00
  • 83f3d520b2 Add missing header includes. Ben Vanik 2015-09-22 07:38:51 -07:00
  • 3fc1d02a09 Suspend some host threads that make guest callbacks. Ben Vanik 2015-09-21 21:24:26 -07:00
  • 4c8634bc31 Fixing breakpoints. Ben Vanik 2015-09-21 21:10:57 -07:00
  • 5d033f9cb3 A new debugger. Lots of bugs/rough edges/etc - issues will be filed. Old-style debugging still works (just use --emit_source_annotations to get the helpful movs back and --break_on_instruction will still fire). Ben Vanik 2015-09-20 21:31:05 -07:00
  • 8046c19898 Correcting bad flags.txt path. Fixes #424. Ben Vanik 2015-09-12 10:02:06 -07:00
  • 80c75151c9 Fixing libav incomplete build issue. Fixes #425. Ben Vanik 2015-09-12 10:00:19 -07:00
  • 02103ddde0 Merge pull request #423 from DrChat/crash_pause Ben Vanik 2015-09-11 15:19:32 -07:00
  • 2983b0c090 Update some documentation. Dr. Chat 2015-09-11 17:12:49 -05:00
  • cad23cea81 Pause the emulator if the guest crashes and the VS debugger isn't attached. Dr. Chat 2015-09-11 17:09:25 -05:00
  • 8e716a3a7e Exception handler abstraction class Dr. Chat 2015-09-11 17:07:12 -05:00
  • edef57065b Merge pull request #421 from DrChat/mmio_fix Ben Vanik 2015-09-07 19:29:37 -07:00
  • a2bc0443f2 Quick-kill the MMIO handler if the fault address is above the mapping range. Dr. Chat 2015-09-07 21:23:24 -05:00
  • 3ac83b16c8 Fix double window destroy. Ben Vanik 2015-09-07 09:41:44 -07:00
  • fa9c681c7c Implicit Window::MakeReady on context set. Ben Vanik 2015-09-07 09:29:07 -07:00
  • ec7c74d04c Ref count elemental. Ben Vanik 2015-09-07 09:26:36 -07:00
  • 539f69f368 Multi-window GL contexts. Ben Vanik 2015-09-07 09:08:54 -07:00
  • 5411b67e05 Only register window class once. Ben Vanik 2015-09-07 09:08:38 -07:00
  • 3e66afeb3a Don't steal focus on mouse move. Ben Vanik 2015-09-07 09:08:27 -07:00
  • 855ab7c040 Fixing set_bordered name. Ben Vanik 2015-09-07 09:08:19 -07:00
  • 2b30ac393d Source control. Ben Vanik 2015-09-07 08:28:02 -07:00
  • a1a996c1e6 Shrinking UI elements in the debugger. Ben Vanik 2015-09-06 20:49:20 -07:00
  • e5fbf840d2 Shuffling kernel/. Ben Vanik 2015-09-06 18:07:52 -07:00
  • 494cba7131 Removing unused XAsyncRequest. Ben Vanik 2015-09-06 14:10:34 -07:00
  • 8588fbc6cf Shuffling kernel util types to util/. Ben Vanik 2015-09-06 13:45:52 -07:00
  • 068b2056ca Explode more gracefully on crashes while crashing. Ben Vanik 2015-09-06 13:34:39 -07:00
  • 0133bec11d Fix empty line logging. Ben Vanik 2015-09-06 13:34:19 -07:00
  • 790ce8aee1 Switch back to std:: muteces. mutices. mutexen. Ben Vanik 2015-09-06 13:34:08 -07:00
  • cb3dbcccbc Notes. Ben Vanik 2015-09-06 11:05:16 -07:00
  • e48c3534cc Removing copy to temp buffer in log flush. Ben Vanik 2015-09-06 10:28:17 -07:00
  • 9ae807e56e Initialize builtins to 0. Ben Vanik 2015-09-06 10:07:27 -07:00
  • 669f5b061f Moving DPC list into KernelState and removing unused file. Ben Vanik 2015-09-06 09:36:39 -07:00
  • 3c96b6fa0a DANGER DANGER. Switching to global critical region. This changes almost all locks held by guest threads to use a single global critical region. This emulates the behavior on the PPC of disabling interrupts (by calls like KeRaiseIrqlToDpcLevel or masking interrupts), and prevents deadlocks from occuring when threads are suspended or otherwise blocked. This has performance implications and a pass is needed to ensure the locking is as granular as possible. It could also break everything because it's fundamentally unsound. We'll see. Ben Vanik 2015-09-06 09:30:54 -07:00
  • 33270cd2a0 Making tracing use the fast logger path. Ben Vanik 2015-09-05 21:12:10 -07:00
  • 6c07eb8e5c Faster RtlFillMemoryUlong. Ben Vanik 2015-09-05 14:37:55 -07:00
  • df7a35f196 Merge pull request #417 from Rhodan81/master Ben Vanik 2015-09-05 07:26:34 -07:00
  • 9427d03d5a Fix crash in memory allocation when there is no space to fit entire page range Rhodan81 2015-09-05 15:53:05 +02:00
  • 65d91e30ca Merge pull request #414 from DrChat/xma_fixes Ben Vanik 2015-09-02 18:45:06 -07:00
  • 8024e4fd20 XMA: We can only decode an entire frame and write it out at a time! Saving samples is bad. Dr. Chat 2015-09-02 20:20:45 -05:00
  • 256a4c402c Merge pull request #413 from DrChat/inet_addr_fix Ben Vanik 2015-09-01 21:56:35 -07:00
  • 3d1f079e86 NetDll_inet_addr needs to convert endianness! Dr. Chat 2015-09-01 23:47:54 -05:00
  • a478658b2c Re-disabling GPU interrupt log. Ben Vanik 2015-09-01 20:24:19 -07:00