Commit graph

7379 commits

Author SHA1 Message Date
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
RadWolfie
b09d3ca69a kernel: update RtlAnsiStringToUnicodeString to include error log returns 2023-12-17 11:41:12 -06:00
Anthony
684d3338f2 Always copy hlsl files if they changed in the sources
Require files to be explicitly declared in CXBXR_HEADER_EMU in order to be copied
2023-11-18 11:34:05 +13:00
Anthony
ae140bb6bf Copy and install hlsl files in the cxbx project 2023-11-16 23:00:18 +13:00
Anthony
a5b8f15a14 reformat todo 2023-11-12 20:04:39 +13:00
Anthony
2c8a764fc7 Save a backup copy of hlsl files 2023-11-12 19:56:20 +13:00
Anthony
605271245c review comments 2023-11-11 22:19:46 +13:00
Anthony
93e36f7be3 Rename shaderhlsl to shadersources
and updateshaders to update
2023-11-11 01:08:34 +13:00
Anthony
a7bc6a307d fixup remove unused variable 2023-11-11 01:08:34 +13:00
Anthony
7ad047bcea reduce crashing if the shaders are broken and get hotloaded 2023-11-11 01:08:34 +13:00
Anthony
0f21e25d7d Support hotloading pixelshaders 2023-11-11 01:08:34 +13:00
Anthony
79884bdf3d Move shader hlsl management into Shader.cpp
- g_ShaderHlsl keeps track of hlsl
- VS and PS source their hlsl from g_ShaderHlsl
2023-11-11 01:08:34 +13:00
Anthony
260e2fb7c8 Ensure filewatcher is closed if something goes wrong
and avoid creating multiple watchers
2023-11-11 01:08:34 +13:00
Anthony
4d221c3c81 tidy vertex shader loading 2023-11-11 01:08:34 +13:00
Anthony
712d3bee2f move passthrough shader to a file 2023-11-11 01:08:34 +13:00
Anthony
3cd551d827 Reload/recompile vertex shaders hlsl if they change 2023-11-11 01:08:34 +13:00
Anthony
397f33143d Rename VertexShaderSource to VertexShaderCache
because it was a weird name
2023-11-11 01:01:04 +13:00
ergo720
c7e75d7c5c
Merge pull request #2432 from Margen67/ci
CI: Upgrade checkout to v4
2023-10-21 16:19:43 +02:00
NZJenkins
4808be65c4
Slightly reduce build time (#2437) 2023-10-16 08:51:56 +02:00
Margen67
def10ff466
CI: Upgrade checkout to v4 2023-09-20 01:28:42 -07:00
Luke Usher
e1ea10c4cb
Merge pull request #2428 from jackchentwkh/fix_pushbuffer_subroutine
fix COMMAND_TYPE_CALL pushbuffer command handling
2023-09-03 21:45:52 +01:00
Jack Chen
67f21d5c30 reset subr_active flag to indicate we've returned from any COMMAND_TYPE_CALL command.
NV2A used COMMAND_TYPE_JUMP_LONG to return from COMMAND_TYPE_CALL.
Otogi uses lot's of COMMAND_TYPE_CALL, this should inprove the pushbuffer handling.
2023-09-03 20:42:07 +08:00
PatrickvL
971318a89a
Merge pull request #2426 from Margen67/ci
CI: Fix output
2023-07-27 13:56:36 +02:00
Margen67
b62d39da7d CI: Fix output
set-output is deprecated: https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/
2023-07-25 16:46:37 -07:00
Luke Usher
6c530fbf86
Merge pull request #2418 from RadWolfie/fix-reboot-non-ansii-path
kernel: fix non-ansii file path conversion for reboot process
2023-03-13 12:41:17 +00:00
RadWolfie
a8f6d0496e kernel: fix non-ansii file path conversion for reboot process 2023-03-08 18:17:07 -06:00
Luke Usher
6389cb6524
Merge pull request #2417 from RadWolfie/d3d-update
Update XbSymbolDatabase fix and add LTCG patch missing
2023-03-06 14:50:23 +00:00
RadWolfie
ef3439e46f d3d8: fix GTA: SA bug and add LTCG patch for D3DDevice_DrawVertices variant
Plus other variant LTCG patches that only does logging. And symbol renames.
2023-03-06 05:47:39 -06:00
ergo720
ed8a6124e4
Merge pull request #2416 from ergo720/dpc_recursion_fix
Dpc recursion fix
2023-03-02 23:32:30 +01:00
ergo720
b1bd9dd5d0
Merge pull request #2414 from RadWolfie/fix-hacked-ob-handle-return
kernel: fix hacked windows handle check to bypass special handle of current process
2023-03-02 23:04:40 +01:00
ergo720
062752e1a7 Review remarks 2023-03-02 22:53:18 +01:00
ergo720
99ab34ac82 Fixed dpc recursion bug 2023-03-02 14:59:10 +01:00
RadWolfie
8e0df988a8 kernel: fix hacked windows handle check to bypass special handle of current process 2023-03-01 17:04:42 -06:00