Ben Vanik
669f5b061f
Moving DPC list into KernelState and removing unused file.
2015-09-06 09:36:39 -07:00
Ben Vanik
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.
2015-09-06 09:30:54 -07:00
Ben Vanik
6c07eb8e5c
Faster RtlFillMemoryUlong.
2015-09-05 14:38:07 -07:00
Dr. Chat
3d1f079e86
NetDll_inet_addr needs to convert endianness!
2015-09-01 23:47:54 -05:00
Ben Vanik
311b65537d
--log_high_frequency_kernel_calls (defaults to false) to cull some lines.
2015-09-01 18:20:08 -07:00
Ben Vanik
3c1e012098
Lookup thread/event/etc objects by name on create to try to reuse.
2015-09-01 18:09:44 -07:00
Ben Vanik
3f433fe20a
Object table names are case insensitive.
2015-09-01 18:08:00 -07:00
Ben Vanik
f3c75b8d87
Support ObReferenceObjectByHandle for XEvents.
2015-09-01 17:42:07 -07:00
Ben Vanik
b9debbaa63
Fixing section lookup when the name is 8 characters.
2015-09-01 17:03:40 -07:00
Ben Vanik
f5e374f9b5
Changing the way the global lock works. Some things are better, I think.
...
Regressions are likely.
2015-09-01 09:45:32 -07:00
Ben Vanik
1b916ccca2
Log module dump directly.
2015-08-30 21:33:33 -07:00
Ben Vanik
a4ed79695d
WSACreateEvent/CloseEvent/SetEvent.
2015-08-30 21:31:52 -07:00
Ben Vanik
39989a6107
Adding log lines to help find unimplemented NtQueryInformationFile calls.
2015-08-30 16:38:51 -07:00
Ben Vanik
b80a028589
Much better errors on undefined externs.
2015-08-30 15:27:12 -07:00
Ben Vanik
87094b8257
Adding XamUserContentRestriction* functions.
2015-08-30 15:00:04 -07:00
Ben Vanik
7711568af9
Implementing SetTimer and CompleteOverlappedEx APC callbacks.
...
Fixes #410 .
2015-08-29 23:43:26 -07:00
Ben Vanik
7172f7575e
Removing assert in keyboard display on flags.
2015-08-29 22:30:12 -07:00
Ben Vanik
1d7f345960
Fix logging with null varargs.
2015-08-29 22:22:07 -07:00
Ben Vanik
a86b3821f2
Adding thread handle to logging.
2015-08-29 20:49:26 -07:00
Ben Vanik
c486fcfcba
Merge pull request #407 from DrChat/libav
...
Rewrote the Audio Decoder
2015-08-29 20:47:04 -07:00
Dr. Chat
3d684ac304
Fixup the premake files
2015-08-29 22:04:12 -05:00
Ben Vanik
3508cce5b3
Fixing module loading.
2015-08-29 19:35:43 -07:00
Dr. Chat
0f9cd8cfb3
New WIP audio decoder
2015-08-29 21:16:57 -05:00
Dr. Chat
f2b2a22687
Add gflags to projects that need it only
2015-08-29 21:16:57 -05:00
Ben Vanik
b7203c2989
Logging to with a ringbuffer. Much faster.
2015-08-29 18:06:30 -07:00
Ben Vanik
8b0d4fb51c
Linux tweaks.
2015-08-18 14:18:00 -07:00
Ben Vanik
19299fad4b
Removing apu/ deps on Emulator.
2015-08-18 10:54:56 -07:00
Ben Vanik
ad090a40eb
Fixing misuse of std::chrono.
2015-08-18 10:18:30 -07:00
Dr. Chat
3c968f3f1e
Whoops - Fix InterlockedPopEntrySList dereferencing a NULL pointer
2015-08-16 16:54:55 -05:00
Dr. Chat
6cd08384e7
(Experimental) ELF module support
2015-08-16 09:47:39 -05:00
Dr. Chat
3fcc6648d7
Fix (to the best of my knowledge) InterlockedPopEntrySList
...
Couple of other asserts/fixes
2015-08-13 19:06:58 -05:00
Ben Vanik
0686227d23
Style fixes.
2015-08-08 16:40:14 -07:00
Ben Vanik
a92566dfc5
More style.
2015-08-07 21:29:03 -07:00
Ben Vanik
14beb27ebc
xb style.
2015-08-07 07:56:57 -07:00
Ben Vanik
5e08889d93
More style cleanup.
2015-08-06 20:17:01 -07:00
Ben Vanik
e6461f326c
Some xb style cleanup.
2015-08-05 22:06:20 -07:00
Ben Vanik
37ded9acc3
Window->Form.
2015-08-01 10:24:41 -07:00
Ben Vanik
2f1965082c
Dropping dummy drive size down to a reasonable size. Fix #377 .
2015-07-31 14:15:07 -07:00
Ben Vanik
e523ffcd51
Tweaking some thread names.
2015-07-29 23:28:45 -07:00
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
122114d1d1
Fixing debugger startup race.
2015-07-29 19:52:53 -07:00
Ben Vanik
e01c2ac98d
Fixing formatting.
2015-07-28 00:32:01 -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
997de209ec
Reversed engineered X_OBJECT_HEADER a bit better
2015-07-27 18:26:07 -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