PatrickvL
3afa4b2a42
Introduced CheckMmProtectFlags, used in MmAllocateContiguousMemoryEx and MmSetAddressProtect
...
Also fixed a typo
2018-01-09 15:13:16 +01:00
PatrickvL
aec9954183
Updated logging
...
Appended comments from Ergo720
Changed a few checks into assert's
2018-01-09 13:35:05 +01:00
PatrickvL
d049ed5a64
Fixed DEBUG build
2018-01-09 13:34:17 +01:00
PatrickvL
6206e865a6
Protect : Prevent VirtualProtect'ing invalid permissions
...
Also used consistent 4-character LOG_PREFIX
and fixed a call to UnmapViewOfFile with the wrong base.
2018-01-09 13:13:33 +01:00
PatrickvL
e0eca70326
Introduced the notion of PageType's
...
Replaced bool bContiguous argument with enum PageType.
Passed this along to PhysicalMemory AllocatePhysicalMemory, AllocatePhysicalMemoryRange and AllocateFragmented.
AllocateFragmented denies and warns on Contiguous allocations.
Updated a number of kernel API's to use the correct PageType.
2018-01-09 12:53:28 +01:00
PatrickvL
4f2732209a
Replace `MemoryManager` by `VMManager` also in comments and disabled code
2018-01-09 12:53:28 +01:00
PatrickvL
81b3d5c0bd
EMUPATCH(D3DDevice_CreatePalette2) : Call xboxkrnl::MmAllocateContiguousMemory instead of underlying g_VMManager
2018-01-09 12:53:28 +01:00
patrickvl
6b94381cac
Default page protection for contiguous memory shouldn't include EXECUTE rights
...
Also added a TODO for future research
2018-01-09 12:53:28 +01:00
patrickvl
0fbb9057a0
Invert bNonContiguous arguments to make them slightly easier to understand
...
Also, fail when contiguous memory hit AllocateFragmented (it isn't allowed to).
Added a TODO to prevent calling AllocateFragmented entirely.
2018-01-09 12:53:28 +01:00
patrickvl
a9c0000927
Fixed typos
2018-01-09 12:53:28 +01:00
Luke Usher
0709152531
Merge pull request #843 from jarupxx/D3D_OOVPA
...
Improved D3DDevice_SetRenderState_MultiSampleRenderTargetMode OOVPA
2018-01-09 09:59:16 +00:00
jarupxx
7ea73aa763
Improved D3DDevice_SetRenderState_MultiSampleRenderTargetMode OOVPA
...
Fix Smashing Drive regression.
2018-01-09 18:26:04 +09:00
PatrickvL
660c4483b0
Merge pull request #841 from Fisherman166/master
...
Print String Representations of GameRegion and AllowedMedia
2018-01-08 08:27:50 +01:00
Fisherman166
24d916e765
Print AllowedMedia string in XBE dump for issue #686
2018-01-07 21:13:37 -08:00
Fisherman166
93854435d5
Print game region string in XBE dump for issue #686 . Remove duplicate implementation of function in Kernal.
2018-01-07 20:23:29 -08:00
Fisherman166
d155aa64cb
Remove _CXBXKRNL_INTERNAL define for issue #820
2018-01-07 22:02:08 +01:00
Luke Usher
e054514e99
Merge pull request #837 from LukeUsher/xbox-function-pointer-tweak
...
GetXboxFunctionPointer needs to account for _UNPATCHED suffix
2018-01-07 14:11:18 +00:00
Luke Usher
301de5889c
Enable all Audio codecs by default
2018-01-07 14:06:47 +01:00
Luke Usher
b01346154d
GetXboxFunctionPointer needs to account for _UNPATCHED suffix
2018-01-07 11:12:23 +00:00
Luke Usher
f5ea8c693b
Restore unknown vertex buffer/push buffer size checks after implementation of VMManager
2018-01-05 23:40:14 +01:00
jarupxx
1cc0220b2e
Fixup D3DDevice_(Lazy)SetStateVB, D3DDevice_(Lazy)SetStateUP OOVPA
...
These functions added a Lazy prefix in XDK 5028.
Strengthened OOVPA to prevent duplicate detection.
Verified with
[4034] Dark Summit
[4039] New Legends
[4134] Double-S.T.E.A.L
[4242] NFL Blitz 2002
[4361] Hunter The Reckoning
[4432] RedCard 2003
[4531] NHL HITZ 2003
[4627] MLB SlugFest 2003
[4721] Terminator - Dawn of Fate
[4831] Frogger Beyond
[4928] Drihoo
[5028] Shikigami no Shiro Evolution
[5120] N.U.D.E.@
[5233] Evil Dead
[5344] Gladius OXM DEMO
[5455] Dinosaur Hunting
[5558] NHL HITZ Pro 2004
[5659] Midway Arcade Treasures - Paperboy
[5788] Digimon Battle Chronicle
[5849] Nickelodeon Tak 2
2018-01-05 07:34:34 +01:00
Luke Usher
07e274ed4f
Merge pull request #830 from LukeUsher/wine-wow64-detection
...
Check for WoW64 and Wine version
2018-01-04 20:58:45 +00:00
Luke Usher
d3faff8872
Fix Wine, for real this time
2018-01-04 20:45:50 +00:00
Luke Usher
53dcd92d4d
Add Wow64 Check and log some environment information to KrnlDebug.log (And Wine version, if detected
2018-01-04 20:12:08 +00:00
Luke Usher
6abb41304a
Merge pull request #828 from PatrickvL/Krnl_Ob
...
Kernel : Place object names before OBJECT_HEADER
2018-01-04 10:45:31 +00:00
patrickvl
99149e707d
Kernel : Place object names before OBJECT_HEADER
2018-01-03 20:54:48 +01:00
PatrickvL
2c5f355608
Merge pull request #826 from ergo720/Memory.bin
...
Fix an issue with memory.bin in wine
2018-01-03 17:28:52 +01:00
ergo720
bacf07ce71
Deleted folder with incorrect cpp source from PatrickvL
2018-01-03 13:15:31 +01:00
ergo720
5746525289
Fix an issue with memory.bin in wine
2018-01-03 13:00:09 +01:00
Luke Usher
af8384703e
Merge pull request #825 from PatrickvL/KRNL_printf
...
Kernel printf API's
2018-01-03 09:32:24 +00:00
patrickvl
bc091bcbbd
Rtl* : Use argument types from xboxkrnl.h instead of standard c types
2018-01-02 23:05:46 +01:00
PatrickvL
d60bd90dcb
Added (untested) printf kernel API's
2018-01-02 22:37:36 +01:00
PatrickvL
4c3701d2c9
Merge pull request #824 from Luca1991/kernel_stuff
...
Kernel stuff
2018-01-02 21:30:30 +01:00
PatrickvL
984e2bd510
Merge pull request #821 from ergo720/memory
...
Virtual memory manager + Kernel memory functions implementation
2017-12-31 23:55:38 +01:00
ergo720
b0cfd2d8de
Patches
2017-12-31 20:48:22 +01:00
ergo720
eed9fc75f2
Bug fixes
2017-12-30 17:12:11 +01:00
ergo720
a3f5a4ce74
Oops
2017-12-30 11:00:24 +01:00
ergo720
513d70c010
NtAllocateVirtualMemory/NtFreeVirtualMemory stubs
2017-12-30 01:09:18 +01:00
ergo720
63b85f5f3e
Small amend
2017-12-29 12:24:43 +01:00
ergo720
4c393e8ae1
Overlapped allocations + Chihiro/Debug stuff
2017-12-29 11:41:40 +01:00
jarupxx
b5a3d23fc8
Restore CloseHandle OOVPA
2017-12-21 13:26:43 +01:00
jarupxx
efb24b2015
Fixup an comment and OOVPA
...
Revert
- Comment-block in XAPI
- lstrcmpiW 3911
- ReadFileEx 3911
- WriteFileEx 3911
- D3DDevice_SetStreamSource 4034
Remove
- CDirectSound_EnableHeadphones 3911
2017-12-21 12:37:51 +01:00
jarupxx
5ad5d5e79d
Formatting
2017-12-21 12:37:51 +01:00
jarupxx
36a7306b17
Replace TAB to 4 spaces
2017-12-21 12:37:51 +01:00
jarupxx
1af3ca87a6
Add Notes
2017-12-21 12:37:51 +01:00
jarupxx
682e54b246
Remove unused revision in REGISTER_OOVPAS
2017-12-21 12:37:51 +01:00
jarupxx
00e5ac056a
Remove unused HLEDataBase files
2017-12-21 12:37:51 +01:00
jarupxx
e715525d7d
XAPILIB HLEDataBase Cleanup
...
Removes Comment outed REGISTER_OOVPAS and invalid OOVPA
2017-12-21 12:37:51 +01:00
jarupxx
80a566cc8b
XactEng HLEDataBase Cleanup
2017-12-21 12:37:51 +01:00
jarupxx
9d491556af
XOnline HLEDataBase Cleanup
2017-12-21 12:37:51 +01:00