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
patrickvl
6e49e049aa
X86 : Merged al mem reads into one EmuX86_Mem_Read
2018-01-10 17:08:37 +01:00
PatrickvL
5fa62fa473
X86 : Avoid size-diverging (and later re-merging) of IO read and write calls
2018-01-10 17:08:35 +01:00
PatrickvL
ec01f039a5
NVNet : Corrected bar order and a typo
2018-01-10 17:08:34 +01:00
PatrickvL
1b579e2c4b
NVNet : Converted into a PCI device
2018-01-10 17:08:32 +01:00
PatrickvL
4d1225e181
X86 belongs in Hardware project-filter too.
2018-01-10 17:08:31 +01:00
PatrickvL
7717dd08df
PCIDevice : Disabled unused symbols
2018-01-10 17:08:29 +01:00
PatrickvL
82ddba3536
PCIBus : Made IOWriteConfigAddress(), IOWriteConfigData() and IOReadConfigData() private, by moving their calls towards the PCIBus itself.
...
X86 : Forwarded 8 and 16 byte IO to PCI bus too.
SMBus : Deny non-byte-sized accesses.
2018-01-10 17:08:28 +01:00
PatrickvL
3754b3b338
SMC : Added LED sequences and HardwareModel, simplified PICVersionString
2018-01-10 17:08:26 +01:00
PatrickvL
3576d5c9e3
SMC : Added notes from Ergo720
2018-01-10 17:08:25 +01:00
PatrickvL
d573d41f18
HalReadSMBusValue & HalWriteSMBusValue : Check for success
2018-01-10 17:08:23 +01:00
PatrickvL
e1a9a95e0a
SMC : Renamed device from PIC16LC (since we're only emulating it at a functional level, not low level).
2018-01-10 17:08:22 +01:00