patrickvl
584985bb3a
D3D : DrawIndexedVerticesUP fallbacks for two unsupported primitive types
2018-05-09 23:39:53 +02:00
PatrickvL
4c656faad4
Merge pull request #1146 from jackchentwkh/master
...
Fix RalliSpor crash by skip QUADLIST rendering with index buffer.
2018-05-09 22:20:47 +02:00
jackchentwkh
b521a11bb1
Skip unsupported Primitive Type rendering.
...
add more info with EmuWarning for the ease of future debugging.
2018-05-10 03:16:18 +08:00
PatrickvL
4be153164f
Merge pull request #1144 from jarupxx/LTCG_patch
...
D3D : Copy over from Standard functions to LTCG optimized functions
2018-05-09 14:22:11 +02:00
jarupxx
5dc9d5310e
D3D : Copy over from Standard functions to LTCG optimized functions
...
due lost parameter in EAX.
- D3DDevice_LoadVertexShader_4
- D3DDevice_SetTextureState_BorderColor_4
- D3DDevice_SetStreamSource_8
Rewrite functions
- D3DDevice_SelectVertexShader_4
Also add functions
- D3DDevice_LoadVertexShader_0
- D3DDevice_SetTextureState_TexCoordIndex_0
- D3DDevice_SetTextureState_ColorKeyColor_4
2018-05-09 20:58:46 +09:00
Luke Usher
b62af3df20
Merge pull request #1143 from jackchentwkh/master
...
skip push buffer rendering when there is no vertex data or possible non-FVF detected.
2018-05-08 13:17:53 +01:00
jackchentwkh
b026952740
Skip rendering when dwCount==0 or possible non-FVF push buffer
2018-05-08 18:56:24 +08:00
PatrickvL
454742dc6e
Merge pull request #1142 from jackchentwkh/master
...
Only warning instead of shut down when possible non-FVF push buffer detected
2018-05-08 12:36:40 +02:00
jackchentwkh
c3cc70c6cf
only warning instead of shut down when possible non-FVF push buffer detected.
2018-05-08 18:21:06 +08:00
PatrickvL
142e62ba95
Merge pull request #1140 from jarupxx/Leave_LOG_TEST_CASE
...
Leave LOG TEST_CASE on EndVisibilityTest_0
2018-05-07 11:49:19 +02:00
jarupxx
03921a4b2a
Leave LOG TEST_CASE on EndVisibilityTest_0
...
Valid parameter is passed in EAX
2018-05-07 18:28:13 +09:00
patrickvl
9917594c76
Fixed linker error under Release builds (thanks to Radwolfie's help)
2018-05-06 04:36:59 -05:00
patrickvl
579bb0a898
Avoid linker error under Release builds (but still needs a fix)
2018-05-06 04:36:59 -05:00
PatrickvL
7a76fd4473
D3D : Log host D3DCaps unconditionally
2018-05-06 04:36:59 -05:00
PatrickvL
ef9c36346d
D3D : Log all host D3DCaps members to string
2018-05-06 04:36:59 -05:00
PatrickvL
5233fe8ccc
D3D : Dump host D3DCaps (initial commit - there's more to be rendered)
2018-05-06 04:36:59 -05:00
Luke Usher
a3e37583f1
Merge pull request #1131 from PatrickvL/Avoid_CreateTexture_crash
...
Prevent (one) CreateTexture crash
2018-05-05 16:33:01 +01:00
PatrickvL
4f8543065a
D3D : Avoid a crash when creating a fallback texture instead of something that was supposed to become a DepthStencil.
...
This occurred when Panzer Dragoon ORTA goes in-game for example.
2018-05-04 17:48:07 +02:00
Luke Usher
998a862791
Merge pull request #1127 from LukeUsher/fix-createdevice-fail-d16
...
Fix an issue where AutoDepthStencilFormat of D16_LOCKABLE caused CreateDevice to fail
2018-05-03 23:20:09 +01:00
Luke Usher
564826e38d
Fix an issue where AutoDepthStencilFormat of D16_LOCKABLE caused CreateDevice to fail
2018-05-03 23:17:44 +01:00
Luke Usher
4cc918881d
Merge pull request #1126 from LukeUsher/change-default-rdtsc
...
Make new RDTSC patch the default
2018-05-03 21:35:37 +01:00
Luke Usher
e54e7fbfcf
Make new RDTSC patch the default, the old method is optional
2018-05-03 21:23:09 +01:00
Luke Usher
07bad7b1c6
Merge pull request #1123 from jackchentwkh/RDTSC-Patch
...
Repropose RDTSC patch hack
2018-05-03 18:55:49 +01:00
Luke Usher
a9f81d778c
Merge pull request #1125 from jackchentwkh/D3DDevice_BeginPush_two_arg
...
Quick Fix for 4531 BeginPush OOVPA
2018-05-03 18:54:53 +01:00
jackchentwkh
f656648c2c
Add BeginPush OOVPA for 4531, tested with crazi taxi 3.
...
add 4531 to BeginPush OOVPA registration.
revise BeginPush2 loging message.
2018-05-04 01:02:45 +08:00
Luke Usher
45b4a62b65
Merge branch 'master' into RDTSC-Patch
2018-05-03 16:53:33 +01:00
Luke Usher
0d8f1dd269
Merge pull request #1124 from jackchentwkh/D3DDevice_BeginPush_two_arg
...
Add D3DDevice_BeginPush2 patch for XDK 4134
2018-05-03 16:43:03 +01:00
jackchentwkh
3b8250c598
Add more remarks.
...
we shall use scaled PerformanceCounter all the time no matter we patched the rdtsc or not.
2018-05-03 23:40:27 +08:00
jackchentwkh
cd60b7bbf8
put deleted code back with remarks.
2018-05-03 22:59:13 +08:00
jackchentwkh
c5fb332601
add D3DDevice_BeginPush2 for XDK4134
...
Rallisport uses this version.
2018-05-03 21:55:34 +08:00
Luke Usher
fe464da7fd
Merge pull request #1109 from PatrickvL/viewport_scaling
...
Viewport scaling
2018-05-03 14:06:23 +01:00
jackchentwkh
557ccc13a0
restore hack option
...
only patch rdtsc when the hack option is selected
2018-05-03 20:38:34 +08:00
jackchentwkh
e90c2f659d
Using pattern matching for rdtsc search.
...
exclude certain false positive.
2018-05-03 19:51:33 +08:00
patrickvl
ccd82a8e0f
HLE : Configurable viewport scaling (as a hack)
2018-05-02 19:10:03 +02:00
Luke Usher
7015aaa07b
Return => Continue
2018-05-02 21:51:07 +08:00
Luke Usher
e6235bb013
Avoid false positives using method derised by jackchen
2018-05-02 21:51:07 +08:00
Luke Usher
3e516f6b0d
Oops, don't break after finding one rdtsc in a section
2018-05-02 21:51:07 +08:00
Luke Usher
8f63dffd98
Fix off-by-one error in rdtsc patch
2018-05-02 21:51:07 +08:00
Luke Usher
7f97ebf71f
Fix false positive detecion in ,data segment in some titles
2018-05-02 21:51:07 +08:00
Luke Usher
e53213f056
Patch rdtsc instructions
2018-05-02 21:51:07 +08:00
Luke Usher
d24b7e54fd
Merge pull request #1116 from jarupxx/doc
...
Added D3D8LTCG Patterns to documentation
2018-05-02 13:57:06 +01:00
jarupxx
75a9fcac6a
Added D3D8LTCG Patterns to documentation
...
This archive contains most of D3D8LTCG Library for XDK 3925, 4039, 4432, 4531, 4627, 4721, 4831, 4928, 5028, 5120, 5233, 5344, 5455, 5558, 5788, 5849
2018-05-02 21:52:53 +09:00
PatrickvL
c7c964394b
Merge pull request #1113 from jackchentwkh/master
...
RAW pushbuffer handling improve
2018-05-01 22:18:06 +02:00
jackchentwkh
f88ed6f7fd
Fix method 1800
...
Restore the mis-deleted pIndexData initiation.
Correctly calculate dwCount with 16 bit element.
NO_INCREMENT flag implementation (by guess, ha!)
2018-05-01 23:13:53 +08:00
PatrickvL
7ac82d5de1
HLE : GetViewport scales host viewport back to Xbox dimensions (some titles might get less confused by the return value)
2018-05-01 17:03:49 +02:00
Luke Usher
6541a62e23
Merge pull request #1114 from RadWolfie/DSound-fixes-part2.1
...
DSound-fixes-part2.1 (performance update)
2018-05-01 06:30:47 +01:00
RadWolfie
270a821ad5
Replace static size to dynamic array for DSound
...
Both DS Buffer and Stream are now using C++ std vector instead of static
size array which is in C.
It should improve performance for lower-end computers. Before, high-end
computers will only notice very light performance impact. Now appear to
be no performance impact unless certain titles are preserving maximum
size.
2018-04-30 23:29:38 -05:00
jackchentwkh
4bb24dc19a
raw pushbuffer process fixup
...
add NOP method support
add TRANSFORM_CONSTANT_LOAD and TRANSFORM_CONSTANT method tips.
improve unkonwn method handling by skipping parameters indicated by dwCount
add pushbuffer size check to prevent overflow.
2018-05-01 10:48:46 +08:00
PatrickvL
43c77a11ec
Merge pull request #1112 from jackchentwkh/pushbuffer_fixup_fix
...
Data address interpretation fix for PushBuffer and Fixup Data
2018-04-30 09:24:06 +02:00
jackchentwkh
5fbb91c6a6
Fix address interpretation of PushBuffer Data and Fixup Data.
...
Include the fixup code without using function
2018-04-30 09:22:39 +08:00