Commit Graph

623 Commits

Author SHA1 Message Date
Daniel Stien 97e52aa668 Use C++ libc headers.
Fixed Xapi interception regression.
2008-08-24 04:54:44 +00:00
Daniel Stien cb1dbe458c Added XDK 5233 OOVPAs for D3D8.
- 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.
2008-08-23 03:32:59 +00:00
Daniel Stien 52db07e9a6 Added XDK 5233 OOVPAs for Xapi.
- XInputGetCapabilities
- SetThreadPriority/SetThreadPriorityBoost

Added XDK 5233 OOVPAs for D3D8.
- IDirect3DDevice8_GetViewport
- IDirect3DDevice8_SetScissors
- IDirect3DDevice8_CreateTexture

Added XDK 5233 OOVPAs for DSound.
- EmuCDirectSoundStream_SetMixBins stub
- CDirectSoundStream::SetFrequency and CDirectSoundStream::SetMixBins

Implemented SetRenderState_YuvEnable hack drawing YUV surface to overlay. Will
cause massive flickering during playback due to repeatedly overlay
initialization.

Properly AddRef(...) fake YUY2 textures.
2008-08-23 03:11:11 +00:00
Daniel Stien 8de73a718e Print stack trace on exceptions in debug mode.
Workaround for time_t* cast failure in XBE dump.

Custom version string suffix.
2008-08-23 02:48:38 +00:00
Daniel Stien 1872177ff1 Added several 5233 DSound OOVPAs and stubs for new functions.
- 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.
2008-08-23 02:35:58 +00:00
Daniel Stien 561c3b7d4f Implemented several kernel functions.
- 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.
2008-08-23 02:14:20 +00:00
Daniel Stien ced145e4be Added several 5233 D3D8 OOVPAs and stub for new function
EmuIDirect3DDevice8_SetScreenSpaceOffset(...).
2008-08-23 01:55:53 +00:00
Daniel Stien 7bc22a857f Added XDK 5233 HLE for Xapi, XG, D3D8 and DSound. Initial OOVPAs are reused
from earlier compatible versions or backported from 5558.
2008-08-23 01:50:33 +00:00
Daniel Stien 199136e926 Expanded tabs and trimmed EOL whitespace. 2008-08-23 01:29:07 +00:00
Daniel Stien df389d51f4 MS VC++ 9.0 solution and project files.
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
2008-08-23 00:49:24 +00:00
martin_sw ec1781fd5b Small bugfix 2007-08-11 11:11:18 +00:00
martin_sw 6ea335a188 Forgot to add some files 2007-08-11 11:04:05 +00:00
martin_sw 9ea9791e02 Battlestar Galactica *PAL* now runs somewat ok. Added many random things. 2007-08-09 19:29:07 +00:00
martin_sw de318911ef 2007-08-09 15:08:53 +00:00
Aaron Robinson 3a5b3f3718 nothing 2006-08-21 00:50:38 +00:00
Aaron Robinson ef62e92af2 - updated to latest UPX (2.01)
- added doc section for UPX
2006-07-17 23:34:09 +00:00
Aaron Robinson 66a548584b obsolete 2006-07-17 23:29:31 +00:00
Aaron Robinson 2b7cc8f2d8 comment cleanup 2006-07-17 02:20:05 +00:00
Aaron Robinson de13bc16ef sorta fixed gnu Makefile 2006-07-15 03:08:24 +00:00
Aaron Robinson 8debdb094f - source moved to src
- project files and workspace moved to build\win32
2006-07-15 02:50:46 +00:00
Aaron Robinson a21e652da5 - fixed export script (added debug with pdb and all) 2006-07-15 02:19:18 +00:00
Aaron Robinson b774816f03 Renamed remotely 2006-07-15 02:04:43 +00:00
Aaron Robinson 62f3d8cca1 Renamed remotely 2006-07-15 02:04:31 +00:00
Aaron Robinson 93d0cf1e8c Removed file/folder 2006-07-15 02:03:42 +00:00
Aaron Robinson 10835748c3 Renamed remotely 2006-07-15 02:03:02 +00:00
Aaron Robinson 84badde5a6 Removed file/folder 2006-07-15 02:02:10 +00:00
Aaron Robinson c1a67d2eb2 Renamed remotely 2006-07-15 02:01:53 +00:00
Aaron Robinson 70a4de42a4 Renamed remotely 2006-07-15 02:01:40 +00:00
Aaron Robinson 969d9083c5 Renamed remotely 2006-07-15 02:01:16 +00:00
Aaron Robinson 3b5c243a3d Renamed remotely 2006-07-15 02:01:01 +00:00
Aaron Robinson 50845a3ef4 Renamed remotely 2006-07-15 02:00:38 +00:00
Aaron Robinson 789ed48b5e Renamed remotely 2006-07-15 02:00:24 +00:00
Aaron Robinson 8d544e6af6 debug / release bin directories 2006-07-15 01:59:15 +00:00
Aaron Robinson 7693c3bb22 removing for new dirs 2006-07-15 01:56:16 +00:00
Aaron Robinson 959ccfd79c lil bit of cleanup 2006-07-15 01:55:15 +00:00
Aaron Robinson 550b1a27f7 moved to trunk 2006-07-15 01:13:42 +00:00
Aaron Robinson 50174b4df3 added a configure all button 2006-07-10 03:02:13 +00:00
Aaron Robinson 2e8e6b5a82 removed obsolete buttons 2006-07-10 02:46:03 +00:00
Aaron Robinson b0012b5d80 this is a bit easier to read 2006-07-10 02:40:06 +00:00
Aaron Robinson 4bfaea71d4 enable / disable buttons when appropriate 2006-07-10 02:38:24 +00:00
Aaron Robinson 80f7ebc644 cleanup 2006-07-10 02:24:20 +00:00
Aaron Robinson 2114c22edc cleanup 2006-07-10 01:49:07 +00:00
Aaron Robinson 4f8a20eee5 go away, directory 2006-07-07 05:11:36 +00:00
Aaron Robinson fc5235b01b checking in progress to vs2005 support 2006-06-02 06:05:32 +00:00
Aaron Robinson a0358b4408 vs2005 fixes 2006-06-02 06:00:09 +00:00
Aaron Robinson 6485390137 vs2005 fixes 2006-06-02 05:54:06 +00:00
Aaron Robinson a256188184 fixed a bad cast 2006-06-02 05:51:02 +00:00
Aaron Robinson f92a195946 include file path fixes 2006-06-02 05:43:37 +00:00
Aaron Robinson e848d537dd include file path fixes 2006-06-02 05:42:10 +00:00
Aaron Robinson 0606870670 sourceforge randomly decided to add this directory back in?? 2006-06-02 05:32:00 +00:00