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
Ben Vanik
ee92f75a84
Updating to the latest clang-format. Make sure to update yourselves!
2015-09-22 08:26:19 -07:00
sephiroth99
8272beb8d2
Fix assignment of temporary value to non-const reference.
2015-09-22 07:45:57 -07:00
sephiroth99
08ae855e07
It seems 'export' is a reserved keyword for clang.
2015-09-22 07:45:52 -07:00
sephiroth99
f3a4e1146f
Fix logical-op parenthesis error from clang.
2015-09-22 07:44:16 -07:00
sephiroth99
7fb4fd2790
More workarounds for __m128.
2015-09-22 07:44:04 -07:00
sephiroth99
ab2ef82d55
xobject: remove accept method of object_ref class
...
The removed method was causing an error in clang ("call to non-static member
function without an object argument"). As it was not used, simply remove
it.
2015-09-22 07:43:08 -07:00
sephiroth99
e1d569dd7c
Fix usage of __m128.
...
With GCC and clang, __m128 is not a struct, so there are no struct members
to access the individual items in the vector.
Use standard load/store function and some hackery to workaround this
limitation.
2015-09-22 07:41:28 -07:00
sephiroth99
542f5ba8e5
Move GetTempReg higher in the source file, before its first usage.
2015-09-22 07:39:26 -07:00
sephiroth99
ff7c755bc9
memory: AlignedAlloc: fallback to aligned_alloc()
...
When compiling with clang++, __STDC_VERSION__ is not defined (obviously
as clang++ is not a C compiler). Because of this, check if compiling
with MSVC and fallback to the Linux implementation. If the latter is not
supported, compilation will fail, as it previously would have with the
2015-09-22 07:39:06 -07:00
Ben Vanik
83f3d520b2
Add missing header includes.
2015-09-22 07:38:59 -07:00
Ben Vanik
3fc1d02a09
Suspend some host threads that make guest callbacks.
2015-09-21 21:24:26 -07:00
Ben Vanik
4c8634bc31
Fixing breakpoints.
2015-09-21 21:10:57 -07:00
Ben Vanik
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).
2015-09-20 21:31:05 -07:00
Dr. Chat
2983b0c090
Update some documentation.
2015-09-11 17:12:49 -05:00
Dr. Chat
cad23cea81
Pause the emulator if the guest crashes and the VS debugger isn't attached.
2015-09-11 17:09:25 -05:00
Dr. Chat
8e716a3a7e
Exception handler abstraction class
2015-09-11 17:07:12 -05:00
Dr. Chat
a2bc0443f2
Quick-kill the MMIO handler if the fault address is above the mapping range.
2015-09-07 21:26:33 -05:00
Ben Vanik
3ac83b16c8
Fix double window destroy.
2015-09-07 09:41:44 -07:00
Ben Vanik
fa9c681c7c
Implicit Window::MakeReady on context set.
2015-09-07 09:29:07 -07:00
Ben Vanik
ec7c74d04c
Ref count elemental.
2015-09-07 09:26:36 -07:00
Ben Vanik
539f69f368
Multi-window GL contexts.
2015-09-07 09:08:54 -07:00
Ben Vanik
5411b67e05
Only register window class once.
2015-09-07 09:08:38 -07:00
Ben Vanik
3e66afeb3a
Don't steal focus on mouse move.
2015-09-07 09:08:27 -07:00
Ben Vanik
855ab7c040
Fixing set_bordered name.
2015-09-07 09:08:19 -07:00
Ben Vanik
2b30ac393d
Source control.
2015-09-07 08:28:02 -07:00
Ben Vanik
a1a996c1e6
Shrinking UI elements in the debugger.
2015-09-06 20:49:20 -07:00
Ben Vanik
e5fbf840d2
Shuffling kernel/.
2015-09-06 18:07:52 -07:00
Ben Vanik
494cba7131
Removing unused XAsyncRequest.
2015-09-06 14:10:34 -07:00
Ben Vanik
8588fbc6cf
Shuffling kernel util types to util/.
2015-09-06 13:45:52 -07:00
Ben Vanik
068b2056ca
Explode more gracefully on crashes while crashing.
2015-09-06 13:34:39 -07:00
Ben Vanik
0133bec11d
Fix empty line logging.
2015-09-06 13:34:19 -07:00
Ben Vanik
790ce8aee1
Switch back to std:: muteces. mutices. mutexen.
2015-09-06 13:34:08 -07:00
Ben Vanik
cb3dbcccbc
Notes.
2015-09-06 11:05:16 -07:00
Ben Vanik
e48c3534cc
Removing copy to temp buffer in log flush.
2015-09-06 10:28:17 -07:00
Ben Vanik
9ae807e56e
Initialize builtins to 0.
2015-09-06 10:07:27 -07:00
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
33270cd2a0
Making tracing use the fast logger path.
2015-09-05 21:12:10 -07:00
Ben Vanik
6c07eb8e5c
Faster RtlFillMemoryUlong.
2015-09-05 14:38:07 -07:00
Rhodan81
9427d03d5a
Fix crash in memory allocation when there is no space to fit entire page
...
range
2015-09-05 15:53:05 +02:00
Dr. Chat
8024e4fd20
XMA: We can only decode an entire frame and write it out at a time! Saving samples is bad.
2015-09-02 20:20:45 -05:00
Dr. Chat
3d1f079e86
NetDll_inet_addr needs to convert endianness!
2015-09-01 23:47:54 -05:00
Ben Vanik
a478658b2c
Re-disabling GPU interrupt log.
2015-09-01 20:24:19 -07: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
5355183590
Don't double-break on debugbreak.
2015-09-01 09:45:32 -07:00
Dr. Chat
51e70be054
Don't assert on VRSAVE mfspr/mtspr (used by gcc)
2015-08-31 10:51:51 -05: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
7233df2778
Switch default --ignore_undefined_externs to true.
2015-08-30 20:48:41 -07:00
Ben Vanik
2f9b37c142
Logging unimplemented instructions.
2015-08-30 20:46:06 -07:00
Ben Vanik
82a72e1974
Adding MemoryBarrier opcode.
2015-08-30 17:25:02 -07:00
Ben Vanik
39989a6107
Adding log lines to help find unimplemented NtQueryInformationFile calls.
2015-08-30 16:38:51 -07:00
Ben Vanik
65812438c4
Short-circuiting lvrx/stvrx. Should help bad accesses in many games.
...
Fixes #411 .
2015-08-30 16:38:01 -07:00
Ben Vanik
dfa5b90c36
Fixing test output.
2015-08-30 16:26:36 -07:00
Ben Vanik
499e8b4b5b
ScaleGuestDurationFileTime for absolute times. Probably right.
...
Fixes #409 .
2015-08-30 15:40:10 -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
7f505a15b7
Fixing timer callbacks.
2015-08-29 23:42:40 -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
1631e0f234
Merge pull request #408 from DrChat/vcmpbfp_rc
...
vcmpbfp with Rc bit support
2015-08-29 22:21:36 -07:00
Dr. Chat
60538e7dda
vcmpbfp with Rc bit support
2015-08-30 00:14:58 -05:00
Ben Vanik
b1afab5bb7
Switching to old depth buffer clear style.
2015-08-29 22:13:19 -07:00
Ben Vanik
1cf1568189
Adding a yield in the XMA decoder to give other threads some breathing room.
2015-08-29 22:12:31 -07:00
Ben Vanik
e7b46afa9d
Fixing build and removing old binary libav submodule.
2015-08-29 21:04:26 -07:00
Ben Vanik
764b11fa04
Formatting premake files.
2015-08-29 20:57:31 -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
f80e5fc98d
Linting
2015-08-29 22:21:25 -05:00
Dr. Chat
50535b07c3
Change validity checks to assert statements.
2015-08-29 22:14:20 -05:00
Dr. Chat
afa013f4bf
libav_verbose flag
2015-08-29 22:11:59 -05:00
Dr. Chat
e3d87b1715
Whoops (formatting)
2015-08-29 22:05:33 -05:00
Dr. Chat
3d684ac304
Fixup the premake files
2015-08-29 22:04:12 -05:00
Dr. Chat
6c83b35003
Partial frame support.
2015-08-29 21:42:06 -05:00
Ben Vanik
3508cce5b3
Fixing module loading.
2015-08-29 19:35:43 -07:00
Dr. Chat
d8ed66c336
More improvements to the XMA decoder (and included some forgotten files)
2015-08-29 21:18:04 -05: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
8dd59d07ac
Was about to update microprofile, but the new version is meh.
2015-08-29 09:41:14 -07:00
Ben Vanik
3c50b6739a
Capturing guest/host context and showing registers in debugger.
2015-08-29 08:08:54 -07:00
Ben Vanik
ab04175aad
Abstracting aligned alloc/free.
2015-08-28 14:27:44 -07:00
Ben Vanik
a79ef87889
Adding CONTRIBUTING.md so that github shows it on issues.
2015-08-28 14:16:38 -07:00
Dr. Chat
c50cc1cb84
Lint. One line of lint.
2015-08-18 19:13:36 -05:00
Dr. Chat
f5104af0a2
Whoops, fix AND masks
2015-08-18 19:00:57 -05:00
Dr. Chat
29ed27bfc5
Fix up winkey GetKeystroke to not use GetAsyncKeyState, and disable GetState if Xenia is not the active window.
2015-08-18 18:57:31 -05:00
Dr. Chat
38064acd51
UI KeyEvent previous state and repeat count
2015-08-18 18:45:35 -05:00
Ben Vanik
a668556d7f
Fixing Windows build.
2015-08-18 14:45:49 -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
Ben Vanik
2820ff85e5
Moving test memory to a more reasonable place.
2015-08-18 09:01:22 -07:00