Commit graph

  • 8e652b8c9d Fix XGetSectionHandle Luke Usher 2016-08-20 17:00:29 +01:00
  • de0c650d8d Minor fixes to Symbolic Link emulation Luke Usher 2016-08-20 13:50:12 +01:00
  • 71a059104b Some cleanup Luke Usher 2016-08-20 13:49:19 +01:00
  • ac832097a9 Implemented NtOpenSymbolicLinkObjecft & NtQuerySymbolicLinkObject from Dxbx Luke Usher 2016-08-20 01:49:58 +01:00
  • d5976c8e13 Patch AllowedMediaTypes in XBE Certificate to prevent XApiInitProcess from calling XApiVerifyMediaIndrive Luke Usher 2016-08-19 23:45:34 +01:00
  • 98c3095179 Removed characteristics output from EmuInitFs, was used while debugging Luke Usher 2016-08-19 23:44:09 +01:00
  • 9ebd40069a EmuInitFs now only searches sections containing code, rather than the full address space Luke Usher 2016-08-19 23:04:26 +01:00
  • 0b28222ca1 Disabled symbolic link creation for everything except /Device/CdRom0 Luke Usher 2016-08-19 22:30:50 +01:00
  • c4951dc5f9 Enable the code for creating the default symbolic links Luke Usher 2016-08-19 22:26:28 +01:00
  • d3abd1072c Oops Luke Usher 2016-08-19 22:21:22 +01:00
  • 4045698fb5 Implement XGetSectionHandleA Luke Usher 2016-08-19 22:21:09 +01:00
  • adc1ec539a Remove XapiInitProcess HLE as we are very close to not requiring this patch Luke Usher 2016-08-19 21:57:37 +01:00
  • 462d8b34e2 Revert 3848ff6 (Thrown away HLE Database) Luke Usher 2016-08-19 21:46:08 +01:00
  • 61649f73bd add dummy implementation of HalRegisterShutdownNotification Luke Usher 2016-08-19 20:45:59 +01:00
  • d3961e6fd6 Forgot to include this in the last commit. Oops. Luke Usher 2016-08-19 20:34:47 +01:00
  • afa9d02e2e Implement fake kernel header to allow XapiRestrictCodeSelectorLimit to succeed Luke Usher 2016-08-19 19:55:18 +01:00
  • 3f70ed9f7c Implement XboxKernelVersion export Luke Usher 2016-08-19 19:53:37 +01:00
  • 9568b129a4 fix NtQueryFullAttributesFile to use CxbxObjectAttributesToNt() rather than hard coding directories Luke Usher 2016-08-19 06:51:13 +01:00
  • a6cfc2d7a3 Fix an issue where the wrong Xbe path was being set Luke Usher 2016-08-19 06:07:21 +01:00
  • 1578146bfe Implemented Symbolic Link kernel API using code from Dxbx Luke Usher 2016-08-18 20:40:36 +01:00
  • 875c64148c Remove 'stupid hack' which allowed for execution to continue after HalReturnToFirmware was called. Luke Usher 2016-08-16 17:04:04 +01:00
  • 3848ff66ad Thrown away HLE Database Luke Usher 2016-08-15 20:49:54 +01:00
  • 57681ab670 Removed lock to single core, had too much of an effect on performance Luke Usher 2016-08-13 22:58:56 +01:00
  • 5485699f06 Remove some high level XAPI functions, including some which were not used Luke Usher 2016-08-13 22:41:30 +01:00
  • bd3ee280e1 Fix a crash due to a missing ret statement in EmuFS.cpp Luke Usher 2016-08-13 19:11:41 +01:00
  • b589c6da82 Force Cxbx to use only one core as the Xbox cpu is single threaded Luke Usher 2016-08-12 19:50:12 +01:00
  • 10ad17161d Remove unused high level thread functions Luke Usher 2016-08-12 19:47:18 +01:00
  • 508d421e81 Fi x an issue with EmuPush/PopDwordPtrFs00 Luke Usher 2016-08-12 16:26:55 +01:00
  • bea4f63f20 Remove HLE emulation of Rtl Heap functions Titles can now manage their own heap, so this is no longer required Luke Usher 2016-08-12 09:30:12 +01:00
  • 67c37feebd fix compilation with Visual Studio 2015 Luke Usher 2016-08-12 09:25:45 +01:00
  • d5a7180c61 Fix null pointer deference which was happening in Crazy Taxi 3. TODO: Find out why Luke Usher 2016-04-05 21:08:18 +01:00
  • 6f3e14b768 NtQueryVolumeInformationFile implementation modified to be more like Dxbx, allows some titles to progress further. Luke Usher 2016-04-04 20:59:03 +01:00
  • 35cfdce7d5 Forgot a linebreak Luke Usher 2016-04-02 20:20:32 +01:00
  • 729123e57a Re-enabled all FS patches, it does not seem to have any effect on compatibilty, but it's better to be safe, we don't want Xbox code playing around with Windows TLS if we can help it. Luke Usher 2016-04-02 19:41:20 +01:00
  • f7569a4ce9 Disabled Debug_Alloc as it is causing crashes in debug builds. Luke Usher 2016-04-01 22:59:34 +01:00
  • 1174ac350b Add HLE Database fixes from old Cxbx-Reloaded branch Luke Usher 2016-04-01 22:12:48 +01:00
  • b0ef995e08 Add 64-bit support Luke Usher 2016-04-01 21:46:04 +01:00
  • 38a6eed65e Convert project to open with MSVC 2015. However, still using the v120 toolset. Removed spare project files, I only test compilation with the latest MSVC version. Luke Usher 2016-04-01 21:39:17 +01:00
  • 231e924bd1 Fix typo in pixel shader logging. No expected effect on performance or compatibility. Echelon9 2015-03-30 22:50:38 +11:00
  • 0f36366310 Add support for RtlFreeAnsiString (Kernel API 0x11E / 286) Echelon9 2015-03-29 21:28:50 +11:00
  • 96676564ca Add support for RtlInitUnicodeString (Kernel API 0x122 / 290) Echelon9 2015-03-29 20:58:57 +11:00
  • 05c61d8f5f This typo may have lead to limited pixel shader issues Echelon9 2015-03-29 19:11:05 +11:00
  • 756a12afcb 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
  • 505fd12f1e 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
  • 3031eaa807 Fix Issue #9: Support SetThreadPriority() via Ntdll call pass-through Echelon9 2014-06-23 22:30:11 +10:00
  • 134eaafd22 Fix Issue #6: Support GetOverlayUpdateStatus() on 5659 Echelon9 2014-06-15 12:34:15 +10:00
  • ff23034693 Fix Issue #5: Support EnableOverlay() on 5659 and 5558 Echelon9 2014-06-15 12:07:10 +10:00
  • 0af90817e8 Fix Issue #4: Support DrawIndexedVerticesUP() on 5659 Echelon9 2014-06-15 11:26:00 +10:00
  • 107b6bec6b Correct logging of ExSaveNonVolatileSetting() Echelon9 2014-06-12 22:03:34 +10:00
  • bb641a693b Ensure no switch case fallthrough for EEPROM_AUDIO in ExQueryNonVolatileSetting() Echelon9 2014-06-12 21:51:58 +10:00
  • 72ba307f8f Modest typo corrections Echelon9 2014-06-11 21:35:23 +10:00
  • 1fd52aebd0 Clarify and cleanup LDT initialisation and MAGIC_NUMBERS. Courtesy of haxar Echelon9 2014-06-11 21:26:52 +10:00
  • 43c266dc58 Avoid heap double free is PsCreateThread() proxy Echelon9 2014-05-27 22:56:59 +10:00
  • 595e35ce71 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
  • 6d47a8ad0e Correct documentation within PixelShader.cpp Echelon9 2014-05-25 16:26:28 +10:00
  • c0cfa030d6 Improve documentation of D3DPOOL_DEFAULT Echelon9 2014-05-25 16:13:47 +10:00
  • 41bbfdd0af 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
  • aee7e41ff1 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
  • ce0e2e00ed D3D8::IsBusy support for XDK 4432 (based on XDK 4361) Echelon9 2014-03-30 23:46:07 +11:00
  • 9967b72d83 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
  • 21aeffd6c6 Do not needlessly clear Z Buffer in D3DDevice::Clear() Echelon9 2013-08-21 00:36:47 +10:00
  • 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) Echelon9 2013-08-20 22:41:47 +10:00
  • 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 Echelon9 2013-08-18 16:40:17 +10:00
  • 7dc6183ee8 Properly track size of X_D3DPALETTE used in D3DDevice::SetPalette(). Later read in Register() functions Echelon9 2013-08-15 16:32:59 +10:00
  • 4c0968091f Tweak support for Direct3DPalette::Lock() where no Flags set Echelon9 2013-08-15 16:05:16 +10:00
  • 81ffbfc481 Cleanup XGetLaunchInfo() Echelon9 2013-08-15 13:28:16 +10:00
  • 9531e7b815 Improve support for DirectSound::CDirectSound::CreateSoundStream() on XDK 5849 Echelon9 2013-08-15 10:10:53 +10:00
  • ab1b26f47e Link KfRaiseIrql in KernelThunk table, to placeholder implementation Echelon9 2013-08-14 10:51:56 +10:00
  • b9be3bf9ea Resolve copy paste error in XACT::EngineDoWork() on XDK 4627 Echelon9 2013-08-14 10:50:19 +10:00
  • b59e0a94b3 Support D3DDevice::GetDeviceCaps() on XDK 5558 Echelon9 2013-08-13 21:24:25 +10:00
  • dc1a9901fd Improve support for D3DDevice::CreatePixelShader() Echelon9 2013-08-13 20:52:03 +10:00
  • 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 Echelon9 2013-08-13 18:52:28 +10:00
  • cacbfdb0a9 Support XAPI::XRegisterThreadNotifyRoutine() on XDK 5558 Echelon9 2013-08-13 17:26:43 +10:00
  • b53deeeab6 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
  • 76854394da Tweak support for D3D8::SetRenderState_Dxt1NoiseEnable() on XDK 5344 Echelon9 2013-08-10 16:57:40 +10:00
  • 4256b6705f 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
  • 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 Echelon9 2013-08-10 15:32:53 +10:00
  • 18355b46da 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
  • 8f3ca9e065 Support D3D8::SetRenderState_TwoSidedLighting() in XDK 5344 Echelon9 2013-08-10 13:55:59 +10:00
  • c4d56a1237 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
  • cbaad20f47 Better support D3Device::DeleteStateBlock() on XDK 5849 onwards Echelon9 2013-07-24 23:31:07 +10:00
  • 0496a6f07f Support D3Device::Release() in XDK 5849 Echelon9 2013-07-22 23:15:47 +10:00
  • b57803a20a Basic support for MmUnmapIoSpace (Kernal API 0xB7 / 183) Echelon9 2013-07-22 19:02:58 +10:00
  • 3fbc55978a Basic implementation of MmMapIoSpace (Kernel API 0xB1 / 177) Echelon9 2013-07-22 18:41:57 +10:00
  • 17f3e3279f Support D3D::Reset() in XDK 5849 Echelon9 2013-07-22 16:59:06 +10:00
  • bece354615 Support D3Device::InsertCallback() (basic) on XDK 5849 Echelon9 2013-07-22 14:51:14 +10:00
  • e43e20129b Support DSBPLAY_SYNCHPLAYBACK flag to SoundBuffer::Play() Echelon9 2013-07-22 14:22:12 +10:00
  • d5834a5e3d Support additional D3DLOCK_NOOVERWRITE flag in D3DTexture::LockRect() Echelon9 2013-07-22 13:32:07 +10:00
  • eb27867dc1 Initial support for D3DDevice::SetDepthClipPlanes() in XDK 5849 Echelon9 2013-07-22 11:36:41 +10:00
  • 60a46b4d34 Support SetRenderState_LogicOp() in XDK 5849 Echelon9 2013-07-22 01:32:44 +10:00
  • 1a65e0fbb4 Support D3Device_EnableOverlay() in XDK 5849 Echelon9 2013-07-22 01:14:34 +10:00
  • 65f5b59fec Support D3D8_SetTextureState_ColorKeyColor() in XDK 5849 Echelon9 2013-07-22 01:00:00 +10:00
  • 4f8b5d0d32 Support D3D8_SetRenderState_SampleAlpha() in XDK 5849 Echelon9 2013-07-22 00:42:56 +10:00
  • 2f3ecd0d92 Support D3D8_SetRenderState_LineWidth() in XDK 5849 Echelon9 2013-07-22 00:17:15 +10:00
  • af9f08989e Support SetSwapCallback() in XDK 5849 Echelon9 2013-07-21 19:40:03 +10:00
  • c5e7977332 Support GetGammaRamp() in XDK 5849 Echelon9 2013-07-21 18:26:40 +10:00
  • 84e65dbfd1 NtCreateFile per MSDN should have the EALength attribute set to zero, not null Echelon9 2013-05-05 16:31:59 +10:00
  • 73989983f8 Fully document the remaining unimplemented kernel calls, saves searching disparate sources Echelon9 2013-05-05 14:55:51 +10:00
  • 026cb52427 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
  • ae824a92f6 SizeOfImage fix from SoullessSentinel. Thanks. Echelon9 2013-05-05 11:32:15 +10:00