PatrickvL
b01b1879f1
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master'
2017-05-14 00:05:07 +01:00
PatrickvL
4fbfc0b12b
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into space
2017-05-14 00:01:36 +01:00
PatrickvL
a4d692daa7
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into space
2017-05-14 00:00:41 +01:00
Luke Usher
2ef0c0638f
Update README.md
2017-05-13 23:10:40 +01:00
PatrickvL
b7b5b1e4eb
Merge pull request #463 from LukeUsher/use-avx
...
Enable AVX support
2017-05-14 00:09:37 +02:00
Luke Usher
81725e5f47
Enable AVX support, this should bring a significant speed increase in some titles.
...
NOTE: This reduces the number of processors that are compatible with Cxbx-Reloaded, see the list linked in README.md for details
2017-05-13 23:04:19 +01:00
PatrickvL
3a7156b3df
Merge pull request #462 from LukeUsher/less-deprecated-d3d-libs
...
Removed deprecated dinput and dsound libraries.
2017-05-13 23:58:56 +02:00
Luke Usher
a5c4ae01a6
Removed deprecated dinput and dsound libraries.
...
The up-to-date versions in the Windows SDK will now be used instead
2017-05-13 22:40:26 +01:00
PatrickvL
9d3a8e237e
Merge pull request #461 from LukeUsher/Surface_GetDesc
...
Re-enable D3DSurface_GetDesc patch
2017-05-13 17:52:59 +02:00
Luke Usher
f0f810e1ec
Re-enable D3DSurface_GetDesc patch
...
This should work unpatched but we are not quite there yet.
Patching this fixes missing graphics in X-Marbles and stops ZSNESBOX from crashing instantly.
Possibly solves other issues too!
2017-05-13 16:27:36 +01:00
Luke Usher
2d720a1699
Merge pull request #460 from LukeUsher/input-tweaks
...
Input Tweaks
2017-05-13 00:24:59 +01:00
Luke Usher
4150a2be2a
Input Tweaks
...
Dashboard now correctly detects 1 single controller, should also improve controller issues in other titles too.
Note: Things still aren't entirely correct, but it's getting better!
2017-05-13 00:23:47 +01:00
PatrickvL
1c3e61864e
Added log rendering for D3D Usage flags
2017-05-12 11:58:16 +02:00
PatrickvL
0a67cd3eda
Added log rendering for D3DLOCKED_RECT and RECT
2017-05-12 11:36:49 +02:00
Luke Usher
14e59d6e47
Merge pull request #459 from PatrickvL/space
...
Various D3D improvements
2017-05-12 10:30:12 +01:00
PatrickvL
51300691c7
Added log rendering for D3DCUBEMAP_FACES
2017-05-12 11:28:58 +02:00
PatrickvL
47759050bf
Added log rendering for a few more D3D types
2017-05-12 11:23:12 +02:00
PatrickvL
c41cf6435b
Fixed linking of new D3D log renderings (thanks Luke!)
2017-05-12 09:35:52 +02:00
PatrickvL
ab1f70459d
Started Dxbx back porting of EmuMappedD3DRenderState
...
The end goal is to support the maximum amount of mappable render states
per XDK version, in a generic way, hopefully eliminating ClampToEdge
errors (like reported in issue #454 )
2017-05-11 18:28:34 +02:00
PatrickvL
44fcf85bb9
Added (disabled) log rendering for X_D3DResource
2017-05-11 17:20:32 +02:00
PatrickvL
4a3589549f
Fixed Release build warning
2017-05-11 15:50:32 +02:00
PatrickvL
9057a39836
Fixed Release build
2017-05-11 15:50:20 +02:00
PatrickvL
8525417159
Renamed (and moved around) some logging defines
...
Also fixed rendering of LAUNCH_DATA_PAGE.
Alas, rendering of D3DVIEWPORT8 doesn't compile
2017-05-11 15:44:38 +02:00
PatrickvL
59de218512
D3D error rendering compiles (thanks to Luke)
2017-05-11 15:42:41 +02:00
PatrickvL
9e506ed462
Manually select D3D error string
2017-05-11 13:32:35 +02:00
PatrickvL
3297c720d0
Started extended logging of D3D8 types
2017-05-11 12:01:53 +02:00
PatrickvL
9555158186
Centralized logging defines
2017-05-11 11:24:05 +02:00
PatrickvL
8d38333d82
Standardized logging for remaining EmuD3D functions
2017-05-11 11:02:13 +02:00
PatrickvL
94918e8b76
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into space
2017-05-11 09:31:20 +02:00
PatrickvL
ea6a7833a9
Fixed all compile errors but 1 (error C3861: 'DXGetErrorString8A': identifier not found)
2017-05-11 09:13:27 +02:00
PatrickvL
f9ed0af0aa
WIP, doesn't compile, various D3D improvements
...
EmuUnswizzleTextureStages fix : null textures mustn't abort loop
Standardized logging some more
Always check and log return result (using DEBUG_D3DRESULT).
2017-05-09 11:50:04 +02:00
PatrickvL
44b2369573
Comments and renames
2017-05-08 18:18:20 +02:00
PatrickvL
98bada83a6
Added and used IsXboxResourceLocked
...
Also, added (for now unused) IsYuvSurface and IsXboxResourceD3DCreated
2017-05-08 18:02:56 +02:00
PatrickvL
cbb69113ab
Consolidated D3DSurface_GetDesc OOVPA into one version
2017-05-08 17:28:06 +02:00
PatrickvL
ccb549fa90
Small FormatInfos update
2017-05-08 17:03:23 +02:00
PatrickvL
b82e8382e8
Prefix all new host resource variables with pNewHost*
...
Also for existing resources, precede every lock with an unlock.
2017-05-08 16:41:20 +02:00
PatrickvL
bf2ac9cf68
Get2DSurfaceDesc ignores host resource now
...
This patch can be DISABLED once CreateDevice is unpatched (because this
reads Data from the first Xbox FrameBuffer)
2017-05-08 14:22:16 +02:00
PatrickvL
b2c3f5141a
Added EmuXBFormatIsRenderTarget and EmuXBFormatIsDepthBuffer
2017-05-08 14:21:09 +02:00
PatrickvL
ecb6ce1bcc
Added GetXboxPixelContainerDimensionCount, GetXboxD3DResourceType and CxbxGetPixelContainerMeasures
2017-05-08 13:53:05 +02:00
PatrickvL
b51dbb4fc4
Renamed GetXboxResourceType into GetXboxCommonResourceType
2017-05-08 13:44:47 +02:00
PatrickvL
71e507792a
Unpatched D3DTexture_GetLevelDesc and D3DSurface_GetDesc
...
Both just call Get2DSurfaceDesc
2017-05-08 13:43:20 +02:00
PatrickvL
53ec966104
Removed Get2DSurfaceDescD (as it has no OOVPA anyway)
2017-05-08 12:44:31 +02:00
Luke Usher
3e5da285cf
Merge pull request #453 from PatrickvL/master
...
Texture updates
2017-05-08 08:22:43 +01:00
PatrickvL
bc1bd3d0a9
Merge pull request #12 from PatrickvL/texture_updates
...
Texture updates
2017-05-08 08:49:47 +02:00
PatrickvL
dcbe0a71ae
Check for X_D3DFMT_YUY2 before other formats
2017-05-08 08:46:27 +02:00
PatrickvL
ed00dc1c29
Applied GetXboxResourceType two more times
2017-05-08 08:24:23 +02:00
PatrickvL
37ff793e76
Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded
2017-05-08 08:16:29 +02:00
PatrickvL
e73131d915
Merge remote-tracking branch 'refs/remotes/origin/master' into texture_updates
2017-05-08 07:54:42 +02:00
PatrickvL
e635445d44
Restored accidentally delete character
2017-05-07 16:33:52 +01:00
PatrickvL
9309575e7f
Disabled D3D_MakeSpace patch, let D3D_MakeRequestedSpace return a buffer
...
This buffer will receive push-buffer commands, pushed by unpatched
functions. For now we'll ignore them, but at least this prevents fatal
errors. Later we can execute these pushbuffer commands too.
Also prevented memory leaks in BeginPush / EndPush
2017-05-07 16:16:20 +01:00