Luke Usher
b460464d47
Merge pull request #868 from PatrickvL/VariousFixes
...
Various fixes
2018-01-21 09:02:20 +00:00
blueshogun96
1a650f280e
Increase stack reserve and commit size (stops Azurik from crashing during FMVs in release mode)
2018-01-20 16:10:07 -08:00
blueshogun96
4ee53eaa0d
Remove double slashes from file paths
2018-01-20 15:53:23 -08:00
blueshogun96
46259aeb02
Azurik 3D rendering fix (D3DDevice_LoadVertexShaderProgram)
2018-01-20 15:44:07 -08:00
blueshogun96
8bdc6ae6f9
Merge remote-tracking branch 'upstream/master'
2018-01-20 15:11:56 -08:00
PatrickvL
c09210d12b
Log SetLEDSequence
2018-01-19 17:40:33 +01:00
PatrickvL
ac88ecbe95
Switched over to new color-format conversion (required lowering an #endif)
...
My tests thus far show no regressions!
2018-01-19 17:18:12 +01:00
PatrickvL
06eb0f3a5c
Unpatched D3DResource_AddRef, and avoid calling it wherever possible
2018-01-19 17:16:27 +01:00
PatrickvL
1f7e8c9877
SMBus::ConnectDevice requires the same address-translation as ExecuteTransaction (otherwise, devices can't be found).
2018-01-19 17:14:20 +01:00
PatrickvL
81e2764aaf
HalWriteSMBusValue typo fix that allows it to succeed after the final IORead
2018-01-19 17:12:44 +01:00
PatrickvL
69c7d6b99f
New EMUPATCH(D3DDevice_GetTexture), forwarded to D3DDevice_GetTexture2.
...
Corrected all texture-related types to X_D3DBaseTexture.
Added a few safeguards against accessing null pointers (this part is the only functional change of this commit).
2018-01-19 13:56:10 +01:00
Luke Usher
8a63e00996
Merge pull request #866 from PatrickvL/ARGB_preparations
...
Introduced ConvertD3DTextureToARGBBuffer
2018-01-18 21:12:14 +00:00
PatrickvL
e141cdb78e
Introduced ConvertD3DTextureToARGBBuffer (already used by ConvertD3DTextureToARGB for showing logo's) in preparation on removing the OLD_COLOR_CONVERSION define
2018-01-18 17:55:55 +01:00
PatrickvL
0398d19e5b
Merge pull request #865 from LukeUsher/fix-issue-xboxdash
...
Fix an issue where Xbox Dashboard could not successfully launch XOnlineDash
2018-01-15 14:47:05 +01:00
PatrickvL
34330a6265
Merge pull request #864 from LukeUsher/vertex-buffer-register-memory
...
Fix an issue where D3DResource_Register returned a host pointer to Xbox code
2018-01-15 14:42:26 +01:00
Luke Usher
c59ce5ccee
Fix an issue where Xboxdash could not properly launch Xonlinedash.
2018-01-15 13:30:05 +00:00
Luke Usher
8940e670d9
Fix an issue where CxbxKrnl_DebugFileName could become a pointer to invalid memory.
...
This happened if the original std::string DebugFileName went out of scope.
The solution is to store the actual data as CxbxKrnl_DebugFilename rather than a pointer.
2018-01-15 13:29:21 +00:00
Luke Usher
a24579d0aa
Fix an issue where D3DResource_Register returned a host pointer to Xbox code
2018-01-15 13:05:55 +00:00
patrickvl
8f22515b7d
CxbxKrnlRegisterThread refactoring; All callers first called DuplicateHandle. Now this is part of CxbxKrnlRegisterThread itself. Also, a possible failure of DuplicateHandle is logged.
2018-01-15 09:31:43 +00:00
PatrickvL
2723bef3d9
CxbxRestoreLaunchDataPage : Fixed a pointer-arithmetic bug, spotted by hotzenplotz3000
2018-01-15 09:30:32 +00:00
Luke Usher
b076e6caab
Move CxbxRestorePersistentMemoryRegions to after CxbxRestoreContigousMemory
2018-01-15 09:30:32 +00:00
Luke Usher
6ab673a05c
Merge pull request #858 from LukeUsher/fix-create-thread-regression
...
Wait betweeen CreateThread and WaitForSingleObject
2018-01-14 11:54:49 +00:00
Luke Usher
a46992394a
Wait betweeen CreateThread and WaitForSingleObject
2018-01-14 10:52:08 +00:00
PatrickvL
39c4b4eebe
Merge pull request #856 from LukeUsher/fix-createdevice-debug
...
Fix an issue where textures/surfaces sometimes used the wrong base address.
2018-01-14 00:18:58 +01:00
Luke Usher
a81a881949
Fix an issue where some software was using the wrong memory address for surface/texture resources
2018-01-13 23:05:11 +00:00
Luke Usher
a8b78eb2c8
Merge pull request #853 from PatrickvL/ThreadCreation
...
PsCreateSystemThreadEx : Waiting for thread-creation updated
2018-01-13 21:15:32 +00:00
Luke Usher
d590472e23
Merge pull request #854 from PatrickvL/XbeFlagsDumping
...
Xbe flags are now dumped correctly
2018-01-13 21:04:18 +00:00
patrickvl
eae87ba5f7
Xbe flags are now dumped correctly (only the first bitfield was shown, now the entire value)
2018-01-13 17:07:33 +01:00
patrickvl
6eca7d5d0b
PsCreateSystemThreadEx : Waiting for thread-creation updated, so it waits for the correct handle, avoids access-violations, releases resources correctly and logs additional details on waiting errors.
2018-01-13 16:34:17 +01:00
PatrickvL
4fd2c7c2e9
Merge pull request #852 from jarupxx/D3D_OOVPA2
...
Add XRefSaveIndex into #ifndef WIP_LessVertexPatching
2018-01-13 12:47:12 +01:00
jarupxx
a433ee91c6
Add XRefSaveIndex into #ifndef WIP_LessVertexPatching
2018-01-13 16:38:38 +09:00
Luke Usher
51db1a2fbc
Merge pull request #851 from x1nixmzeng/catch-fs-exception
...
Catch exceptions with experimental filesystem library
2018-01-13 01:43:43 +00:00
x1nixmzeng
8b908c4d68
Catch exceptions with experimental filesystem library
2018-01-13 00:40:34 +00:00
PatrickvL
5ce5da7036
Merge pull request #848 from LukeUsher/reference-counting-tweak
...
GetTexture and GetBackBuffer should increment the reference count
2018-01-12 18:22:15 +01:00
Luke Usher
c08b3b3cfb
GetTexture and GetBackBuffer should increment the reference count
2018-01-12 15:45:00 +00:00
PatrickvL
08c44bd403
Added link to AppVeyor builds history
2018-01-11 11:49:25 +01:00
Luke Usher
340a2bddfc
Merge pull request #846 from LukeUsher/disable-pixel-shaders
...
Implement Disable pixel shaders hack
2018-01-10 21:25:27 +00:00
Luke Usher
58e562b753
Add often requested hack to disable pixel shaders
2018-01-10 21:03:52 +00:00
PatrickvL
75a891ca50
Merge pull request #845 from LukeUsher/PCI
...
Skeleton PCI Device Support
2018-01-10 17:08:57 +01:00
PatrickvL
cf94cf8d7b
PCI : Move Xbox hardware initialization towards it's own file
2018-01-10 17:08:55 +01:00
patrickvl
d01441ba86
X86 : One extra OUT marker
2018-01-10 17:08:53 +01:00
patrickvl
fe85e53626
X86 : Refactored retrieval of operand addresses, allowing early detection of writes to immediate values (which are now logged and marked as an opcode-handling failure).
2018-01-10 17:08:51 +01:00
patrickvl
fccf243cb7
X86 : EmuX86_Addr_Read can just return it's resultant value.
...
EmuX86_Opcode_ADD can write it's result to a register, of course.
2018-01-10 17:08:50 +01:00
patrickvl
3c4331ad3f
X86 : Only fail opcode handling if operands can't be decoded.
...
Operand read or write failues won't bail out anymore.
Logging unhandled opcodes separate from opcode handling errors.
Log useless (internal) operand writes (these should never occur)
2018-01-10 17:08:48 +01:00
patrickvl
e7f69b0aaa
D3D : Prevent crashing on cube textures entering EmuUnswizzleTextureStages
2018-01-10 17:08:46 +01:00
patrickvl
68ad85a74c
X86 : Like before, gracefully ignore unaligned accesses
2018-01-10 17:08:44 +01:00
patrickvl
edfee9935d
Simplified child-process debugging
2018-01-10 17:08:43 +01:00
patrickvl
3521300ad8
X86 Nv2A : Use consistent sizes. Also fixed succeeding OUT opcode.
2018-01-10 17:08:41 +01:00
patrickvl
370746412c
X86 :
...
Merged all 8,16, 32 bit (and aligned) read and writes into single implementations.
Centralized retrieving (corrected) operand size.
Return failed writes.
Sped up all opcode-handlers that access operands twice, to retrieve the operand information only once.
2018-01-10 17:08:40 +01:00
patrickvl
48d958ae4a
X86 : Merged al mem writes into one EmuX86_Mem_Write
2018-01-10 17:08:38 +01:00