Commit Graph

759 Commits

Author SHA1 Message Date
Echelon9 72ba307f8f Modest typo corrections 2014-06-11 21:35:23 +10:00
Echelon9 1fd52aebd0 Clarify and cleanup LDT initialisation and MAGIC_NUMBERS. Courtesy of haxar 2014-06-11 21:26:52 +10:00
Echelon9 43c266dc58 Avoid heap double free is PsCreateThread() proxy 2014-05-27 22:56:59 +10:00
Echelon9 595e35ce71 Ensure sufficient stack space for EmuWarning(). The previous amount could be routinely overrun with long pixel shader error messages. 2014-05-25 16:51:08 +10:00
Echelon9 6d47a8ad0e Correct documentation within PixelShader.cpp 2014-05-25 16:26:28 +10:00
Echelon9 c0cfa030d6 Improve documentation of D3DPOOL_DEFAULT 2014-05-25 16:13:47 +10:00
Echelon9 41bbfdd0af During CreateDevice only clear depth buffer if present, to avoid a DirectX Debug Runtime error report 2014-04-06 20:17:56 +10:00
Echelon9 aee7e41ff1 Permit the DirectX Debug Runtime on strict error reporting to pass an early issue releasing D3DDevice surfaces 2014-04-05 23:19:36 +11:00
Echelon9 ce0e2e00ed D3D8::IsBusy support for XDK 4432 (based on XDK 4361) 2014-03-30 23:46:07 +11:00
Echelon9 9967b72d83 Fix MSVC warning: Invalid data: accessing 'm_DeviceName', the readable size is '6240' bytes, but '-240' bytes might be read 2013-09-15 12:49:36 +10:00
Echelon9 21aeffd6c6 Do not needlessly clear Z Buffer in D3DDevice::Clear() 2013-08-21 00:36:47 +10:00
Echelon9 4ccf839d87 Clarify flags to Direct3D::CreateDevice() and close out a debug DirectX runtime warning on Debug builds (it will be slower, so don't use on Retail builds) 2013-08-20 22:41:47 +10:00
Echelon9 5008fd3857 Add more general support for D3DDevice::DeleteVertexShader() back to XDK 3925. This is a function Xeon supported in Halo1 but which Cxbx was yet to support 2013-08-18 16:40:17 +10:00
Echelon9 7dc6183ee8 Properly track size of X_D3DPALETTE used in D3DDevice::SetPalette(). Later read in Register() functions 2013-08-15 16:32:59 +10:00
Echelon9 4c0968091f Tweak support for Direct3DPalette::Lock() where no Flags set 2013-08-15 16:05:16 +10:00
Echelon9 81ffbfc481 Cleanup XGetLaunchInfo() 2013-08-15 13:28:16 +10:00
Echelon9 9531e7b815 Improve support for DirectSound::CDirectSound::CreateSoundStream() on XDK 5849 2013-08-15 10:10:53 +10:00
Echelon9 ab1b26f47e Link KfRaiseIrql in KernelThunk table, to placeholder implementation 2013-08-14 10:51:56 +10:00
Echelon9 b9be3bf9ea Resolve copy paste error in XACT::EngineDoWork() on XDK 4627 2013-08-14 10:50:19 +10:00
Echelon9 b59e0a94b3 Support D3DDevice::GetDeviceCaps() on XDK 5558 2013-08-13 21:24:25 +10:00
Echelon9 dc1a9901fd Improve support for D3DDevice::CreatePixelShader() 2013-08-13 20:52:03 +10:00
Echelon9 b48d6617d8 Adjust D3DDevice::CreatePixelShader() OOVP for XDK 5558. I believe the prior format would have never worked. It was last modified by blushogun prior to April 2010 2013-08-13 18:52:28 +10:00
Echelon9 cacbfdb0a9 Support XAPI::XRegisterThreadNotifyRoutine() on XDK 5558 2013-08-13 17:26:43 +10:00
Echelon9 b53deeeab6 In D3DResource:AddRef() ensure no null dereference if AddRef() called on a null object, as Colin McRae Rally 2005 appears to do twice 2013-08-10 17:32:05 +10:00
Echelon9 76854394da Tweak support for D3D8::SetRenderState_Dxt1NoiseEnable() on XDK 5344 2013-08-10 16:57:40 +10:00
Echelon9 4256b6705f Broaden support for D3D8::SetRenderState_LineWidth() given one pattern is used across a number of XDKs 2013-08-10 15:41:48 +10:00
Echelon9 c9353992ab Tweak support for D3D8::SetRenderState_MultiSampleRenderTargetMode() in XDK 5344. 5344 should really have own OOVP file given differences found to date -- they are currently aliased -- but duplicating the functions for now is fine 2013-08-10 15:32:53 +10:00
Echelon9 18355b46da Tweak support for D3D8::SetRenderState_MultiSampleMode() under XDK 5344, to not use an Xref (was troubesome) 2013-08-10 15:17:29 +10:00
Echelon9 8f3ca9e065 Support D3D8::SetRenderState_TwoSidedLighting() in XDK 5344 2013-08-10 13:55:59 +10:00
Echelon9 c4d56a1237 Address duplicate OOVP pattern matching, to resolve problems with Futurama. This may adversely effect Whacked support 2013-08-10 13:27:18 +10:00
Echelon9 cbaad20f47 Better support D3Device::DeleteStateBlock() on XDK 5849 onwards 2013-07-24 23:31:07 +10:00
Echelon9 0496a6f07f Support D3Device::Release() in XDK 5849 2013-07-22 23:15:47 +10:00
Echelon9 b57803a20a Basic support for MmUnmapIoSpace (Kernal API 0xB7 / 183) 2013-07-22 19:02:58 +10:00
Echelon9 3fbc55978a Basic implementation of MmMapIoSpace (Kernel API 0xB1 / 177) 2013-07-22 18:41:57 +10:00
Echelon9 17f3e3279f Support D3D::Reset() in XDK 5849 2013-07-22 16:59:06 +10:00
Echelon9 bece354615 Support D3Device::InsertCallback() (basic) on XDK 5849 2013-07-22 14:51:14 +10:00
Echelon9 e43e20129b Support DSBPLAY_SYNCHPLAYBACK flag to SoundBuffer::Play() 2013-07-22 14:22:12 +10:00
Echelon9 d5834a5e3d Support additional D3DLOCK_NOOVERWRITE flag in D3DTexture::LockRect() 2013-07-22 13:32:07 +10:00
Echelon9 eb27867dc1 Initial support for D3DDevice::SetDepthClipPlanes() in XDK 5849 2013-07-22 11:36:41 +10:00
Echelon9 60a46b4d34 Support SetRenderState_LogicOp() in XDK 5849 2013-07-22 01:32:44 +10:00
Echelon9 1a65e0fbb4 Support D3Device_EnableOverlay() in XDK 5849 2013-07-22 01:14:34 +10:00
Echelon9 65f5b59fec Support D3D8_SetTextureState_ColorKeyColor() in XDK 5849 2013-07-22 01:00:00 +10:00
Echelon9 4f8b5d0d32 Support D3D8_SetRenderState_SampleAlpha() in XDK 5849 2013-07-22 00:42:56 +10:00
Echelon9 2f3ecd0d92 Support D3D8_SetRenderState_LineWidth() in XDK 5849 2013-07-22 00:17:15 +10:00
Echelon9 af9f08989e Support SetSwapCallback() in XDK 5849 2013-07-21 19:40:03 +10:00
Echelon9 c5e7977332 Support GetGammaRamp() in XDK 5849 2013-07-21 18:26:40 +10:00
Echelon9 84e65dbfd1 NtCreateFile per MSDN should have the EALength attribute set to zero, not null 2013-05-05 16:31:59 +10:00
Echelon9 73989983f8 Fully document the remaining unimplemented kernel calls, saves searching disparate sources 2013-05-05 14:55:51 +10:00
Echelon9 026cb52427 Resolve within IoCreateFile that the return value has been set previously to STATUS_SUCCESS on line 1703 2013-05-05 12:04:21 +10:00
Echelon9 ae824a92f6 SizeOfImage fix from SoullessSentinel. Thanks. 2013-05-05 11:32:15 +10:00