- XGetDevices, moved back from 4034
- XID_fCloseDevice
- XInputClose, moved back from 4361
- XInputGetCapabilities
Added XDK 3925 OOVPAs for D3D8.
- IDirect3DDevice8_CreatePixelShader
- IDirect3DDevice8_SetPixelShader (disabled existing)
- IDirect3DDevice8_GetRenderTarget
- IDirect3DSurface8_LockRect, moved back from 4361
Added XDK 5233 OOVPAs for D3D8.
- IDirect3DResource8_IsBusy, reused from 4361
- IDirect3DTexture8_LockRect, moved back from 5558
- Lock2DSurface, reused from 3925
Removed XG 5233/5558 XGUnswizzleRect OOVPAs. Not intended for HLE, caused stack corruption.
Convert PC D3DFMT_L8 to 0x13 (linear).
Temporary HLE for Xapi GetTimeZoneInformation to satisfy _stat(...) while support for EEPROM queries is missing. OOVPAs for XDK 3911 and re-used for 5233.
Fixed weak XDK 5558 D3D IDirect3DDevice8::BlockOnFence OOVPA by adding Xref to D3D::BlockOnTime. Backported to 5233.
Sanitized EmuD3D8 function parameter debug trace formatting.
Set reference count in X_D3DResource::Common field. Titles may check this value to see if a resource is registered. "Special" resources are ignored for now due to the use of the Common field to identify them.
Register D3DFMT_A8 textures. Not supported by all devices, we should check and expand to another format if necessary.
Added XDK 5849 D3D8 OOVPAs.
- IDirect3DDevice8::BeginVisibilityTest, reused from 4627
- IDirect3DDevice8::EndVisibilityTest
- IDirect3DDevice8::GetVisibilityTestResult
- IDirect3DDevice8::GetViewport
- IDirect3DDevice8::CopyRects, reused from 5233
Minor texture coordinate normalization condition fix.
Improved inline vertex buffer handling.
Support all Xbox primitives in VertexBuffer. Quads and convex polygons are rendered by using triangles, wireframe renderering and flat shading colors will thus not be emulated correctly. Indexed meshes will still fail on patched primitives (quad list and line loop) due to lack of index buffer patching.
New D3D8 5849 OOVPAs.
- IDirect3DDevice8::DrawIndexedVerticesUP
- Reuse IDirect3DResource8::IsBusy from 4361
- Properly copy XINPUT_POLLING_PARAMETERS in EmuXInputOpen. Would crash in EmuXInputGetState when accessing said structure.
- Send gamepad insertion in first EmuXGetDeviceChanges call only. Would cause permanent "controller connected" message in some games.
- Locate XREF_D3DRS_MULTISAMPLEMODE and XREF_D3DRS_MULTISAMPLERENDERTARGETMODE.
- IDirect3DDevice8_SetRenderState_MultiSampleMode and
IDirect3DDevice8_SetRenderState_MultiSampleRenderTargetMode OOVPAs.
- D3D_CommonSetRenderTarget XRef OOVPA, reuse
EmuIDirect3DDevice8_SetRenderTarget from 4627.
- EmuIDirect3DDevice8_IsFencePending stub
- Moved back IDirect3DDevice8_InsertFence from XDK 5558
- D3D::SetFence and IDirect3DDevice8_IsFencePending 5233 OOVPAs
- Don't register stencil surface in Futurama for now
Move IDirectSoundBuffer8_SetRolloffCurve back to XDK 5233 from 5558 with minor
adjustments and renamed XRefs.
- Stubs for new functions EmuIDirectSound8_EnableHeadphones,
EmuIDirectSound8_SynchPlayback and EmuIDirectSoundBuffer8_SetMode
- Ignore unknown formats in EmuCDirectSoundStream_AddRef for now
Accept rewind flag (X_DSBPLAY_FROMSTART 0x02) in EmuIDirectSoundBuffer8_Play(...).
Convert Xbox D3DFMT 0x10 (linear) to D3DFMT_A1R5G5B5.
- NtQueryVirtualMemory to support Xapi VirtualQuery
- NtCreateSemaphore/NtReleaseSemaphore to support Xapi semaphores
- MmCreateKernelStack/MmDeleteKernelStack to support Xapi fibers
Added D3DFormat and D3DTRANSFORMSTATETYPE conversions.
- Convert PC D3DFMT_A4R4G4B4 to 0x1D (linear)
- Convert Xbox D3DFMT 0x19 (swizzled) to D3DFMT_A8
- Convert Xbox D3DFMT 0x27 (swizzled) to D3DFMT_L6V5U5
- Convert Xbox D3DTRANSFORMSTATETYPE 10 (max) to D3DTS_TEXTURE7 + 1 (experimental)
Print properly terminated XTL name in debug output.
Fixed compile errors and warnings in VC++ 9.0.
- Use /FR option instead of the deprecated /Fr
- Ignore CRT deprectaion warnings
- ISO conformant names for POSIX functions
- VertexPatcher::DumpCache() visibility
- Don't include winsock2.h in EmuXOnline.h
- NTSTATUS ambiguities in EmuKrnl.cpp
- Redundant namespaces in EmuWSAStartup(...) and EmuAllocateLDT(...)
- Removed afxres.h (MFC) dependency in resource files
Bumped blob versions.
- VC++ 9.0 libjpeg.lib (imported from OgreDependencies VC9 Eihort 20080203)
- UPX version 3.03