Luke Usher
3a59c62753
Update src/core/hle/Patches.cpp
...
Co-authored-by: RadWolfie <RadWolfie@users.noreply.github.com>
2022-03-01 22:41:18 +00:00
Luke Usher
884a9080b5
hle: detect when patches fail to apply
2022-03-01 20:40:56 +00:00
ergo720
d3b2554b20
Use a separate array for the native handles in NtWaitForMultipleObjectsEx
2022-02-20 16:07:42 +01:00
ergo720
f174872702
Unpatch timeSetEvent and timeKillEvent + fixes a crash in chihiro games + missing audio effects in virtua cop 3 + fixes a bug in SignalObjectAndWait
2022-02-20 12:22:36 +01:00
ergo720
c6ea72dcf4
Use a condition variable to notify interrupts, fixes stuttering in the dashboard
2022-02-18 20:17:22 +01:00
ergo720
bc98e164b2
Removed CxbxKrnlTerminateThread and some unnecessary calls to TerminateProcess
2022-02-18 15:30:18 +01:00
ergo720
6867907a3c
Fixed a bug in NtWaitForMultipleObjectsEx that caused the dashboard to deadlock + more review remarks
2022-02-18 12:42:56 +01:00
ergo720
7589f0a94c
Avoid using std::async in WaitApc
2022-02-17 02:33:44 +01:00
RadWolfie
a769e896c6
hidden bug while debugging on xbox kernel thread's issue
2022-02-16 18:20:04 +01:00
RadWolfie
44ed2ee3aa
update Timer_Shutdown to reduce wait time for shutdown if threads are all xbox
2022-02-16 18:20:04 +01:00
ergo720
06f34134ff
Review remarks + use PsCreateSystemThread to start all xbox threads
2022-02-16 18:20:04 +01:00
RadWolfie
6320dd5539
fix shutdown process crashed on shutdown and reboots
2022-02-16 18:20:03 +01:00
RadWolfie
8c7247abf5
reimplement suspend xbox threads so we can shutdown emulation properly
2022-02-16 18:20:02 +01:00
RadWolfie
0b90a48434
register duplicated xbox handle require duplicated handle from host
2022-02-16 18:20:01 +01:00
ergo720
e85af190d5
Properly set the ref count of ethread, fixes Amped
2022-02-16 18:20:01 +01:00
ergo720
733670c7f8
Fixed an issue with xbox handle registration
2022-02-16 18:20:01 +01:00
ergo720
79ac0c3019
Updated thread timings in ethread + null id upon thread termination
2022-02-16 18:20:00 +01:00
ergo720
ec6b16c68a
Added support to Ps notification routines
2022-02-16 18:20:00 +01:00
ergo720
e9cc351bba
Unpatch XSetProcessQuantumLength + moved unused xapi patched to standalone file + added code to handle xbox user APCs in SignalObjectAndWait
2022-02-16 18:19:59 +01:00
RadWolfie
e208c73586
fix thread calls issue from GetNativeHandle to keep special handle return
2022-02-16 18:19:59 +01:00
RadWolfie
7e5f9a7cb7
unpatch GetExitCodeThread
2022-02-16 18:19:58 +01:00
RadWolfie
b39801df11
unpatch SetThreadPriority, GetThreadPriority, SetThreadPriorityBoost
2022-02-16 18:19:58 +01:00
ergo720
a791b7609c
Updated KeDelayExecutionThread, KeSetBasePriorityThread and XAPI thread functions to accept ob handles + more bug fixes
2022-02-16 18:19:58 +01:00
ergo720
b664488274
Bug fixes
2022-02-16 18:19:57 +01:00
ergo720
114be1b7c9
Added APCs support to kernel
2022-02-16 18:19:57 +01:00
ergo720
607a48e3ea
Update Nt functions that accept thread handles (except for NtQueueApcThread)
2022-02-16 18:19:56 +01:00
ergo720
9082891903
Make Ps functions use Ob to create thread handles
2022-02-16 18:19:56 +01:00
PatrickvL
c883034372
Cleanup system selection, so it's no longer abusing xbeType
...
Rename g_bIsDebug into g_bIsDevKit for consistency with system selection
Cleaned up related comments
2022-02-16 14:56:45 +01:00
Luke Usher
41d45dd88d
Merge pull request #2320 from ergo720/fix_port_func_arg
...
Fix incorrect type in port io kernel functions
2022-02-06 10:57:12 +00:00
ergo720
1125c1c45d
Fix incorrect type in port io kernel functions
2022-02-06 11:33:58 +01:00
RadWolfie
7d116628c2
make complete set of FS instructions for offset 0x00 and 0x04 to retreive and set
2022-02-05 17:33:09 -06:00
RadWolfie
f41cc02c6c
disable overwrite host's stack data
2022-02-04 13:15:07 -06:00
RadWolfie
da72da4d03
initialize exception manager at beginning of emulation process
2022-02-04 12:29:05 -06:00
wutno
59fe8eb6db
Fix kernel type hints for READ_PORT_BUFFER and friends
2022-02-04 02:20:27 -05:00
Luke Usher
be4fb1deb6
Merge pull request #2312 from RadWolfie/fix-uem-led-status
...
Fix UEM and LED Status
2022-01-28 16:37:49 +00:00
Margen67
349f28c6cb
Upgrade CxbxDebugger to .NET Framework 4.8
2022-01-19 15:59:17 -06:00
RadWolfie
4625a34eec
fix LED status and emulation state
2022-01-18 13:37:05 -06:00
RadWolfie
5ac2d3e152
fix UEM screen not showing up every time
2022-01-18 13:37:04 -06:00
RadWolfie
54d3ee11bb
add missing patch for D3DDevice_GetBackBuffer2_0__LTCG_eax1
2022-01-12 00:30:54 -06:00
RadWolfie
50b969549f
sync XbSymbolDatabase
2022-01-12 00:30:54 -06:00
Anthony
a844dffa95
Fixup sampling cube textures with PROJECT2D
...
Use CUBEMAP sampling instead
Fixes lighting in Splinter Cell Chaos Theory
2022-01-09 22:50:59 +13:00
Silent
f41f73f6c3
Fixup Win10 CPU Sets to check the EfficiencyClass
...
Instead of picking the first physical core for Xbox threads,
Cxbx-R now picks the first highest performance physical core.
While at least Alder Lake lists performance cores first,
this is not guaranteed to always be the case in the future.
2021-12-30 21:36:20 +01:00
ergo720
6078193fec
Fixed a bug in ObOpenObjectByName
2021-12-27 16:04:57 +01:00
ergo720
922bd4e9d2
Added ObLock and ObUnlock
2021-12-27 16:04:57 +01:00
ergo720
a7cf67cd71
Allow ObIniSystem to succeed
2021-12-27 11:58:09 +01:00
Luke Usher
3e5272d91a
Merge pull request #2284 from NZJenkins/swap-copy
...
Tweak Swap behaviour to fix flickering in some titles
2021-12-22 11:03:15 +00:00
ergo720
ef5c9ad4fb
Simulate correctly the USB enumeration process in XGetDevices
2021-12-12 21:59:20 +01:00
ergo720
29e1dc865d
Switched to uppercase for xbox ntstatuses
2021-12-04 23:09:09 +01:00
ergo720
0b2c0a2e33
review remarks
2021-11-29 14:45:24 +01:00
ergo720
66b83d98e4
Bug fixes
2021-11-27 23:53:54 +01:00