Commit Graph

930 Commits

Author SHA1 Message Date
Echelon9 14e15f9129 Build out definition of MmCreateKernelStack() 2012-11-28 23:36:57 +11:00
Echelon9 edee70ddd0 Fix up IDirect3DSurface8_LockRect and IDirect3DTexture8_LockRect calls for situations where Flags set to NULL. Resolves issued with Halo1 and Turok. 2012-11-27 22:37:27 +11:00
Echelon9 1d8b6efee4 Enable Doxygen based automated code documentation. Recommending that the output from a Doxygen run not be commited, as the benefit of documentation to developers is that it is run on a fresh basis as and when needed. 2012-11-26 20:31:34 +11:00
Echelon9 4c8803a2b0 PVS-Studio fix: The values of different enum types are compared. Simplifying and tightening the sanity check until such time as we support other forms of the NtQueryVolumeInformationFile call. 2012-11-26 02:57:22 +11:00
Echelon9 9e9b06615c Fix to EmuIDirect3DDevice8_GetScissors() -- was setting x1 and x2 to 0 (top left), rather than x1 and y1. 2012-11-26 02:45:02 +11:00
Echelon9 6b16b6caaa PVS-Studio fix: The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator. 2012-11-26 02:33:24 +11:00
Echelon9 db33acdc7c PVS-Studio fix: Incorrect format. A different number of actual arguments is expected while calling 'sprintf' function. The EFlags value can be read from the Kernel Debug console. 2012-11-26 02:23:29 +11:00
Echelon9 964c0038a8 Ensure the Cxbx Kernel .dll is labelled correctly throughout, taking the opportunity to simplify the Release and Debug branches. Bump version number as well. 2012-11-26 01:44:43 +11:00
Echelon9 8527fc95a3 Implement Kernel 0x0002 AvSendTVEncoderOption() 2012-11-26 01:31:54 +11:00
Echelon9 01c5e3839d Update and split Visual Studio project files by version, support Visual Studio 2010. 2012-11-26 01:20:51 +11:00
blueshogun96 f13a1e7b78 Updates for Outrun2 and more. Alternative D3DDevice_BlockUntilVerticalBlank() implementation added. 2012-10-10 19:02:03 +00:00
Echelon9 cb671b2a27 As XPP_DEVICE_TYPE contains Reserved[3] it has elements numbered [0-2], so ensure we don't access memory outside the array bounds 2012-10-08 01:13:30 +11:00
Echelon9 929a108885 Fixes to printf() and DbgPrintf() messages 2012-10-08 01:06:57 +11:00
Echelon9 8f41bc0795 fprintf() not expecting a class type variable, rather needs an element to resolve the pointer to, in Xbe::DumpInformation() 2012-10-08 00:51:44 +11:00
Echelon9 dbb15e0341 Fix order of precedence for menu item greying out 2012-10-08 00:48:31 +11:00
Echelon9 cc5e0dc658 Ensure memset() does not underflow mCertificate.wszTitleName 2012-10-08 00:41:27 +11:00
Echelon9 5b1d969547 Fix ordering of variables reported in CxbxRtlReallocDebug() 2012-10-08 00:38:25 +11:00
Echelon9 b3463985b5 Ensure correct error checking in EmuXGSwizzleBox 2012-10-08 00:34:00 +11:00
Echelon9 b0c60ebb2a Fix for end of memory block in CheckIntegrity() 2012-10-08 00:21:20 +11:00
Echelon9 0ad1cf1d88 Update gitattributes (with line ending fixes) 2012-10-07 23:58:52 +11:00
Echelon9 ceb25b9f66 Correct use of STL container methods 2012-10-07 23:54:07 +11:00
blueshogun96 78f665cbf9 No commit message 2012-01-12 02:54:37 +00:00
blueshogun96 1737efc2cf Quick fixes for Dashboard. 2011-11-03 10:17:12 +00:00
blueshogun96 11b58429a9 Xbox Dashboard (3944) is now working okay (not perfect). 2011-11-03 00:13:00 +00:00
blueshogun96 b125dd93a1 Some stuff I completely forgot I did a few months ago... 2011-09-03 10:04:21 +00:00
blueshogun96 9cf502c47e Added preliminary native XInput support files and new HLE database files. 2011-06-18 07:20:17 +00:00
blueshogun96 3aad740a75 Quick update 2011-06-18 07:15:32 +00:00
blueshogun96 00097449c6 Added XG for 4432. 2011-06-15 08:17:53 +00:00
blueshogun96 caa409ea83 Added XG for 4432. 2011-06-15 08:17:32 +00:00
blueshogun96 c7913dfab4 Added XG for 4432. 2011-06-15 08:17:17 +00:00
blueshogun96 7e31d6deb2 Whacked is playable + lots of other random updates! 2011-06-15 06:56:33 +00:00
blueshogun96 176ce4fe96 Fixed deferred texture state bugs and Panzer works again. 2010-06-17 07:07:34 +00:00
blueshogun96 33ba592146 Lots of updates for XDK 4034 and 4134 + random bug fixes. 2010-04-29 22:34:18 +00:00
blueshogun96 3e65aa93c9 Random updates 2010-04-22 17:53:29 +00:00
blueshogun96 511ba86290 Fixed compile errors in EmuKrnl.cpp 2010-04-17 17:37:39 +00:00
blueshogun96 2f9b24859f Updating (the hard way) because I can't get TSVN to do it automatically!
Happy now?

