Added XG for 4432.

This commit is contained in:
blueshogun96 2011-06-15 08:17:53 +00:00
parent caa409ea83
commit 00097449c6
6 changed files with 133 additions and 0 deletions

View File

@ -214,6 +214,8 @@ PVOID WINAPI XTL::EmuRtlAllocateHeap
// JSRF test
// if( !pRet ) __asm int 3;
if( dwBytes == 0x2D0BC0 )
__asm int 3;
EmuSwapFS(); // XBox FS
@ -1425,6 +1427,11 @@ HANDLE WINAPI XTL::EmuXGetSectionHandleA
pRet = (void*) 0x38E6A0;
}
// Taz Wanted (NTSC)
/*else if(!strcmp(pSectionName, "sig" ))
{
pRet = (void*) 0x*/
// Red Star (Unknown Region)
/*else if(!strcmp(pSectionName, "BINK32"))
{

View File

@ -72,6 +72,7 @@ extern "C" const char *szHLELastCompileTime = __TIMESTAMP__;
#include "HLEDataBase/XG.1.0.3911.inl"
#include "HLEDataBase/XG.1.0.4034.inl"
#include "HLEDataBase/XG.1.0.4361.inl"
#include "HLEDataBase/XG.1.0.4432.inl"
#include "HLEDataBase/XG.1.0.4627.inl"
#include "HLEDataBase/XG.1.0.5233.inl"
#include "HLEDataBase/XG.1.0.5558.inl"
@ -297,6 +298,13 @@ HLEData HLEDataBase[] =
1, 0, 4361,
XG_1_0_4361,
XG_1_0_4361_SIZE
},
// XG Version 1.0.4432
{
"XGRAPHC",
1, 0, 4432,
XG_1_0_4432,
XG_1_0_4432_SIZE
},
// XG Version 1.0.4627
{

View File

@ -64,6 +64,7 @@
#include "HLEDataBase/XG.1.0.3911.h"
#include "HLEDataBase/XG.1.0.4034.h"
#include "HLEDataBase/XG.1.0.4361.h"
#include "HLEDataBase/XG.1.0.4432.h"
#include "HLEDataBase/XG.1.0.4627.h"
#include "HLEDataBase/XG.1.0.5233.h"
#include "HLEDataBase/XG.1.0.5558.h"

View File

@ -86,6 +86,29 @@ SOOVPA<7> XGWriteSurfaceOrTextureToXPR_1_0_4627 =
}
};
// ******************************************************************
// * XGUnswizzleRect
// ******************************************************************
SOOVPA<8> XGUnswizzleRect_1_0_4627 =
{
0, // Large == 0
8, // Count == 8
-1, // Xref Not Saved
0, // Xref Not Used
{
{ 0x1E, 0x03 },
{ 0x3E, 0x00 },
{ 0x5E, 0xD2 },
{ 0x7E, 0x75 },
{ 0x9E, 0x70 },
{ 0xC1, 0xE9 },
{ 0xDE, 0x89 },
{ 0xFE, 0x60 },
}
};
// ******************************************************************
// * XG_1_0_4627
// ******************************************************************
@ -110,6 +133,16 @@ OOVPATable XG_1_0_4627[] =
#ifdef _DEBUG_TRACE
"EmuXGSwizzleRect"
#endif
},
// XGUnswizzleRect
{
(OOVPA*)&XGUnswizzleRect_1_0_4627,
XTL::EmuXGUnswizzleRect,
#ifdef _DEBUG_TRACE
"EmuXGUnswizzleRect"
#endif
},
// XGSwizzleBox
{

View File

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XG.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XG_1_0_5849_H
#define XG_1_0_5849_H
#include "OOVPA.h"
extern OOVPATable XG_1_0_5849[];
extern uint32 XG_1_0_5849_SIZE;
#endif

View File

@ -0,0 +1,42 @@
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;;, .,;; ;;;'';;' `;;;, .,;;
// * [[[ '[[,,[[' [[[__[[\. '[[,,[['
// * $$$ Y$$$P $$""""Y$$ Y$$$P
// * `88bo,__,o, oP"``"Yo, _88o,,od8P oP"``"Yo,
// * "YUMMMMMP",m" "Mm,""YUMMMP" ,m" "Mm,
// *
// * Cxbx->Win32->CxbxKrnl->XOnline.1.0.5849.h
// *
// * This file is part of the Cxbx project.
// *
// * Cxbx and Cxbe are free software; you can redistribute them
// * and/or modify them under the terms of the GNU General Public
// * License as published by the Free Software Foundation; either
// * version 2 of the license, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have recieved a copy of the GNU General Public License
// * along with this program; see the file COPYING.
// * If not, write to the Free Software Foundation, Inc.,
// * 59 Temple Place - Suite 330, Bostom, MA 02111-1307, USA.
// *
// * (c) 2002-2003 Aaron Robinson <caustik@caustik.com>
// *
// * All rights reserved
// *
// ******************************************************************
#ifndef XONLINE_1_0_5849_H
#define XONLINE_1_0_5849_H
#include "OOVPA.h"
extern OOVPATable XOnline_1_0_5849[];
extern uint32 XOnline_1_0_5849_SIZE;
#endif