Luke Usher
dcf1d50541
Turns out this instance of _controlfp isn't needed either, just setting it in our Create Thread Proxy is enough for XDK titles.
2017-01-05 08:34:22 +00:00
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
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
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
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
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
PatrickvL
b9315e3e0d
Read configured LLE components from EmuShared
2016-12-29 16:06:28 +01:00
PatrickvL
8e4a9397bc
Added LLE flags to EmuShared
2016-12-29 15:57:18 +01:00
PatrickvL
5b40e9adfe
Comment possible CxbxObjectAttributesToNT callsites
2016-12-29 15:34:12 +01:00
Luke Usher
e1b9923bad
Merge branch 'master' of https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into NV2A_WORK
2016-12-29 13:19:09 +00:00
Luke Usher
c940f69f3c
Merge pull request #71 from PatrickvL/master
...
Switches for LLE APU and GPU
2016-12-29 12:33:06 +00:00
PatrickvL
ad04ffbfe4
LLE APU and GPU switches added
2016-12-29 12:00:17 +01:00
PatrickvL
e47315662a
Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master'
2016-12-26 20:30:46 +01:00
Luke Usher
ea279e1a11
Merge pull request #67 from PatrickvL/master
...
Added small typo fix
2016-12-26 19:23:25 +00:00
PatrickvL
bdc11da533
Typo fixed in RtlUshortByteSwap
2016-12-26 20:17:54 +01:00
PatrickvL
1e639d98af
Implemented RtlUshortByteSwap
2016-12-26 19:51:22 +01:00