Commit graph

7367 commits

Author SHA1 Message Date
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
ergo720
58041c95b4 Clean up unused dpc event member variable 2023-03-01 22:43:42 +01:00
RadWolfie
827a3212f8
Merge pull request #2413 from ergo720/priority_thread
Fixed a bug in KeSetDisableBoostThread
2023-03-01 10:14:34 -06:00
ergo720
d0890d588d Fixed a bug in KeSetDisableBoostThread 2023-03-01 17:10:24 +01:00
Luke Usher
9e9d3f390f
Merge pull request #2412 from ergo720/priority_thread
Fix a priority bug in KeQueryBasePriorityThread and KeSetBasePriorityThread
2023-03-01 16:04:57 +00:00
ergo720
4821a72b6f Set/query the priority of the requested thread, instead of the current one in KeQueryBasePriorityThread and KeSetBasePriorityThread 2023-03-01 16:48:30 +01:00
Luke Usher
bf1483ae56
Merge pull request #2411 from RadWolfie/update-xbsdb
lib: sync XbSymbolDatabase
2023-03-01 09:15:15 +00:00
RadWolfie
b2f05b8b0b lib: sync XbSymbolDatabase 2023-02-27 04:37:02 -06:00
ergo720
111728f170
Merge pull request #2408 from LukeUsher/avoid-region-patching
cxbxkrnl: avoid region patching loaded titles
2023-02-10 18:35:28 +01:00
ergo720
ce05ea1397
Merge pull request #2409 from RadWolfie/fix-emulation-status
Fix false positive emulation is either still running or stopped
2023-02-10 18:17:12 +01:00
RadWolfie
f4488c0270 fix false positive emulation is either still running or stopped 2023-02-10 07:16:12 -06:00
Luke Usher
65a5ad6591 cxbxkrnl: avoid region patching loaded titles
While it sounds ideal from a UX standpoint, region patching does break a number of
titles that would otherwise work.

Instead, show a warning that it may not be compatible with instructions on how to
configure region settings in eeprom.

Allow the user to attempt to run the title anyway, if the game does not do it's own
region checking, it will most likely just work regardless.
2023-02-07 22:08:31 +00:00
RadWolfie
0b695637ce
Merge pull request #2406 from LukeUsher/fix-xbe-version-reporting
xbe: fix version number formatting
2022-11-20 06:24:51 -06:00