Commit Graph

1447 Commits

Author SHA1 Message Date
Luke Usher 269eb7fa20 This instance was not needed, we only need to set the floating point registers for Xbox threads. 2017-01-05 08:25:30 +00:00
Luke Usher 2993546a25 Remove "Copy" file and old HLE database archive 2017-01-05 08:17:32 +00:00
Luke Usher 951917913c Fix ExAllocatePool
Although this did not cause any issues (that I know of) (ULONG)"enoN"  was creating a null terminated string, and passing a pointer to that string alone
This has been modified to 'enoN' to generate a non-terminated string of chars, and pass the value along.
2017-01-04 21:04:17 +00:00
Luke Usher 648337770a CPU Affinity handle fixes broke the dashboard again
This only worked because ALL threads were still running on the same core.
Now they correctly run on different cores, the floating point register needs to be set for each thread!
2017-01-04 21:02:23 +00:00
Luke Usher 14e96f6ce1 More of the same 2017-01-04 21:01:30 +00:00
PatrickvL 409ef63176 Merge remote-tracking branch 'refs/remotes/origin/master' into LLE_OpenGL 2017-01-04 15:41:13 +01:00
PatrickvL 095fbd1010 Fixed logging of nullptr (plus better logging in RtlAssert) 2017-01-04 15:34:18 +01:00
Luke Usher 5c79105fc7 Merge pull request #79 from PatrickvL/master
Review results on Xc* kernel functions
2017-01-04 14:07:57 +00:00
PatrickvL c9e8176c6c Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into LLE_OpenGL 2017-01-04 14:38:06 +01:00
PatrickvL eff09f89ea Review results on Xc* kernel functions 2017-01-04 14:35:20 +01:00
PatrickvL 1f6756885f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-04 13:54:15 +01:00
PatrickvL 06b7677859 Working towards OpenGL initialization (using Dxbx as a reference)
WARNING : This does not compile yet.
2017-01-04 13:53:59 +01:00
Luke Usher d1277b087c More of the same 2017-01-04 07:00:13 +00:00
Luke Usher 029a009174 SetThreadAffinityMask should take a HANDLE as input 2017-01-04 06:56:18 +00:00
Luke Usher 4f2e4511d8 Fix an issue where g_CPUOthers was being used before being set. 2017-01-04 06:52:57 +00:00
Luke Usher 2fa170a96c Merge pull request #77 from LukeUsher/PVS-Studio
Enable the use of PVS-Studio (Static Code Analysis Tool)
2017-01-04 05:59:51 +00:00
Luke Usher e1bf7c98b5 Merge pull request #78 from x1nixmzeng/xc-args
Added unimplemented stubs for remaining Xc functions
2017-01-04 05:59:26 +00:00
x1nixmzeng 47e04465a1 Added unimplemented stubs for remaining Xc functions 2017-01-03 23:14:52 +00:00
Luke Usher a7bc9adc86 Enable the use of PVS-Studio (Static Code Analysis Tool) for Cxbx-Reloaded.
These comments activate the free for Open Source license for PVS Studio
See http://www.viva64.com/en/b/0457/ for more details.
2017-01-03 20:29:44 +00:00
PatrickvL d3e805260f Imported glew
Downloaded from
https://sourceforge.net/projects/glew/files/glew/2.0.0/glew-2.0.0-win32.zip/download
(see http://glew.sourceforge.net/index.html)

GitHub mirror on https://github.com/nigels-com/glew
2017-01-03 16:23:05 +01:00
PatrickvL e1fdb84e9a Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-03 13:46:29 +01:00
Luke Usher 8640ad77ce Merge pull request #76 from PatrickvL/master
Lots of cleanup, extra kernel signatures and implementations
2017-01-03 12:04:07 +00:00
PatrickvL cbbbb46a71 Oops! 2017-01-03 13:00:51 +01:00
PatrickvL 9ad4449ef9 Emulated EEPROM read/write
Implemented ExQueryNonVolatileSetting and ExSaveNonVolatileSetting using
emulated EEPROM values.
2017-01-03 12:17:20 +01:00
PatrickvL fedbcaf01f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-02 15:09:34 +01:00
Luke Usher 796b06ebd0 Merge pull request #62 from LukeUsher/NV2A_WORK
Fix NV2A address mapping
2017-01-01 21:44:32 +00:00
PatrickvL d6644c8dfb Removed VirtualAlloc and VirtualFree OOVPA's 2017-01-01 16:18:58 +01:00
PatrickvL c29a5b657b Logged ALLOCATION_TYPE 2017-01-01 16:17:31 +01:00
PatrickvL f5977140ae Added logging for LAUNCH_DATA_PAGE (and _HEADER) 2017-01-01 15:41:19 +01:00
PatrickvL 63fbd298a2 Removed patch on GetFileAttributes
as NtQueryFullAttributesFile is all that's needed for it.
2017-01-01 15:19:34 +01:00
PatrickvL b9c3f29e0b Removed more obsolete OOVPA's
Removed : CreateSemaphore, ReleaseSemaphore
2017-01-01 15:10:34 +01:00
PatrickvL 1081141eb2 Removed obsolete VirtualProtect OOVPA 2017-01-01 15:04:28 +01:00
PatrickvL ce3f7baffe Removed more obsolete OOVPA's
Removed : RtlCreateHeap, RtlAllocateHeap, RtlFreeHeap,
RtlReAllocateHeap, RtlSizeHeap, RtlDestroyHeap
2017-01-01 15:01:44 +01:00
PatrickvL b0d4ac9911 Removed now obsolete OOVPA's
Removed : PulseEvent, QueryPerformanceCounter,
QueryPerformanceFrequency, XGetFileCacheSize
2017-01-01 14:47:33 +01:00
PatrickvL 1e52a6196b Removed patch on EmuXGetFileCacheSize
as FscGetCacheSize is all that's needed for it.
2017-01-01 01:54:05 +01:00
PatrickvL a4420eb238 Removed patch on EmuPulseEvent
as NtPulseEvent is all that's needed for it.
2017-01-01 01:35:37 +01:00
PatrickvL 7779ac401c Removed patches on QueryPerformanceFrequency and QueryPerformanceCounter
as KeQueryPerformanceFrequency and KeQueryPerformanceCounter are all
that's needed for them.
2017-01-01 01:17:47 +01:00
PatrickvL fa257e6be7 Removed patches on CreateWaitableTimer and SetWaitableTimer
as NtCreateTimer and NtSetTimerEx are all that's needed for them.
2017-01-01 01:11:12 +01:00
PatrickvL 80eded53de Updated conversion of object attributes
so that non-file API's do not try to map filenames.
Also used CxbxObjectAttributesToNT in more kernel functions.
2017-01-01 01:10:53 +01:00
PatrickvL 49969ea47d NtCreateTimer must convert object attributes too 2017-01-01 00:15:07 +01:00
PatrickvL bebcff71e8 Repair EmuXLaunchNewImage
Symbolic links cannot be relied upon, but devices are always present, so
use those.
2016-12-31 20:00:42 +01:00
PatrickvL 74b13b7d65 Ported Dxbx PerformanceCounter implementation
This seems a better approach, since it bases it's performance counter on
a value that starts at the start of emulation, plus it returns values
scaled back to the real Xbox frequency.
2016-12-31 19:54:33 +01:00
PatrickvL 9459a2d04f Implemented KeLeaveCriticalRegion 2016-12-31 17:31:17 +01:00
PatrickvL c4a61bcf02 Implemented KeEnterCriticalRegion 2016-12-31 17:28:43 +01:00
PatrickvL 29a76be994 Implemented NtQueryMutant 2016-12-31 17:18:21 +01:00
PatrickvL 3516ce8e75 Replaced Zydis with distorm 2016-12-30 18:40:44 +01:00
PatrickvL 6ac5b06bbc Renamed EEPROM_INDEX to XC_VALUE_INDEX
Started porting over all Dxbx Io* kernel signatures
2016-12-30 14:28:52 +01:00
Luke Usher 43d2451f6a Merge pull request #73 from PatrickvL/master
Configurable LLE switches
2016-12-29 16:21:06 +00:00
PatrickvL c02009ab67 Added submenu for LLE flags 2016-12-29 16:51:10 +01:00
PatrickvL 925da89d0b Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2016-12-29 16:10:38 +01:00