Commit graph

  • 4fbe0196fe Merge bf70d51391 into 09194f426e Rhys Kidd 2015-10-29 15:45:02 +00:00
  • bf70d51391 Fix initializer order for Error() object. fix/initialize-order Echelon9 2015-10-30 02:43:13 +11:00
  • 09194f426e Merge pull request #17 from Echelon9/feature/readme master Rhys Kidd 2015-10-30 02:38:51 +11:00
  • 7dc68d6292 Add README Echelon9 2015-10-30 02:17:21 +11:00
  • 1eb5d99452 Initial Travis CI support for Linux intermediate tools Echelon9 2015-10-30 02:03:15 +11:00
  • a451b39ab1 Merge pull request #16 from Echelon9/fix/makefile Rhys Kidd 2015-10-30 01:36:55 +11:00
  • 8a77ab6e1f Fixup GNU Makefile for building intermediate tools Echelon9 2015-10-30 01:32:49 +11:00
  • 5366820fc7 Merge pull request #15 from Echelon9/fix/cleanup-imports Rhys Kidd 2015-10-30 00:30:00 +11:00
  • b248d0829f Remove static import of upx. Development environment can contain this functionality, if required. Cleanup broken script. Echelon9 2015-10-30 00:27:54 +11:00
  • d4ebf7a8fb Run doxygen config file through 'doxygen -u' Echelon9 2015-10-30 00:19:08 +11:00
  • f8668b9621 Generalise the name of formerly DirectX8-related variables directx9-renderer Echelon9 2015-03-29 18:52:25 +11:00
  • 78c36a764d Fix a few other format quirks that had been bugging me Echelon9 2015-03-18 22:53:59 +11:00
  • 4d0e2b42dc Structure and whitespace cleanup Echelon9 2015-03-18 22:39:10 +11:00
  • b87e19d706 Initial support for DirectX9 renderer. Enabled with the D3D9 preprocessor define (default for now on this branch). A DirectX SDK must be installed in DXSDK_DIR per MSDN guidance. Echelon9 2014-06-26 03:06:57 +10:00
  • 7a7e9db7de Rename the global Direct3D Device to reflect an abstracted role across both DirectX8 and DirectX9 Echelon9 2014-06-24 22:36:15 +10:00
  • a23be270c2 Set Visual Studio 2010 project files to use the system installed DirectX SDK in C:\Program Files\Microsoft DirectX SDK (August 2007)\, rather than the bundled copy in /import/DirectX8. Note developers will need to install a sufficiently old DirectX SDK to provide full DirectX8 support. A pre-August 2007 version is required. Echelon9 2014-06-24 21:40:22 +10:00
  • 5a83bdcc9b Rename the global Direct3D instance to reflect an abstracted role across both DirectX8 and DirectX9 Echelon9 2014-06-24 20:46:32 +10:00
  • c7e138641c Merge pull request #14 from Echelon9/fix/crash-woc Rhys Kidd 2015-10-26 02:26:22 +11:00
  • 57c56377f0 Add XDK 4361 D3DDevice_DeleteStateBlock() and Direct3DDevice8::SetVerticalBlankCallback() Echelon9 2015-10-26 02:14:14 +11:00
  • 84988b2426 Handle invalid resources passed to Direct3DTexture8_GetSurfaceLevel() Echelon9 2015-10-26 02:12:06 +11:00
  • 9d432b61ee docs: Doxygen to ignore .git files Echelon9 2015-10-26 00:06:46 +11:00
  • e98cf96c0e docs: Correct capitalisation in Doxyfile Echelon9 2015-10-26 00:03:56 +11:00
  • f6da4805be docs: Ignore third party jpeg library Echelon9 2015-10-26 00:00:36 +11:00
  • 151bc7ebc2 Remove redundant (older) VertexShader.cpp. File is in Git history if required. Echelon9 2015-10-25 23:36:03 +11:00
  • 2c946ab4df No LDT Hack flag for 64-bit OSes - DISABLE_LDT feature/no-LDT Echelon9 2015-10-25 22:55:29 +11:00
  • e8c878c1f4 Remove work in progress alternative EmuFS.cpp Echelon9 2015-10-25 22:20:20 +11:00
  • 148f71fe4c Preliminary support for 64-bit operating systems feature/64-bit-support Echelon9 2015-10-25 22:07:36 +11:00
  • 08b11f6e14 Fix typo in pixel shader logging. No expected effect on performance or compatibility. Echelon9 2015-03-30 22:50:38 +11:00
  • 311b54d85b Add support for RtlFreeAnsiString (Kernel API 0x11E / 286) Echelon9 2015-03-29 21:28:50 +11:00
  • f477b4425d Add support for RtlInitUnicodeString (Kernel API 0x122 / 290) Echelon9 2015-03-29 20:58:57 +11:00
  • 26193846af This typo may have lead to limited pixel shader issues Echelon9 2015-03-29 19:11:05 +11:00
  • a7ea527cb4 Merge pull request #13 from Echelon9/fix-issue-12 Echelon9 2014-07-14 18:42:23 +10:00
  • f08804de22 Address Issue #12 - Improve emulated Direct3DDevice::Clear() calls when render target does not have an attached depth buffer Echelon9 2014-07-14 18:39:20 +10:00
  • 1339824dd4 Merge pull request #11 from donwayo/fix-for-issue-8 Echelon9 2014-06-26 03:30:10 +10:00
  • 110e561605 Added support for GetCreationParameters() in the HLEDatabase on titles built with the 4361 version of the D3D library. Wayo 2014-06-24 15:38:20 +02:00
  • 35f4eb8f60 Merge pull request #10 from Echelon9/correctness-fixes Echelon9 2014-06-23 22:57:00 +10:00
  • 56e66cda9f Fix Issue #9: Support SetThreadPriority() via Ntdll call pass-through Echelon9 2014-06-23 22:30:11 +10:00
  • bba286cf5f Fix Issue #6: Support GetOverlayUpdateStatus() on 5659 Echelon9 2014-06-15 12:34:15 +10:00
  • 0a4e72a794 Fix Issue #5: Support EnableOverlay() on 5659 and 5558 Echelon9 2014-06-15 12:07:10 +10:00
  • 2863919b5a Fix Issue #4: Support DrawIndexedVerticesUP() on 5659 Echelon9 2014-06-15 11:26:00 +10:00
  • 3bd57450f4 Correct logging of ExSaveNonVolatileSetting() Echelon9 2014-06-12 22:03:34 +10:00
  • f577ad6db4 Ensure no switch case fallthrough for EEPROM_AUDIO in ExQueryNonVolatileSetting() Echelon9 2014-06-12 21:51:58 +10:00
  • c7d2a58291 Modest typo corrections Echelon9 2014-06-11 21:35:23 +10:00
  • 9d35fae7fe Clarify and cleanup LDT initialisation and MAGIC_NUMBERS. Courtesy of haxar Echelon9 2014-06-11 21:26:52 +10:00
  • 9b9a90ebb5 Avoid heap double free is PsCreateThread() proxy Echelon9 2014-05-27 22:56:59 +10:00
  • edfcf872fe Ensure sufficient stack space for EmuWarning(). The previous amount could be routinely overrun with long pixel shader error messages. Echelon9 2014-05-25 16:51:08 +10:00
  • f4ae13ce4d Correct documentation within PixelShader.cpp Echelon9 2014-05-25 16:26:28 +10:00
  • e578ade2f9 Improve documentation of D3DPOOL_DEFAULT Echelon9 2014-05-25 16:13:47 +10:00
  • 96c26e5437 During CreateDevice only clear depth buffer if present, to avoid a DirectX Debug Runtime error report Echelon9 2014-04-06 20:17:56 +10:00
  • 967a5b7be0 Permit the DirectX Debug Runtime on strict error reporting to pass an early issue releasing D3DDevice surfaces Echelon9 2014-04-05 23:19:36 +11:00
  • a72c51212b D3D8::IsBusy support for XDK 4432 (based on XDK 4361) Echelon9 2014-03-30 23:46:07 +11:00
  • fc6ce5f4f2 Fix MSVC warning: Invalid data: accessing 'm_DeviceName', the readable size is '6240' bytes, but '-240' bytes might be read Echelon9 2013-09-15 12:49:36 +10:00
  • ee336dd870 Do not needlessly clear Z Buffer in D3DDevice::Clear() Echelon9 2013-08-21 00:36:47 +10:00
  • 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) Echelon9 2013-08-20 22:41:47 +10:00
  • 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 Echelon9 2013-08-18 16:40:17 +10:00
  • 3f6313cf3a Properly track size of X_D3DPALETTE used in D3DDevice::SetPalette(). Later read in Register() functions Echelon9 2013-08-15 16:32:59 +10:00
  • f2b9b612fa Tweak support for Direct3DPalette::Lock() where no Flags set Echelon9 2013-08-15 16:05:16 +10:00
  • 6f2fac73b3 Cleanup XGetLaunchInfo() Echelon9 2013-08-15 13:28:16 +10:00
  • af32184220 Improve support for DirectSound::CDirectSound::CreateSoundStream() on XDK 5849 Echelon9 2013-08-15 10:10:53 +10:00
  • dae2c31c69 Link KfRaiseIrql in KernelThunk table, to placeholder implementation Echelon9 2013-08-14 10:51:56 +10:00
  • 01b3007ed7 Resolve copy paste error in XACT::EngineDoWork() on XDK 4627 Echelon9 2013-08-14 10:50:19 +10:00
  • f8ddd3b989 Support D3DDevice::GetDeviceCaps() on XDK 5558 Echelon9 2013-08-13 21:24:25 +10:00
  • 2cc83fc33d Improve support for D3DDevice::CreatePixelShader() Echelon9 2013-08-13 20:52:03 +10:00
  • 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 Echelon9 2013-08-13 18:52:28 +10:00
  • 8260547732 Support XAPI::XRegisterThreadNotifyRoutine() on XDK 5558 Echelon9 2013-08-13 17:26:43 +10:00
  • d4c9ab0df2 In D3DResource:AddRef() ensure no null dereference if AddRef() called on a null object, as Colin McRae Rally 2005 appears to do twice Echelon9 2013-08-10 17:32:05 +10:00
  • cd1f383c61 Tweak support for D3D8::SetRenderState_Dxt1NoiseEnable() on XDK 5344 Echelon9 2013-08-10 16:57:40 +10:00
  • d9563be640 Broaden support for D3D8::SetRenderState_LineWidth() given one pattern is used across a number of XDKs Echelon9 2013-08-10 15:41:48 +10:00
  • 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 Echelon9 2013-08-10 15:32:53 +10:00
  • 5af10887f7 Tweak support for D3D8::SetRenderState_MultiSampleMode() under XDK 5344, to not use an Xref (was troubesome) Echelon9 2013-08-10 15:17:29 +10:00
  • fd2da59ce1 Support D3D8::SetRenderState_TwoSidedLighting() in XDK 5344 Echelon9 2013-08-10 13:55:59 +10:00
  • 302a1c9e72 Address duplicate OOVP pattern matching, to resolve problems with Futurama. This may adversely effect Whacked support Echelon9 2013-08-10 13:27:18 +10:00
  • 0244c9ac2d Better support D3Device::DeleteStateBlock() on XDK 5849 onwards Echelon9 2013-07-24 23:31:07 +10:00
  • e9666c4fca Support D3Device::Release() in XDK 5849 Echelon9 2013-07-22 23:15:47 +10:00
  • 2307a34b5e Basic support for MmUnmapIoSpace (Kernal API 0xB7 / 183) Echelon9 2013-07-22 19:02:58 +10:00
  • 02bf8649e4 Basic implementation of MmMapIoSpace (Kernel API 0xB1 / 177) Echelon9 2013-07-22 18:41:57 +10:00
  • c844036311 Support D3D::Reset() in XDK 5849 Echelon9 2013-07-22 16:59:06 +10:00
  • 9add61f89e Support D3Device::InsertCallback() (basic) on XDK 5849 Echelon9 2013-07-22 14:51:14 +10:00
  • 724b4dce84 Support DSBPLAY_SYNCHPLAYBACK flag to SoundBuffer::Play() Echelon9 2013-07-22 14:22:12 +10:00
  • 2899ba3e5c Support additional D3DLOCK_NOOVERWRITE flag in D3DTexture::LockRect() Echelon9 2013-07-22 13:32:07 +10:00
  • 810a58be1b Initial support for D3DDevice::SetDepthClipPlanes() in XDK 5849 Echelon9 2013-07-22 11:36:41 +10:00
  • e1b4f7a1d4 Support SetRenderState_LogicOp() in XDK 5849 Echelon9 2013-07-22 01:32:44 +10:00
  • 3a4ad852c0 Support D3Device_EnableOverlay() in XDK 5849 Echelon9 2013-07-22 01:14:34 +10:00
  • b0a6ba5bd7 Support D3D8_SetTextureState_ColorKeyColor() in XDK 5849 Echelon9 2013-07-22 01:00:00 +10:00
  • 025d66ab2e Support D3D8_SetRenderState_SampleAlpha() in XDK 5849 Echelon9 2013-07-22 00:42:56 +10:00
  • 270b5112b1 Support D3D8_SetRenderState_LineWidth() in XDK 5849 Echelon9 2013-07-22 00:17:15 +10:00
  • 353ba7f300 Support SetSwapCallback() in XDK 5849 Echelon9 2013-07-21 19:40:03 +10:00
  • 637a9fff0f Support GetGammaRamp() in XDK 5849 Echelon9 2013-07-21 18:26:40 +10:00
  • bef2cabbbb NtCreateFile per MSDN should have the EALength attribute set to zero, not null Echelon9 2013-05-05 16:31:59 +10:00
  • 16eb8ff9b0 Fully document the remaining unimplemented kernel calls, saves searching disparate sources Echelon9 2013-05-05 14:55:51 +10:00
  • cc85f5145a Resolve within IoCreateFile that the return value has been set previously to STATUS_SUCCESS on line 1703 Echelon9 2013-05-05 12:04:21 +10:00
  • 1e87ba3f4f SizeOfImage fix from SoullessSentinel. Thanks. Echelon9 2013-05-05 11:32:15 +10:00
  • 6ca200a4e8 Further cleanup of stray variables to printf()s Echelon9 2013-05-05 11:09:22 +10:00
  • 2239ebea41 Additional documentation around SetRenderState_ShadowFunc Echelon9 2013-04-09 00:58:12 +10:00
  • 5717cd9a21 Correct documentation string in XFreeSectionByHandle Echelon9 2013-04-09 00:15:29 +10:00
  • 17f2422d8a Add new section to XGetSectionHandleA lookup table Echelon9 2013-04-09 00:00:14 +10:00
  • d562486413 Added special case to NtQueryVirtualMemory to handle Forza Motorsport bug -- backported from Dxbx, where issue was resolved by PatrickvL Echelon9 2013-04-08 23:22:30 +10:00
  • 8a8e02c51f Implement ExFreePool and bugfix for ExAllocatePoolWithTag Echelon9 2013-04-07 17:53:42 +10:00
  • 01cb0a8dbb More conformant implementation of ExAllocatePool and ExAllocatePoolWithTag Echelon9 2013-04-07 17:14:52 +10:00
  • 25ec3448c5 Implementation of RtlAssert() when triggered within emulated program Echelon9 2013-04-07 13:33:44 +10:00