Luke Usher
91ce16c023
Merge pull request #363 from LukeUsher/memorymanager-tweaking
...
Fix gamepad sample (and potentially others)
2017-04-12 21:24:56 +01:00
Luke Usher
9df6f3e70c
Fix gamepad sample (and potentially others)
2017-04-12 21:21:05 +01:00
PatrickvL
4dc8409abd
Amendment to PR #357
2017-04-11 15:45:13 +02:00
Luke Usher
6991c09a2e
Merge pull request #357 from PatrickvL/master
...
Color component fixes and FormatInfo code cleanup
2017-04-11 12:06:20 +01:00
PatrickvL
93310eca90
Revert "Documented additional D3D formats for Direct3D 9"
...
This reverts commit a86effda6e
.
2017-04-11 13:00:41 +02:00
Luke Usher
2d4a392896
Alloc zeroed ( #356 )
...
* Fix a crash when MemoryManager::AllocZeroed fails.
Thanks to blueshogun96 for finding this
* Fix accidentally removed memset
* Update MemoryManager.cpp
* Update MemoryManager.cpp
Only one small correction and a few comments for possible future improvements
2017-04-11 11:55:09 +02:00
PatrickvL
ad80ef0b4d
Typo fix
2017-04-11 11:25:41 +02:00
PatrickvL
a86effda6e
Documented additional D3D formats for Direct3D 9
...
Source :
https://msdn.microsoft.com/en-us/library/windows/desktop/bb172558(v=vs.85).aspx
2017-04-11 11:18:21 +02:00
PatrickvL
2a60c17c4e
Compacted FormatInfos table
2017-04-11 11:16:47 +02:00
PatrickvL
695491c97f
Fixed __R5G6B5 component encoding info
...
Also turned two X components into A=255 when converting to ARGB.
2017-04-11 11:04:54 +02:00
PatrickvL
3b4053feb9
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into PatrickvL/master
2017-04-11 09:20:50 +02:00
Luke Usher
8dd3487232
Merge pull request #350 from LukeUsher/master
...
Re-enable patch for XgIsSwizzledFormat.
2017-04-10 20:51:06 +01:00
Luke Usher
c558894876
Re-enable patch for XgIsSwizzledFormat.
...
This fixes texture corruption in X-Marbles, ZSNESBOX and potentially
others.
2017-04-10 20:46:22 +01:00
Luke Usher
9e42bc5517
Merge pull request #348 from PatrickvL/master
...
Conversion of unsupported native formats to ARGB
2017-04-10 16:53:09 +01:00
PatrickvL
69a18dba43
Register Data pointer only for first level
2017-04-10 17:32:34 +02:00
PatrickvL
696d365dc2
Code cleanup
2017-04-10 17:31:59 +02:00
PatrickvL
8d09cbf44c
GetHostResource : Prevent a breakpoint exception for all special resource types
2017-04-10 17:31:32 +02:00
PatrickvL
8fefbd8cd3
D3DResource_Register extended with generic ARGB conversions
...
I haven't been able to test this, because of a lack of software.
This can serve as a basis for all conversions, once all CreateTexture
patches are unpatched, and conversion of textures is centralized.
2017-04-10 17:30:48 +02:00
PatrickvL
319a58b688
Corrected a few format-related typos
...
Also added a few TODO's
2017-04-10 16:29:11 +02:00
PatrickvL
a65d53fe1b
Mapped various FormatInfos from D3DFMT_UNKNOWN to most applicable native format
2017-04-10 16:28:21 +02:00
PatrickvL
9224385bd4
More FormatInfos comments
2017-04-10 16:27:18 +02:00
PatrickvL
1a6e21a3db
Convert X_D3DFMT_LIN_A8 to D3DFMT_A8 (not D3DFMT_L8)
2017-04-10 16:26:55 +02:00
PatrickvL
064dc58257
Updated FormatInfos comments
2017-04-10 16:25:45 +02:00
PatrickvL
b198a94b76
Added EmuXBFormatRequiresConversionToARGB
2017-04-10 16:24:04 +02:00
PatrickvL
b5eb0e7ca2
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into PatrickvL/master
2017-04-10 15:27:12 +02:00
Luke Usher
17fedee8fd
Merge pull request #345 from PatrickvL/master
...
Disabled more patches
2017-04-10 10:55:30 +01:00
PatrickvL
c8ef5bfc41
Merge pull request #347 from jarupxx/Remove-ALIAS-OOVPA
...
Fixed regression in #333
2017-04-10 11:42:08 +02:00
jarupxx
da9b298f84
Merge remote-tracking branch 'upstream/master' into Remove-ALIAS-OOVPA
2017-04-10 18:07:14 +09:00
PatrickvL
698012973c
Disabled patch on Direct3D_CheckDeviceMultiSampleType (renamed from D3D_CheckDeviceMultiSampleType)
2017-04-10 10:38:06 +02:00
jarupxx
fcfb695e92
Fixed up the D3DDevice_Swap (5233-5849)
...
Source: Forza Motorsport
2017-04-10 17:27:51 +09:00
PatrickvL
c7c1ca55ff
Truely disable patches D3DDevice_CreateVertexBuffer, D3DDevice_CreateVertexBuffer2 and XapiFiberStartup
2017-04-10 10:27:44 +02:00
PatrickvL
2a8120201d
Corrections after merge to get everything compiling again
2017-04-10 10:21:09 +02:00
PatrickvL
f23e6c6379
merge
2017-04-10 10:14:35 +02:00
PatrickvL
c7dab2d8ff
Merge pull request #10 from PatrickvL/MorePatchDisabling
...
Disabled more patches
2017-04-10 10:09:09 +02:00
PatrickvL
c6a8b4c598
Truely disabled XGIsSwizzledFormat
2017-04-10 09:28:13 +02:00
PatrickvL
1f25b0a4de
Truely disabled XGetLaunchInfo
2017-04-10 09:26:16 +02:00
PatrickvL
b01f2fe6c4
Truely disabled patches : CreateFiber, DeleteFiber, SwitchToFiber, ConvertThreadToFiber and XapiFiberStartup
2017-04-10 09:24:54 +02:00
PatrickvL
ab7a14b802
Truely disabled XGetDeviceChanges patch
2017-04-10 09:18:00 +02:00
PatrickvL
0ad01c0725
Reviewed disabled DSound patches
2017-04-10 09:17:23 +02:00
PatrickvL
e162730b79
Removed duplicate, DISABLED OOVPA registrations
2017-04-10 09:09:26 +02:00
PatrickvL
05d886e0b4
Truely disabled patches D3D_CheckDeviceFormat, D3DDevice_GetDeviceCaps, IDirect3DResource8_GetType, D3D_GetDeviceCaps, and D3D_GetAdapterIdentifier
2017-04-10 09:09:08 +02:00
PatrickvL
e59bd752c8
D3D_SetPushBufferSize patch disabled everywhere
2017-04-10 08:44:32 +02:00
PatrickvL
7760a7dbb6
Merge pull request #334 from jarupxx/Gauntlet
...
Added the timeSetEvent/timeKillEvent for Gauntlet
2017-04-09 16:45:40 +02:00
Luke Usher
859b9d8657
Merge pull request #333 from jarupxx/Remove-ALIAS-OOVPA
...
merged ALIAS OOVPA with multiple patterns into one
2017-04-09 13:23:29 +01:00
jarupxx
6e7b9e41f6
Added the timeSetEvent/timeKillEvent for Gauntlet
2017-04-09 21:00:44 +09:00
jarupxx
4fa8e2d31a
Merge remote-tracking branch 'upstream/master' into Remove-ALIAS-OOVPA
2017-04-09 20:59:03 +09:00
Luke Usher
635dbcb547
Merge pull request #331 from LukeUsher/master
...
Fix a crash when a titles calls Resource_Release on a palette.
2017-04-08 20:45:41 +01:00
Luke Usher
2e4bd995ba
Fix a crash when a titles calls Resource_Release on a palette.
...
Gauntlet now shows a splash screen rather than crashing instantly
2017-04-08 20:30:01 +01:00
Luke Usher
f4354791dd
Merge pull request #330 from LukeUsher/2017-04-07
...
Implement KeBugCheck
2017-04-08 19:37:13 +01:00
jarupxx
b5925d175e
Improved the D3DDevice_CreateTexture2 (5233)
...
Source: All-Star Baseball 2004
2017-04-08 19:03:55 +09:00