Commit Graph

2364 Commits

Author SHA1 Message Date
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 6d2b23a1ca Merge remote-tracking branch 'upstream/master' into oovpa_refactor 2017-04-08 19:42:05 +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
jarupxx 25206d394d Improved the D3DDevice_SetTexture (5344)
Source: Starsky And Hutch (5344)
2017-04-08 18:35:47 +09:00
jarupxx c37de8af14 Improved the D3DDevice_GetBackBuffer2 (5558)
Source: Battlestar Galactica, XIII (5558)
2017-04-08 18:34:17 +09:00
jarupxx e5b722fb65 Improved the D3DDevice_Swap (5233-5849)
Source: All-Star Baseball 2004 (5233), Puyo Pop Fever (5849)
2017-04-08 18:28:10 +09:00
jarupxx dc49376384 Improved the D3DDevice_SetTexture (5233-5849)
Source: All-Star Baseball 2004 (5233), Puyo Pop Fever (5849)
2017-04-08 18:26:02 +09:00
jarupxx c4ecf8bb99 Improved the D3DDevice_DrawVerticesUP (4627-4928)
Source: Turok - Evolution (4627), Whacked! (4831)
2017-04-08 18:16:26 +09:00
jarupxx f1500267ed Improved the D3DDevice_SetRenderState_MultiSampleAntiAlias (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 18:11:19 +09:00
jarupxx 83bfc2766b Improved the D3DDevice_GetDepthStencilSurface2 (4627-4928)
Source: Turok - Evolution (4627), Unreal Championship (4928)
2017-04-08 18:09:07 +09:00
jarupxx 1861012f20 Improved the D3DTexture_GetSurfaceLevel2 (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 18:06:52 +09:00
jarupxx 169452e53c Improved the Get2DSurfaceDesc (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 18:05:33 +09:00
jarupxx 9e5e05e1d7 Improved the D3DVertexBuffer_Lock2 (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 18:03:26 +09:00
jarupxx 536801e7be Improved the D3DDevice_SetRenderState_ZEnable (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 18:02:17 +09:00
jarupxx a0a0cfa724 Improved the D3DDevice_Clear (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 18:01:44 +09:00
jarupxx cfe04b37c5 Improved the D3DDevice_CreateTexture2 (4627-4928)
Source: Turok - Evolution (4627), Namco Museum (4831)
2017-04-08 17:57:41 +09:00
jarupxx c8e50a864a Improved the D3DDevice_GetRenderTarget2 (4627-4928)
Source: Turok - Evolution (4627), Unreal Championship (4928)
2017-04-08 17:51:41 +09:00