Commit graph

138 commits

Author SHA1 Message Date
Echelon9
bf70d51391 Fix initializer order for Error() object.
clang++ -g -O2 -Wall -I../../src -I../../src/Common/Linux -I../..src/Linux -o ../../src/Common/OpenXDK.o -c ../../src/Common/OpenXDK.cpp
In file included from ../../src/Common/OpenXDK.cpp:34:
In file included from ../../src/Common/Xbe.h:37:
../../src/Common/Error.h:54:19: warning: field 'm_szError' will be initialized
      after field 'm_bFatal' [-Wreorder]
        Error() : m_szError(0), m_bFatal(false) { }
                  ^
1 warning generated.
2015-10-30 02:43:13 +11:00
Echelon9
57c56377f0 Add XDK 4361 D3DDevice_DeleteStateBlock() and Direct3DDevice8::SetVerticalBlankCallback() 2015-10-26 02:14:14 +11:00
Echelon9
84988b2426 Handle invalid resources passed to Direct3DTexture8_GetSurfaceLevel() 2015-10-26 02:12:06 +11:00
Echelon9
151bc7ebc2 Remove redundant (older) VertexShader.cpp. File is in Git history if required. 2015-10-25 23:36:03 +11:00
Echelon9
e8c878c1f4 Remove work in progress alternative EmuFS.cpp 2015-10-25 22:20:20 +11:00
Echelon9
08b11f6e14 Fix typo in pixel shader logging. No expected effect on performance or compatibility. 2015-03-30 22:50:38 +11:00
Echelon9
311b54d85b Add support for RtlFreeAnsiString (Kernel API 0x11E / 286) 2015-03-29 21:28:50 +11:00
Echelon9
f477b4425d Add support for RtlInitUnicodeString (Kernel API 0x122 / 290) 2015-03-29 20:58:57 +11:00
Echelon9
26193846af This typo may have lead to limited pixel shader issues 2015-03-29 19:11:05 +11:00
Echelon9
f08804de22 Address Issue #12 - Improve emulated Direct3DDevice::Clear() calls when render target does not have an attached depth buffer 2014-07-14 18:39:20 +10:00
Wayo
110e561605 Added support for GetCreationParameters() in the HLEDatabase on titles built with the 4361 version of the D3D library. 2014-06-24 15:38:20 +02:00
Echelon9
56e66cda9f Fix Issue #9: Support SetThreadPriority() via Ntdll call pass-through 2014-06-23 22:30:11 +10:00
Echelon9
bba286cf5f Fix Issue #6: Support GetOverlayUpdateStatus() on 5659 2014-06-15 12:34:15 +10:00
Echelon9
0a4e72a794 Fix Issue #5: Support EnableOverlay() on 5659 and 5558 2014-06-15 12:07:10 +10:00
Echelon9
2863919b5a Fix Issue #4: Support DrawIndexedVerticesUP() on 5659 2014-06-15 11:26:00 +10:00
Echelon9
3bd57450f4 Correct logging of ExSaveNonVolatileSetting() 2014-06-12 22:03:34 +10:00
Echelon9
f577ad6db4 Ensure no switch case fallthrough for EEPROM_AUDIO in ExQueryNonVolatileSetting() 2014-06-12 21:51:58 +10:00
Echelon9
c7d2a58291 Modest typo corrections 2014-06-11 21:35:23 +10:00
Echelon9
9d35fae7fe Clarify and cleanup LDT initialisation and MAGIC_NUMBERS. Courtesy of haxar 2014-06-11 21:26:52 +10:00
Echelon9
9b9a90ebb5 Avoid heap double free is PsCreateThread() proxy 2014-05-27 22:56:59 +10:00
Echelon9
edfcf872fe 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
f4ae13ce4d Correct documentation within PixelShader.cpp 2014-05-25 16:26:28 +10:00
Echelon9
e578ade2f9 Improve documentation of D3DPOOL_DEFAULT 2014-05-25 16:13:47 +10:00
Echelon9
96c26e5437 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
967a5b7be0 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
a72c51212b D3D8::IsBusy support for XDK 4432 (based on XDK 4361) 2014-03-30 23:46:07 +11:00
Echelon9
fc6ce5f4f2 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
ee336dd870 Do not needlessly clear Z Buffer in D3DDevice::Clear() 2013-08-21 00:36:47 +10:00
Echelon9
03f7acc2c4 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
c2c8ac9838 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
3f6313cf3a Properly track size of X_D3DPALETTE used in D3DDevice::SetPalette(). Later read in Register() functions 2013-08-15 16:32:59 +10:00
Echelon9
f2b9b612fa Tweak support for Direct3DPalette::Lock() where no Flags set 2013-08-15 16:05:16 +10:00
Echelon9
6f2fac73b3 Cleanup XGetLaunchInfo() 2013-08-15 13:28:16 +10:00
Echelon9
af32184220 Improve support for DirectSound::CDirectSound::CreateSoundStream() on XDK 5849 2013-08-15 10:10:53 +10:00
Echelon9
dae2c31c69 Link KfRaiseIrql in KernelThunk table, to placeholder implementation 2013-08-14 10:51:56 +10:00
Echelon9
01b3007ed7 Resolve copy paste error in XACT::EngineDoWork() on XDK 4627 2013-08-14 10:50:19 +10:00
Echelon9
f8ddd3b989 Support D3DDevice::GetDeviceCaps() on XDK 5558 2013-08-13 21:24:25 +10:00
Echelon9
2cc83fc33d Improve support for D3DDevice::CreatePixelShader() 2013-08-13 20:52:03 +10:00
Echelon9
f6180f7847 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
8260547732 Support XAPI::XRegisterThreadNotifyRoutine() on XDK 5558 2013-08-13 17:26:43 +10:00
Echelon9
d4c9ab0df2 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
cd1f383c61 Tweak support for D3D8::SetRenderState_Dxt1NoiseEnable() on XDK 5344 2013-08-10 16:57:40 +10:00
Echelon9
d9563be640 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
4ca7861ebf 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
5af10887f7 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
fd2da59ce1 Support D3D8::SetRenderState_TwoSidedLighting() in XDK 5344 2013-08-10 13:55:59 +10:00
Echelon9
302a1c9e72 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
0244c9ac2d Better support D3Device::DeleteStateBlock() on XDK 5849 onwards 2013-07-24 23:31:07 +10:00
Echelon9
e9666c4fca Support D3Device::Release() in XDK 5849 2013-07-22 23:15:47 +10:00
Echelon9
2307a34b5e Basic support for MmUnmapIoSpace (Kernal API 0xB7 / 183) 2013-07-22 19:02:58 +10:00