ergo720
1504a75a46
Raise priority of system events thread
2024-07-05 10:58:03 -05:00
ergo720
87496ab873
Removed delta amount added to KeSystemTime
2024-07-05 10:58:03 -05:00
ergo720
5b37a7ec21
Fixed thread order initialization when a thread starts suspended
2024-07-05 10:58:03 -05:00
ergo720
639f42c318
Make sure to hold the DPC lock until the DPC list has been emptied
...
This fixes a crash in Lord of the rings: The fellowship of the ring
2024-07-05 10:58:03 -05:00
ergo720
8d92992a6b
Implemented kernel unwait routines + updated/fixed KeWaitForMultipleObjects and KeWaitForSingleObject
2024-07-05 10:58:02 -05:00
ergo720
7323eed73e
Only change the priority of a thread if it is being set above normal
2024-07-05 10:58:02 -05:00
ergo720
b47c1f195c
Unpatch D3DDevice_BlockUntilVerticalBlank and D3DDevice_SetVerticalBlankCallback
2024-07-05 10:58:02 -05:00
ergo720
7c73bfc525
Avoid triggering multiple gpu interrupts outside the vblank
2024-07-05 10:58:02 -05:00
ergo720
1b4a3bb54f
Moved position of ObfDereferenceObject in NtSuspendThread
2024-07-05 10:58:02 -05:00
ergo720
750d202fa8
Removed scaling hack in KeInterruptTime and KeTickCount + added yield in system_events routine
...
This fixes the stuttering in Halo 2, Metal slug 3, JSRF and restores PDO, PSO to the same state as in master
2024-07-05 10:58:02 -05:00
ergo720
e7bca5e1bf
Implemented suspend/resume kernel Nt routines with the corresponding Ke routines
2024-07-05 10:58:01 -05:00
ergo720
937ab9e1c2
Fixed a bug in KeSetBasePriorityThread
2024-07-05 10:58:01 -05:00
ergo720
8006f55cf3
Merge many different periodic events in a single thread, instead of each having its own busy loop
...
This merges vblank, ohci's eof, pit interrupt, dsound sync and async workers, nvnet packet processing and system interrupt
2024-07-05 10:58:01 -05:00
ergo720
1828ddfd6f
Merge lle and hle vblank routines in a single thread
2024-07-05 10:58:00 -05:00
ergo720
bc42cfaa6b
Removed unnecessary lock in the interrupt thread
2024-07-05 10:58:00 -05:00
PatrickvL
b1235b7733
Merge pull request #2458 from LukeUsher/fix-compilation-vs2022
2024-07-05 10:41:18 -05:00
Luke Usher
1615ecc976
fix the build on vs2022 17.9.1
2024-05-22 12:46:03 +01:00
Luke Usher
0007d20b03
Merge pull request #2445 from medievil1/fog-stuff
...
fog stuff
2024-05-22 12:42:07 +01:00
RadWolfie
bfb10092c0
Merge pull request #2451 from RadWolfie/fix-hardware-model
...
Fix hardware model conversions + use respective hardware model based on console type
2024-02-08 12:48:46 -06:00
Luke Usher
f5b4878245
Merge pull request #2452 from medievil1/my-master
...
fix incorrect setting in pixel shader template
2024-02-04 19:47:12 +00:00
RadWolfie
4174fbc23f
review remarks
2024-02-04 13:29:40 -06:00
medievil1
0560ed6955
change clamp to saturate in shader templates
...
per discussions
2024-02-03 14:46:54 -05:00
medievil1
875015164c
fix incorrect setting in pixel shader template
...
it should be normal2, not normal 3...
PS_TEXTUREMODES_DOT_RFLCT_DIFF(ts) works in conjunction with #define PS_TEXTUREMODES_DOT_RFLCT_SPEC(ts)(after) and PS_TEXTUREMODES_DOTPRODUCT(ts)(before)
dotproduct uses it's own product/normal, dot_rflct uses dotproduct and it's own, and dot_spec uses the previous 2 and it's own ... this corrects light reflection on the floor in Halo
2024-02-03 14:38:16 -05:00
medievil1
aedb5ba87b
address review comment
...
remove PB pr sampling adjustments
2024-02-03 12:08:00 -05:00
RadWolfie
e5dcdebe7f
device: corrected conversions based on hardware model
2024-02-03 02:45:37 -06:00
medievil1
ad0b8340da
change flow of fog table/enable
...
per Jack, change flow to :
if fog is disabled, avoid table code and just set fogFactor to 1
2024-01-24 00:34:47 -05:00
medievil1
7298b6c4dc
address review comment
...
fix inadvertently not changing pixel shader pass to template c reg info
2024-01-23 21:45:15 -05:00
medievil1
b20db36e15
fix template formatting
...
hopefully it all matches now
Revert "fix template formatting"
This reverts commit 79aa4436ef330e8754755044ce3ebf9549c557ae.
fix template formatting
hopefully it all matches now
3rd times a charm hopefully...lol
2024-01-21 14:52:36 -05:00
medievil1
a03d50df56
add FF fog move to Pixelshader
2024-01-20 15:14:02 -05:00
medievil1
0e25897f77
address review comments
2024-01-19 00:56:03 -05:00
medievil1
c6049b768c
address review comments
2024-01-18 09:30:07 -05:00
medievil1
399baccadb
fog stuff
...
fix no fog issue which was incorrectly passing data into iFog instead of 1 when fog was disabled
testing a move to pixel shader
adjust passthrough template
for move to pixel shader
remove printf
2024-01-18 01:29:15 -05:00
ergo720
3edc388abf
Merge pull request #2444 from RadWolfie/update-time-api
...
Fix RtlTimeFieldsToTime and RtlTimeToTimeFields implements
2024-01-15 15:38:03 +01:00
RadWolfie
796e8d2beb
kernel: change 1000 to MSECSPERSEC
2024-01-15 05:19:57 -06:00
RadWolfie
282c5f5622
kernel: RtlTimeToTimeFields no longer need to be logged
2024-01-13 16:25:58 -06:00
RadWolfie
8e5b27d054
kernel: fix RtlTimeToTimeFields implement to match test results
2024-01-13 16:22:05 -06:00
RadWolfie
b64a3b6faa
kernel: fix comment typo in RtlTimeToTimeFields
2024-01-13 16:18:23 -06:00
RadWolfie
d64e172c9f
kernel: RtlTimeFieldsToTime no longer need to be logged
2024-01-05 01:26:08 -06:00
RadWolfie
d6b96b8ea1
kernel: clean up RtlTimeFieldsToTime bad indents
2024-01-05 01:19:10 -06:00
RadWolfie
131b330a85
kernel: Change RtlTimeFieldsToTime's Time format into more readable math operation
2024-01-05 01:17:43 -06:00
RadWolfie
bf6193202a
kernel: split RtlTimeFieldsToTime range check into their own if statements for clear reading
...
Plus fixed a bug for leap year's day range
2024-01-05 01:15:15 -06:00
RadWolfie
06c28a847e
Revert "Merge pull request #2441 from ergo720/time_fix"
...
This reverts commit 8cc9c73f58
.
2024-01-05 00:33:34 -06:00
PatrickvL
8cc9c73f58
Merge pull request #2441 from ergo720/time_fix
2023-12-30 09:53:52 +01:00
ergo720
2452965580
Fixed a bug in RtlTimeFieldsToTime
2023-12-29 14:00:15 +01:00
PatrickvL
eddc14e151
Merge pull request #2439 from NZJenkins/hotload_shaders
2023-12-29 11:43:42 +01:00
Luke Usher
31ff15ba1d
Merge pull request #2440 from RadWolfie/fix-xkts-issues
...
Fix Xbox Kernel Test Suite issues discovered
2023-12-21 15:29:44 +00:00
RadWolfie
4d9151ca26
rtl: remove unnecessary double setter in RtlInitUnicodeString
2023-12-20 09:31:35 -06:00
RadWolfie
1f1d1ac631
rtl: fix RtlCompareString and RtlCompareUnicodeString to match with kernel test suite
2023-12-17 20:50:46 -06:00
RadWolfie
e5043dbc05
fix UNICODE_STRING's Buffer variable type issue
2023-12-17 20:49:10 -06:00
RadWolfie
a2fb41856d
kernel: fix RtlWalkFrameChain according to xbox kernel test suite failed test
2023-12-17 19:02:20 -06:00