Happy now?

Happy now?

Happy now?

Cleanup time.
2010-04-17 03:21:41 +00:00
blueshogun96 0dfaf44aba Added for those who don't have the DirectX8 SDK. For now, you'll have to add the /include and /lib directories in the project yourself! 2009-11-13 21:41:02 +00:00
blueshogun96 9409a6b851 Didn't realize these changed... 2009-11-13 21:08:20 +00:00
blueshogun96 a550b71bd7 Didn't realize these changed... 2009-11-13 21:08:09 +00:00
blueshogun96 dab24dbfec 2009-11-13 21:07:08 +00:00
blueshogun96 f0bad56ee7 Added new version 2009-11-13 21:05:44 +00:00
blueshogun96 22e64d6eaa 2009-11-13 21:05:11 +00:00
blueshogun96 9d10c637af Forgot to update OpenXDK includes. Sorry about that! 2009-11-13 20:17:54 +00:00
blueshogun96 bcc8260f17 Forgot to update 2009-11-13 20:15:34 +00:00
blueshogun96 5618473d90 Just another [major] update... 2009-11-12 01:35:57 +00:00
blueshogun96 271a1cad1d Just another [major] update... 2009-11-12 01:35:50 +00:00
Daniel Stien 6838efd341 Fixed a bug in Xapi EmuRtlReAllocateHeap. Returned value was not updated with alignment offset. Caused crashes with the allocation tracker.
Temporarily fallback to simple dummy vertex shader if recompilation failed.

Added XDK 3911 OOVPAs for Xapi.
- RtlReAllocateHeap, moved back from 4432
- RtlSizeHeap, moved back from 4432

Added XDK 3936 OOVPAs for DSound.
- CMcpxBuffer_GetStatus
- CDirectSoundBuffer_GetStatus
- IDirectSoundBuffer8_GetStatus
- CMcpxVoiceClient_SetMixBins
- CDirectSoundVoice_SetMixBins
- IDirectSoundStream_SetMixBins
- IDirectSoundBuffer8_SetMixBins
- CMcpxVoiceClient_Set3dMode
- CDirectSoundVoice_SetMode
- IDirectSoundBuffer8_SetMode
- CDirectSoundBuffer_SetVelocity
- IDirectSoundBuffer8_SetVelocity, moved back from 4627
- CDirectSoundBuffer_SetPosition
- IDirectSoundBuffer8_SetPosition, moved back from 4627
2008-09-28 03:58:16 +00:00
Daniel Stien 18bcc2160c Added XDK 3911 OOVPAs for Xapi.
- XGetDevices, moved back from 4034
- XID_fCloseDevice
- XInputClose, moved back from 4361
- XInputGetCapabilities

Added XDK 3925 OOVPAs for D3D8.
- IDirect3DDevice8_CreatePixelShader
- IDirect3DDevice8_SetPixelShader (disabled existing)
- IDirect3DDevice8_GetRenderTarget
- IDirect3DSurface8_LockRect, moved back from 4361

Added XDK 5233 OOVPAs for D3D8.
- IDirect3DResource8_IsBusy, reused from 4361
- IDirect3DTexture8_LockRect, moved back from 5558
- Lock2DSurface, reused from 3925

Removed XG 5233/5558 XGUnswizzleRect OOVPAs. Not intended for HLE, caused stack corruption.

Convert PC D3DFMT_L8 to 0x13 (linear).
2008-09-22 01:08:25 +00:00
Daniel Stien 26861248d2 NtCreateFile will now fallback to parent directory if a regular file is being opened as a directory. This fixes Xapi FindFirstFile, although wildcard handling may need more work. Removed HLE for FindFirstFileA/FindNextFileA.
Temporary HLE for Xapi GetTimeZoneInformation to satisfy _stat(...) while support for EEPROM queries is missing. OOVPAs for XDK 3911 and re-used for 5233.

Fixed weak XDK 5558 D3D IDirect3DDevice8::BlockOnFence OOVPA by adding Xref to D3D::BlockOnTime. Backported to 5233.

Sanitized EmuD3D8 function parameter debug trace formatting.
2008-09-21 00:54:09 +00:00
Daniel Stien 5bed305918 Additional deferred render state updates used by Futurama.
- D3DRS_FOGDENSITY (4)
- D3DRS_RANGEFOGENABLE (5)
- D3DRS_WRAP1 (7)
- D3DRS_DIFFUSEMATERIALSOURCE (19)
- D3DRS_EMISSIVEMATERIALSOURCE (21)
2008-09-13 01:14:56 +00:00