Luke Usher
f3e2970b51
Merge pull request #949 from LukeUsher/general-fixes-and-tweaks
...
General fixes and tweaks
2018-02-27 15:06:28 +00:00
Luke Usher
012b586a68
Remove Vertex Shader instructions that access undeclared registers.
...
This allows the shaders to actually compile, rather than being rejected
by the host D3D. This fixes missing vertices in CompressedVertices XDK
sample
2018-02-27 11:33:21 +00:00
Luke Usher
95993202ed
Don't crash when an invalid handle is passed to NtClose
2018-02-26 20:29:20 +00:00
Luke Usher
65e51304dc
Properly map NV2A Bar 1
2018-02-26 20:11:53 +00:00
Luke Usher
279fe68769
This shouldn't be a fatal error
2018-02-26 20:09:19 +00:00
Luke Usher
c027d6a884
Fix a crash when a surface is re-used as a texture by handling the situation when resource type changes
2018-02-26 19:58:20 +00:00
Luke Usher
ccfb5fc3b9
Merge pull request #947 from LukeUsher/vertex-buffer-experiment
...
Introduce GetVertexBufferSize and use it to determine the size of buffers for patching
2018-02-26 11:09:44 +00:00
Luke Usher
78f882241f
Fix debug build
2018-02-26 11:00:53 +00:00
Luke Usher
151c5963ba
GetVertexBufferSize wasn't taking offset into account: This fixes Zapper!
2018-02-26 10:24:31 +00:00
Luke Usher
cc0b075839
Always use the actual stream count, rather than just the streams the shader uses
2018-02-26 08:41:49 +00:00
Luke Usher
3123103b14
Take indices into account when patching streams
2018-02-25 22:10:43 +00:00
Luke Usher
41afd8b878
Use real length for hashing
2018-02-25 17:59:34 +00:00
Luke Usher
d46a1ab27c
Force Rehash if length increases
2018-02-25 12:30:40 +00:00
Luke Usher
979c5c1598
Prevent double hashing when a VertexBuffer is free'd and instantly re-created
2018-02-25 11:37:32 +00:00
Luke Usher
53998f41ed
Tail's Head now renders in Sonic Heroes E3 Demo, Zapper is still broken..
2018-02-25 11:13:12 +00:00
Luke Usher
6c2c3d5fb2
This was causing a crash in Zapper..
2018-02-25 10:55:58 +00:00
Luke Usher
35b61f63b2
Fix an oops: Things are slighty less broken
2018-02-24 21:44:12 +00:00
Luke Usher
fbbb485cd8
With this, things are slightly less broken, dashboard still isn't right...
2018-02-24 21:37:09 +00:00
Luke Usher
a81d620dbc
Use VertexCount not PrimitiveCount here
2018-02-24 19:40:51 +00:00
PatrickvL
d57aa2be23
Merge pull request #945 from LukeUsher/prevent-mapping-mouse
...
Prevent mapping mouse to input
2018-02-24 20:28:06 +01:00
Luke Usher
315c1e93fb
Prevent mapping mouse to input
2018-02-24 19:17:04 +00:00
PatrickvL
c3128fa5fa
Merge pull request #944 from LukeUsher/tweak-partition-formatting
...
Format partitions by emptying the contents rather than deleting the folder
2018-02-24 19:30:50 +01:00
Luke Usher
b0cdc4891a
Format partitions by emptying the contents rather than deleting the folder
2018-02-24 18:19:35 +00:00
Luke Usher
8d3dd84ed9
More tweaks/fixes
2018-02-24 17:43:47 +00:00
Luke Usher
b459843c80
Merge pull request #943 from otnert/removeothers
...
Remove every other mention of Blueshogun from error messages
2018-02-24 17:42:57 +00:00
otnert
88164b8b0f
Remove every other mention of Blueshogun from error messages ( #2 )
2018-02-24 11:56:37 -05:00
Luke Usher
0e546d67cd
Disable MmDeleteKernelStack until we find out why it fails
2018-02-24 10:49:01 +00:00
Luke Usher
1cbf04b635
Prevent Draw..Up from triggering multiple streams errors
2018-02-24 10:48:45 +00:00
Luke Usher
b1affd6b8b
Minor refactor. Zapper still isn't happy
2018-02-24 10:48:45 +00:00
Luke Usher
1685ef4a08
Attempting to remove Vertex Buffer size back
...
Current status: Huge performance increase in many titles
Some titles still render perfectly, or in some cases, better.
Other titles (like Zapper) have very broken graphics
TODO: Investigate/Fix
2018-02-24 10:48:45 +00:00
PatrickvL
c27d3fe403
Merge pull request #941 from otnert/removemessa
...
Remove D3D_BlockOnTime EmuWarning
2018-02-24 07:40:12 +01:00
otnert
e66bbcfbb2
Fix Typo
2018-02-23 20:38:52 -05:00
otnert
6bd1487dcf
Remove D3D_BlockOnTime EmuWarning
2018-02-23 20:33:25 -05:00
PatrickvL
29379d0910
Merge pull request #939 from jarupxx/logging
...
Minor update of logging
2018-02-23 13:56:31 +01:00
jarupxx
3069d35a2a
Fix duplicate identifier at LOG_NOT_SUPPORTED
2018-02-23 19:54:53 +09:00
jarupxx
1a15f402e8
Logging CxbxPopupMessage at release build
2018-02-23 19:53:30 +09:00
Luke Usher
ccad1afc4e
Merge pull request #938 from LukeUsher/master
...
Apply VertexBuffer size hack when hashing
2018-02-22 22:00:47 +00:00
Luke Usher
f68994cbf7
Apply VertexBuffer size hack when hashing
2018-02-22 21:58:32 +00:00
PatrickvL
589edb21be
Merge pull request #936 from ergo720/UEM
...
Fix for issue #931
2018-02-22 20:18:12 +01:00
ergo720
a625345c5f
Fix for issue #931
2018-02-22 15:46:21 +01:00
Luke Usher
9e2c8b196b
Update README.md
2018-02-21 14:20:57 +00:00
Luke Usher
5a622bf1c4
Merge pull request #934 from PatrickvL/nv2a_fixes
...
NV2A : Prevented incorrectly logged "Unknown Graphics Class/Method" messages
2018-02-20 11:06:31 +00:00
PatrickvL
11bcf70d70
NV2A : Prevented incorrectly logged "Unknown Graphics Class/Method" messages.
...
Also some slight optimizations (and one additional, ignored PGRAPH command : SET_FLAT_SHADE_OP)
2018-02-20 10:44:47 +01:00
PatrickvL
c0ca099afb
Merge pull request #932 from x1nixmzeng/constexpr-vs2015
...
Continue to support VS2015
2018-02-19 23:56:30 +01:00
x1nixmzeng
deb8f41515
Continue to support VS2015
2018-02-19 22:54:35 +00:00
Luke Usher
a9f2f78b04
Merge pull request #930 from PatrickvL/nv2a_work
...
NV2A work enabling more OpenGL code
2018-02-19 20:58:25 +00:00
PatrickvL
c101a21240
Merge pull request #929 from LukeUsher/master
...
FileFsSizeInformation should return number of allocation units
2018-02-19 18:12:31 +01:00
PatrickvL
25ee163a86
NV2A : Put remaining gl* calls behind a check for opengl_enabled
2018-02-19 18:08:01 +01:00
PatrickvL
a14f163b2e
NV2A : Always compile in OpenGL calls, but disable them when bLLE_GPU is turned off.
2018-02-19 17:27:25 +01:00
Luke Usher
f4af718179
Oops: FileFsSizeInformation should return number of allocation units, not size in bytes...
2018-02-19 16:22:47 +00:00