Commit Graph

713 Commits

Author SHA1 Message Date
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
Echelon9 f2fd7cfbc7 Further cleanup of stray variables to printf()s 2013-05-05 11:09:22 +10:00
Echelon9 90f25b53ed Additional documentation around SetRenderState_ShadowFunc 2013-04-09 00:58:12 +10:00
Echelon9 6cbc69de2d Correct documentation string in XFreeSectionByHandle 2013-04-09 00:15:29 +10:00
Echelon9 07e02328ee Add new section to XGetSectionHandleA lookup table 2013-04-09 00:00:14 +10:00
Echelon9 0e937af7ff Added special case to NtQueryVirtualMemory to handle Forza Motorsport bug -- backported from Dxbx, where issue was resolved by PatrickvL 2013-04-08 23:22:30 +10:00
Echelon9 406795b743 Implement ExFreePool and bugfix for ExAllocatePoolWithTag 2013-04-07 17:53:42 +10:00
Echelon9 ffe15fa11a More conformant implementation of ExAllocatePool and ExAllocatePoolWithTag 2013-04-07 17:14:52 +10:00
Echelon9 e339af5e15 Implementation of RtlAssert() when triggered within emulated program 2013-04-07 13:33:44 +10:00
Echelon9 933ad18234 Initial implementation of KeSetTimerEx 2013-04-07 12:39:04 +10:00
Echelon9 5b1cdd0edc Resolve some potential confusion with 64bit pointers, and extra documentation behind the use of a magic number in KeInitializeTimer 2013-04-06 23:55:41 +11:00
Echelon9 9d7193ce5d Fixes to improve clarity within KeInitializeTimerEx, KeSetTimer and MmCreateKernelStack 2013-04-06 00:21:01 +11:00
Echelon9 44ed2bd5b5 Greatly enhanced implementation of MmQueryStatistics, which reports on a range of total and available system memory metrics. 2013-01-04 03:19:55 +11:00
Echelon9 f5df8d7e75 Add additional warning for NULL pointer passed to IDirect3DResource8_AddRef() 2013-01-04 01:23:15 +11:00
Echelon9 33683bcf1c Improve documentation for ExQueryNonVolatileMemory(), yet to correct implementation 2013-01-04 00:20:39 +11:00
Echelon9 a586201124 Although the constructor is a bit wonky, at least go about setting this object up correctly for the time when constructor has been implemented. 2013-01-02 23:46:27 +11:00
Echelon9 f7d16a8096 Ensure that if an invalid parameter is passed to IDirectSoundBuffer_SetNotificationPositions(), the result is not undefined -- which will of course mask the real error. 2013-01-02 23:43:42 +11:00
Echelon9 1297540c3d Implementation (basic) of the HalReadSMBusValue kernel call 0x002D (45) 2013-01-02 21:12:24 +11:00
Echelon9 4af8f49b8c Implementation (basic) of the HalWriteSMBusValue kernel call 0x0032 (50) 2013-01-02 20:39:23 +11:00
Echelon9 c3cf5edc2e Whoops, we can't call DbgPrintf from here. 2012-12-02 01:35:04 +11:00
Echelon9 847315c60e PVS-Studio fix: V576 Incorrect format. Consider checking the fifth actual argument of the 'printf' function. The pointer to string of char type symbols is expected. 2012-12-02 01:04:24 +11:00
Echelon9 ef81d4e037 PVS-Studio fixes: The 'true/false' value is implicitly casted to the integer type. 2012-12-01 02:08:37 +11:00
Echelon9 dec7f8a727 PVS-Studio fixes: A couple more examples of incorrect arguments to DbgPrintf calls. 2012-12-01 01:39:16 +11:00
Echelon9 20f68057fa PVS-Studio fix: Ensure that when the DbgPrintf macro is expanded that it doesn't interfere with the if() ... else structure. 2012-12-01 01:19:23 +11:00
Echelon9 b31e36c6dd More correct implementation of the KDPC structure. 2012-12-01 00:41:01 +11:00
Echelon9 44e9bca20e Changes required to allow Debug mode to run on an unmodified Windows XP install, without XInput_9_01.dll 2012-11-30 23:40:54 +11:00
Echelon9 1d68c18bdd Fix up the naming of documentation associated with these Input functions. 2012-11-30 23:29:38 +11:00
Echelon9 41f938bc96 More full implement ExQueryNonVolatileSetting() for corner cases. 2012-11-30 23:08:52 +11:00
Echelon9 922746198e Add some extra detail to the GetFileAttributes() error checking routine. 2012-11-30 21:17:12 +11:00
Echelon9 1ecac386c0 Whoops, little typo in RtlEqualString() 2012-11-28 23:55:35 +11:00
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