Commit Graph

4157 Commits

Author SHA1 Message Date
PatrickvL 94d955c817 Post-rebase fixes 2018-04-12 15:32:39 +02:00
PatrickvL 0b25a736a9 Refactored CreateHostResource 2018-04-12 15:13:06 +02:00
PatrickvL 6b6f6265f5
Merge pull request #1057 from LukeUsher/update-d3d8to9
Update D3D8to9 to latest master
2018-04-12 12:45:50 +02:00
PatrickvL 793354701f
Merge pull request #1056 from PatrickvL/take_two
Take two on preparing unswizzling for 3D
2018-04-12 12:45:17 +02:00
Luke Usher 8464447009 Update D3D8to9 2018-04-12 10:19:39 +01:00
patrickvl 49c670a6cb I was wrong - destination pitch is not a problem, it's just that one unswizzle call must still use source pitches, because it's an intermediate step 2018-04-11 23:51:31 +02:00
PatrickvL 8b16287c73 More notes 2018-04-11 23:51:29 +02:00
PatrickvL 6a4ece315a Unswizzling turns out to require SOURCE pitches (not destination pitches), or otherwise buffer-overflows cause crashes (not to speak : incorrect results).
This does bring to light another special case : when source and destination pitches differ - this isn't handled yet, but at least it now gets logged!
2018-04-11 23:51:29 +02:00
PatrickvL 318f11c4d5 Prevent crash on call to ConvertD3DTextureToARGBBuffer 2018-04-11 23:51:28 +02:00
PatrickvL a488ab0a8a Tuned CxbxGetPixelContainerMeasures, ConvertD3DTextureToARGBBuffer, ConvertD3DTextureToARGB, CreateHostResource 2018-04-11 23:51:28 +02:00
PatrickvL 654dc1bfc9 Added missing depth argument to ConvertD3DTextureToARGBBuffer call, and
reordered unswizzle arguments
2018-04-11 23:51:28 +02:00
PatrickvL e65ac9d3f2 Added missing depth argument to ConvertD3DTextureToARGBBuffer call, and
reordered unswizzle arguments
2018-04-11 23:51:28 +02:00
patrickvl b07a594242 tiny unswizzle update 2018-04-11 23:51:28 +02:00
patrickvl 32ee5388fa Swizzle fix and simplifications 2018-04-11 23:51:28 +02:00
patrickvl ff8fd69ca3 Prepare for unswizzling in 3D 2018-04-11 23:51:27 +02:00
PatrickvL 569bd96c16
Merge pull request #1054 from PatrickvL/turok_ps_fixes
pixel shader conversion enhancement
2018-04-10 16:32:01 +02:00
PatrickvL 6e8248cd5c PixelShader : Repeat cleanup of useless writes and nops until no more modifications are done, so that cascading effects are handled too. 2018-04-09 18:55:40 +02:00
PatrickvL eb900b9713 When entering in-game, Turok generates a few pixel shaders that d3d8to9 marks as invalid. This branch will improve upon them. 2018-04-09 18:33:17 +02:00
PatrickvL 0d1c7c2a80
Merge pull request #1049 from PatrickvL/log_unicode_string
log unicode string as ANSI
2018-04-07 20:22:49 +02:00
patrickvl 65266b19fe log unicode string as ANSI 2018-04-07 20:15:02 +02:00
PatrickvL 077c06ba10
Merge pull request #1048 from x1nixmzeng/fixed-debugger-launch
Fixed CxbxDebugger launch crash
2018-04-07 19:24:50 +02:00
x1nixmzeng ef0681ec55 Enclose all string arguments with quotes 2018-04-07 17:42:38 +01:00
PatrickvL 5ac708d647
Merge pull request #1046 from PatrickvL/more_rtl
Fixed RtlEqualUnicodeString
2018-04-07 18:13:35 +02:00
patrickvl d4b46bc1e0 Fixed RtlEqualUnicodeString 2018-04-07 18:06:24 +02:00
Luke Usher d784ce1f68
Merge pull request #1045 from LukeUsher/various-experiments
Fix indexed drawing in < 4034 for real this time
2018-04-07 11:18:12 +01:00
Luke Usher 63b9e87d39
Merge pull request #1042 from RadWolfie/DSound-fixes-part1.1
DSound fixes part 1.1
2018-04-07 11:17:24 +01:00
Luke Usher eeb2d5264c Fix indexed drawing in < 4034 for real this time 2018-04-07 11:16:59 +01:00
Luke Usher 55afa95b35 Revert "Should've tested better, fix for < 4034 broke other XDKs... Need different solution"
This reverts commit 2cf5077986.
2018-04-07 11:13:29 +01:00
Luke Usher f9a3706c65
Merge pull request #1044 from LukeUsher/various-experiments
Should've tested better, fix for < 4034 broke other XDKs..
2018-04-07 10:46:52 +01:00
Luke Usher 2cf5077986 Should've tested better, fix for < 4034 broke other XDKs... Need different solution 2018-04-07 10:45:23 +01:00
Luke Usher c3557a4e09
Merge pull request #1043 from LukeUsher/various-experiments
Fix broken vertices in titles using XDK < 4034 (And fix frame limiter)
2018-04-07 10:40:54 +01:00
Luke Usher a66e8f4cc1 Fix broken vertices in titles using XDK < 4034 (And fix frame limiter) 2018-04-07 10:38:57 +01:00
RadWolfie 4c2cd0ff35 Update small notes 2018-04-06 19:40:35 -05:00
RadWolfie f04e45b9c3 Implement multi-channels support in HLE DSound 2018-04-06 19:40:35 -05:00
RadWolfie 2f8b67804d Only require header once, not twice. 2018-04-06 19:40:35 -05:00
RadWolfie f3e3dd3c0f Keep it simple 2018-04-06 19:40:35 -05:00
Luke Usher ccb9ae1309
Merge pull request #1040 from LukeUsher/various-experiments
This seems to fix the .bik hang
2018-04-07 01:24:54 +01:00
Luke Usher 2ee582b56c Fix an issue where RtlAnsiStringToUnicornSize would truncate strings 2018-04-07 00:51:26 +01:00
PatrickvL 3c45d90a81
Merge pull request #1041 from PatrickvL/fix_rtl
fixed RtlCompareMemoryUlong
2018-04-07 01:13:28 +02:00
Luke Usher bfa444d55a Fix FPS counter 2018-04-07 00:07:38 +01:00
patrickvl 5caecd2b29 fixed RtlCompareMemoryUlong 2018-04-07 01:03:46 +02:00
Luke Usher f018ca461e Unpatch XAPI QueueUserAPC, seems to fix .bik hang 2018-04-07 00:00:52 +01:00
Luke Usher e0eeb142ca Only Update FPS counter & cap framerate in actual SWAP_PRESENT calls 2018-04-06 23:37:20 +01:00
PatrickvL 436897d0de
Merge pull request #1039 from RadWolfie/Disable-Placeholder-PR
Disable LLE Placeholder Action
2018-04-05 21:27:42 +02:00
RadWolfie d8ccff36f6 Disable LLE Placeholder Action
LLE APU is not implemented yet.
LLE JIT does nothing.

This will help users not to report problems with LLE placeholder
actions.
2018-04-05 10:52:02 -05:00
Luke Usher 587fc9da2d
Merge pull request #1037 from LukeUsher/various-experiments
Change TexCoordIndex error to a warning
2018-04-04 16:56:08 +01:00
Luke Usher c4c1df2f20 Change TexCoordIndex error to a warning 2018-04-04 16:54:15 +01:00
Luke Usher d7c27fdc87
Merge pull request #1035 from PatrickvL/picks
Various HLE D3D improvements
2018-04-04 16:52:15 +01:00
Luke Usher 130e0d91ca
Merge pull request #1036 from LukeUsher/various-experiments
Fix Debug Build & Nullptr Dereference
2018-04-04 16:51:44 +01:00
Luke Usher 5a977e65d6 Fix debug build 2018-04-04 16:37:11 +01:00