Trim and tweak a bunch of includes, and a few headers.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2197 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-11-14 12:02:56 +00:00
parent 7c0d91ce86
commit ba37f31849
70 changed files with 220 additions and 225 deletions

View File

@ -14,16 +14,19 @@
*/
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "AppConfig.h"
#include <ctype.h>
#include <wx/datetime.h>
#include "IopCommon.h"
#include "CDVD.h"
#include "CDVD_internal.h"
#include "CDVDisoReader.h"
#include "GS.h" // for gsRegionMode
#include "Elfheader.h"
#include "ps2/BiosTools.h"
#include "AppConfig.h"
static cdvdStruct cdvd;

View File

@ -15,6 +15,7 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#define ENABLE_TIMESTAMPS
@ -25,13 +26,11 @@
#include <ctype.h>
#include <time.h>
#include <wx/datetime.h>
#include "IopCommon.h"
#include "CDVDisoReader.h"
#include <exception>
#include "IsoFS/IsoFS.h"
#include "IsoFS/IsoFSCDVD.h"
#include <exception>
#include "CDVDisoReader.h"
const wxChar* CDVD_SourceLabels[] =
{

View File

@ -21,6 +21,7 @@
*/
#include "PrecompiledHeader.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

View File

@ -15,9 +15,11 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "CdRom.h"
#include "CDVD.h"
//THIS ALL IS FOR THE CDROM REGISTERS HANDLING
#define CdlSync 0

View File

@ -1,5 +1,21 @@
/* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2009 PCSX2 Dev Team
*
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* PCSX2 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 received a copy of the GNU General Public License along with PCSX2.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "IsoFS.h"
#include "IsoFile.h"

View File

@ -1,4 +1,21 @@
/* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2009 PCSX2 Dev Team
*
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* PCSX2 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 received a copy of the GNU General Public License along with PCSX2.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "IsoFSCDVD.h"
#include "../CDVDaccess.h"

View File

@ -1,4 +1,20 @@
#include "PrecompiledHeader.h"
/* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2009 PCSX2 Dev Team
*
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* PCSX2 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 received a copy of the GNU General Public License along with PCSX2.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "IsoFS.h"
#include "IsoFile.h"

View File

@ -16,14 +16,13 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
//#include "IsoFStools.h"
//#include "IsoFSdrv.h"
#include "IsoFileFormats.h"
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include "IsoFileFormats.h"
int detect(isoFile *iso)
{
u8 buf[2448];

View File

@ -15,10 +15,7 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "R5900.h"
#include "R5900OpcodeTables.h"
u32 s_iLastCOP0Cycle = 0;
u32 s_iLastPERFCycle[2] = { 0, 0 };
@ -557,4 +554,4 @@ void EI() {
}
}
} } } } // end namespace R5900::Interpreter::OpcodeImpl
} } } } // end namespace R5900::Interpreter::OpcodeImpl

View File

@ -15,12 +15,9 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "DebugTools/Debug.h"
#include "R5900.h"
#include "R5900OpcodeTables.h"
#include "VUops.h"
#include "VUmicro.h"
using namespace R5900;

View File

@ -15,7 +15,6 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "Cache.h"
@ -396,4 +395,4 @@ void CACHE() {
#endif
}}
}}

View File

@ -17,23 +17,17 @@
#include "Pcsx2Defs.h"
#define BIAS 2 // Bus is half of the actual ps2 speed
//#define PS2CLK 36864000 /* 294.912 mhz */
//#define PSXCLK 9216000 /* 36.864 Mhz */
//#define PSXCLK 186864000 /* 36.864 Mhz */
#define PS2CLK 294912000 //hz /* 294.912 mhz */
#include "System.h"
#include "Plugins.h"
#include "SaveState.h"
#include "DebugTools/Debug.h"
#include "Memory.h"
#include "Hw.h"
#include "R5900.h"
#include "Elfheader.h"
#include "SaveState.h"
#include "DebugTools/Debug.h"
static const u32 BIAS = 2; // Bus is half of the actual ps2 speed
static const u32 PS2CLK = 294912000; //hz /* 294.912 mhz */
//#define PS2CLK 36864000 /* 294.912 mhz */
static const ConsoleColors ConColor_IOP = Color_Yellow;
static const ConsoleColors ConColor_EE = Color_Cyan;

View File

@ -15,13 +15,13 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include <time.h>
#include <cmath>
#include "Common.h"
#include "Counters.h"
#include "R3000A.h"
#include "Counters.h"
#include "IopCounters.h"
#include "GS.h"

View File

@ -15,6 +15,7 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "Counters.h"
#include "iCore.h"
#include "iR5900.h"

View File

@ -14,10 +14,8 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
//#include "CDVD/IsoFSdrv.h"
#include "DebugTools/Debug.h"
#include "GS.h" // for sending game crc to mtgs
#include "CDVD/IsoFS/IsoFSCDVD.h"

View File

@ -14,11 +14,9 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include <cmath>
#include "Common.h"
#include "R5900.h"
#include "R5900OpcodeTables.h"
// Helper Macros
//****************************************************************

View File

@ -19,7 +19,6 @@
#include "GS.h"
#include "Vif.h"
#include "VifDma.h"
#include "IPU/IPU.h"
//////////////////////////////////////////////////////////////////////////

View File

@ -14,15 +14,13 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include <list>
#include "Common.h"
#include "GS.h"
#include "Gif.h"
#include "iR5900.h"
#include "Counters.h"
#include "VifDma.h"
using namespace Threading;
using namespace R5900;

View File

@ -15,9 +15,10 @@
#include "PrecompiledHeader.h"
#include "GS.h"
#include <list>
#include "GS.h"
#ifdef PCSX2_DEVBUILD
// GS Playback

View File

@ -14,16 +14,14 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include "VU.h"
#include "Tags.h"
#include "GS.h"
#include "Gif.h"
#include "VifDma.h"
#include "iR5900.h"
#include "Counters.h"
#include "Tags.h"
using std::min;

25
pcsx2/Hardware.h Normal file
View File

@ -0,0 +1,25 @@
/* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2009 PCSX2 Dev Team
*
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* PCSX2 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 received a copy of the GNU General Public License along with PCSX2.
* If not, see <http://www.gnu.org/licenses/>.
*/
// The full suite of hardware APIs:
#include "Counters.h"
#include "GS.h"
#include "Hw.h"
#include "IPU/IPU.h"
#include "SPR.h"
#include "Gif.h"
#include "Sif.h"
#include "Vif.h"
#include "VifDma.h"

View File

@ -15,22 +15,11 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "iR5900.h"
#include "VUmicro.h"
#include "IopMem.h"
// The full suite of hardware APIs:
#include "IPU/IPU.h"
#include "GS.h"
#include "Counters.h"
#include "Vif.h"
#include "VifDma.h"
#include "SPR.h"
#include "Sif.h"
#include "Tags.h"
#include "Hardware.h"
using namespace R5900;
u8 *psH; // hw mem

View File

@ -15,20 +15,9 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "iR5900.h"
#include "VUmicro.h"
#include "IopMem.h"
// The full suite of hardware APIs:
#include "IPU/IPU.h"
#include "GS.h"
#include "Counters.h"
#include "Vif.h"
#include "VifDma.h"
#include "SPR.h"
#include "Sif.h"
#include "Hardware.h"
using namespace R5900;

View File

@ -15,21 +15,9 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "iR5900.h"
#include "VUmicro.h"
#include "IopMem.h"
// The full suite of hardware APIs:
#include "IPU/IPU.h"
#include "GS.h"
#include "Gif.h"
#include "Counters.h"
#include "Vif.h"
#include "VifDma.h"
#include "SPR.h"
#include "Sif.h"
#include "Hardware.h"
using namespace R5900;

View File

@ -14,14 +14,12 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include "Tags.h"
#include "IPU.h"
#include "yuv2rgb.h"
#include "Vif.h"
#include "Tags.h"
// Zero cycle IRQ schedules aren't really good, but the IPU uses them.
// Better to throw the IRQ inline:

View File

@ -15,9 +15,8 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "R5900.h"
#include "R5900OpcodeTables.h"
#include "System/SysThreads.h"

View File

@ -15,9 +15,9 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include <ctype.h>
#include "IopCommon.h"
namespace R3000A {
@ -331,4 +331,4 @@ void psxBiosShutdown()
{
}
} // end namespace R3000A
} // end namespace R3000A

View File

@ -15,16 +15,11 @@
#pragma once
static const s64 PSXCLK = 36864000; /* 36.864 Mhz */
#include "R3000A.h"
#include "Common.h"
#include "CDVD/CdRom.h"
#include "CDVD/CDVD.h"
#include "Sio.h"
#include "Sif.h"
#include "CDVD/CdRom.h"
#include "IopDma.h"
#include "IopMem.h"
@ -32,3 +27,8 @@ static const s64 PSXCLK = 36864000; /* 36.864 Mhz */
#include "IopBios.h"
#include "IopCounters.h"
#include "IopSio2.h"
static const s64 PSXCLK = 36864000; /* 36.864 Mhz */
//#define PSXCLK 9216000 /* 36.864 Mhz */
//#define PSXCLK 186864000 /* 36.864 Mhz */

View File

@ -19,9 +19,9 @@
// The EventText function will pick it up.
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include <math.h>
#include "IopCommon.h"
/* Config.PsxType == 1: PAL:
VBlank interlaced 50.00 Hz

View File

@ -16,6 +16,8 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "Sif.h"
using namespace R3000A;
// Dma0/1 in Mdec.c

View File

@ -15,9 +15,10 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "iR5900.h"
#include "Sio.h"
// NOTE: Any modifications to read/write fns should also go into their const counterparts
// found in iPsxHw.cpp.

View File

@ -16,6 +16,8 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "Sio.h"
#include "sio_internal.h"
sio2Struct sio2;

View File

@ -166,6 +166,7 @@
<Unit filename="../GSState.cpp" />
<Unit filename="../Gif.cpp" />
<Unit filename="../Gif.h" />
<Unit filename="../Hardware.h" />
<Unit filename="../HostGui.h" />
<Unit filename="../Hw.cpp" />
<Unit filename="../Hw.h" />

View File

@ -15,11 +15,7 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "DebugTools/Debug.h"
#include "R5900.h"
#include "R5900OpcodeTables.h"
namespace R5900 {
namespace Interpreter {
@ -1627,4 +1623,4 @@ void PEXCW() {
// obs:
// QFSRV not verified
}}} } // end namespace R5900::Interpreter::OpcodeImpl::MMI
}}} } // end namespace R5900::Interpreter::OpcodeImpl::MMI

View File

@ -15,17 +15,15 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "GS.h"
#include "VU.h"
#include "iR5900.h"
#include "VifDma.h"
#include "SamplProf.h"
#include <list>
#include <wx/datetime.h>
#include "GS.h"
#include "Elfheader.h"
#include "SamplProf.h"
// Uncomment this to enable profiling of the GS RingBufferCopy function.
//#define PCSX2_GSRING_SAMPLING_STATS

View File

@ -35,21 +35,17 @@ BIOS
*/
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#pragma warning(disable:4799) // No EMMS at end of function
#include <vector>
#include <wx/file.h>
#include "IopCommon.h"
#include "iR5900.h"
#include "ps2/BiosTools.h"
#include "VUmicro.h"
#include "GS.h"
#include "IPU/IPU.h"
#include "System/PageFaultSource.h"
#include "ps2/BiosTools.h"
#ifdef ENABLECACHE
#include "Cache.h"

View File

@ -14,12 +14,13 @@
*/
#include "PrecompiledHeader.h"
#include <wx/fileconf.h>
#include "IniInterface.h"
#include "Config.h"
#include "GS.h"
#include <wx/fileconf.h>
void TraceLogFilters::LoadSave( IniInterface& ini )
{
TraceLogFilters defaults;

View File

@ -14,16 +14,17 @@
*/
#include "PrecompiledHeader.h"
#include "Utilities/ScopedPtr.h"
#include "IopCommon.h"
#include <wx/dir.h>
#include <wx/file.h>
#include "IopCommon.h"
#include "GS.h"
#include "HostGui.h"
#include "CDVD/CDVDisoReader.h"
#include "Utilities/ScopedPtr.h"
#if _MSC_VER
# include "svnrev.h"
#endif

View File

@ -15,9 +15,10 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "R5900.h"
#include "Sio.h"
#include "Sif.h"
using namespace R3000A;

View File

@ -14,9 +14,7 @@
*/
#include "PrecompiledHeader.h"
#include "IopCommon.h"
using namespace R3000A;

View File

@ -13,8 +13,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "PrecompiledHeader.h"
#include "IopCommon.h"
extern void zeroEx();

View File

@ -15,29 +15,18 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "Counters.h"
#include "Memory.h"
#include "Hw.h"
#include "DebugTools/Debug.h"
#include "R5900.h"
#include "R3000A.h"
#include "VUmicro.h"
#include "COP0.h"
#include "GS.h"
#include "Gif.h"
#include "IPU/IPU.h"
#include "Vif.h"
#include "VifDma.h"
#include "SPR.h"
#include "Sif.h"
#include "System/SysThreads.h"
#include "R5900Exceptions.h"
#include "Hardware.h"
using namespace R5900; // for R5900 disasm tools
s32 EEsCycle; // used to sync the IOP to the EE
@ -95,9 +84,10 @@ void cpuReset()
__releaseinline void cpuException(u32 code, u32 bd)
{
cpuRegs.branch = 0; // Tells the interpreter that an exception occurred during a branch.
bool errLevel2, checkStatus;
u32 offset;
cpuRegs.branch = 0; // Tells the interpreter that an exception occurred during a branch.
cpuRegs.CP0.n.Cause = code & 0xffff;
if(cpuRegs.CP0.n.Status.b.ERL == 0)

View File

@ -15,13 +15,14 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include <float.h>
#include "R5900.h"
#include "R5900OpcodeTables.h"
#include "R5900Exceptions.h"
#include <float.h>
static __forceinline s64 _add64_Overflow( s64 x, s64 y )
{

View File

@ -17,6 +17,7 @@
//all tables for R5900 are define here..
#include "PrecompiledHeader.h"
#include "R5900OpcodeTables.h"
#include "R5900.h"
@ -688,4 +689,4 @@ void (*Int_COP2SPECIAL2PrintTable[128])() =
COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,
COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,
COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,COP2_Unknown,
};
};

View File

@ -15,11 +15,11 @@
#include "PrecompiledHeader.h"
#include "zlib/zlib.h"
#include "App.h"
#include "HostGui.h"
#include "zlib/zlib.h"
class _BaseStateThread;
static SafeArray<u8> state_buffer;
@ -438,4 +438,4 @@ void StateCopy_Clear()
bool StateCopy_IsBusy()
{
return state_buffer_lock.IsLocked();
}
}

View File

@ -14,13 +14,12 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include "SPR.h"
#include "iR5900.h"
#include "VUmicro.h"
#include "Tags.h"
#include "SPR.h"
#include "VUmicro.h"
extern void mfifoGIFtransfer(int);
static bool spr0finished = false;

View File

@ -15,23 +15,16 @@
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "SaveState.h"
//#include "CDVD/IsoFSdrv.h"
#include "ps2/BiosTools.h"
#include "VUmicro.h"
#include "VU.h"
#include "iCore.h"
#include "sVU_zerorec.h"
#include "GS.h"
#include "COP0.h"
#include "Cache.h"
#include "AppConfig.h"
#include "Elfheader.h"
using namespace R5900;
static void PreLoadPrep()

View File

@ -18,9 +18,11 @@
#define _PC_ // disables MIPS opcode macros.
#include "IopCommon.h"
#include "Sifcmd.h"
#include "Tags.h"
#include "Sif.h"
#include "Sifcmd.h"
DMACh *sif0ch;
DMACh *sif1ch;
DMACh *sif2ch;

View File

@ -14,8 +14,9 @@
*/
#include "PrecompiledHeader.h"
#include "IopCommon.h"
#include "Sio.h"
#include "sio_internal.h"
_sio sio;

View File

@ -14,21 +14,14 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include "HostGui.h"
#include "Common.h"
#include "VUmicro.h"
#include "iR5900.h"
#include "R3000A.h"
#include "IopMem.h"
#include "sVU_zerorec.h" // for SuperVUReset
#include "sVU_zerorec.h" // for SuperVUDestroy
#include "R5900Exceptions.h"
#include "CDVD/CDVD.h"
#include "System/PageFaultSource.h"
#include "Utilities/EventSource.inl"
EventSource_ImplementType( PageFaultInfo );
SrcType_PageFault Source_PageFault;

View File

@ -16,13 +16,11 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "System.h"
#include "GS.h"
#include "Elfheader.h"
#include "PageFaultSource.h"
#include "SysThreads.h"
#include "SaveState.h"
#include "VUmicro.h"
#include "GS.h"
#ifdef __WXMSW__
# include <wx/msw/wrapwin.h>

View File

@ -23,14 +23,11 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include <cmath>
#include "Common.h"
#include "DebugTools/Debug.h"
#include "R5900.h"
#include "R5900OpcodeTables.h"
#include "VUops.h"
#include "VUmicro.h"
#define _Ft_ _Rt_
@ -45,8 +42,6 @@
#define _Fsf_ ((cpuRegs.code >> 21) & 0x03)
#define _Ftf_ ((cpuRegs.code >> 23) & 0x03)
#include "VUflags.h"
using namespace R5900;
__aligned16 VURegs VU0;

View File

@ -19,18 +19,11 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include <cmath>
#include "Common.h"
#include "DebugTools/Debug.h"
#include "R5900.h"
#include "iR5900.h"
#include "VUmicro.h"
#include "VUflags.h"
#include "VUops.h"
#include "sVU_zerorec.h"
using namespace R5900;

View File

@ -15,9 +15,8 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "DebugTools/Debug.h"
#include "VUmicro.h"
extern void _vuFlushAll(VURegs* VU);

View File

@ -18,15 +18,11 @@
// of the VU0 micro.
#include "PrecompiledHeader.h"
#include "Common.h"
#include <cmath>
#include "Common.h"
#include "VU.h"
#include "VUops.h"
#include "VUmicro.h"
#include "sVU_Micro.h"
#include "sVU_zerorec.h"
VURegs* g_pVU1;

View File

@ -15,9 +15,8 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "DebugTools/Debug.h"
#include "VUmicro.h"
extern void _vuFlushAll(VURegs* VU);

View File

@ -14,12 +14,13 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include <cmath>
#include <float.h>
#include "Common.h"
#include "VUmicro.h"
/*****************************************/
/* NEW FLAGS */ //By asadr. Thnkx F|RES :p
/*****************************************/

View File

@ -15,11 +15,9 @@
#include "PrecompiledHeader.h"
#include "Common.h"
#include "R5900.h"
#include "VUmicro.h"
#include "sVU_zerorec.h"
#include "sVU_zerorec.h" // SuperVUReset
// The following CpuVU objects are value types instead of handles or pointers because they are
// modified on the fly to implement VU1 Skip.

View File

@ -14,12 +14,10 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include <cmath>
#include "Common.h"
#include "VUmicro.h"
#include "VUflags.h"
#include "VUops.h"
#include "GS.h"

View File

@ -13,15 +13,16 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include "Tags.h"
#include <cmath>
#include <assert.h>
#include "Common.h"
#include "VUmicro.h"
#include "Vif.h"
#include "VifDma.h"
#include "Tags.h"
VIFregisters *vifRegs;
u32* vifRow = NULL;

View File

@ -13,13 +13,15 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "PrecompiledHeader.h"
#include "Common.h"
#include "Tags.h"
#include "VifDma.h"
#include "VifDma_internal.h"
#include "VUmicro.h"
#include "Tags.h"
__aligned16 u32 g_vif0Masks[64];
u32 g_vif0HasMask3[4] = {0};
@ -29,6 +31,7 @@ extern void (*Vif0CMDTLB[75])();
vifStruct vif0;
u32 *vif0ptag;
__forceinline void vif0FLUSH()
{
int _cycles = VU0.cycle;

View File

@ -13,15 +13,17 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "PrecompiledHeader.h"
#include "PrecompiledHeader.h"
#include "Common.h"
#include "GS.h"
#include "Gif.h"
#include "Tags.h"
#include "VifDma.h"
#include "VifDma_internal.h"
#include "GS.h"
#include "Gif.h"
#include "VUmicro.h"
#include "Tags.h"
__aligned16 u32 g_vif1Masks[64];
u32 g_vif1HasMask3[4] = {0};

View File

@ -14,12 +14,12 @@
*/
#include "PrecompiledHeader.h"
#include "Common.h"
#include "Tags.h"
#include "VifDma.h"
#include "VifDma_internal.h"
#include "VUmicro.h"
#include "Tags.h"
#include <xmmintrin.h>
#include <emmintrin.h>

View File

@ -15,6 +15,7 @@
#include "PrecompiledHeader.h"
#include "HostGui.h"
#include "CDVD/CDVD.h"
#include "GS.h"

View File

@ -20,6 +20,7 @@
#include "HostGui.h"
#include "GS.h"
#include "Elfheader.h"
StartupParams g_Startup;

View File

@ -14,12 +14,13 @@
*/
#include "PrecompiledHeader.h"
#include "AppConfig.h"
#include "Common.h"
#include "BiosTools.h"
#include "wx/file.h"
#include "AppConfig.h"
#define DIRENTRY_SIZE 16
//////////////////////////////////////////////////////////////////////////////////////////

View File

@ -17,6 +17,9 @@
#include "PrecompiledHeader.h"
#include "IopHw_Internal.h"
#include "Sio.h"
#include "CDVD/CdRom.h"
namespace IopMemory
{
using namespace Internal;

View File

@ -16,6 +16,9 @@
#include "PrecompiledHeader.h"
#include "IopHw_Internal.h"
#include "Sio.h"
#include "CDVD/CdRom.h"
namespace IopMemory {
using namespace Internal;

View File

@ -598,6 +598,7 @@
<ClInclude Include="..\..\HashMap.h" />
<ClInclude Include="..\..\HostGui.h" />
<ClInclude Include="..\..\Hw.h" />
<ClInclude Include="..\..\Hardware.h" />
<ClInclude Include="..\..\IopBios.h" />
<ClInclude Include="..\..\IopBios2.h" />
<ClInclude Include="..\..\IopCommon.h" />

View File

@ -564,6 +564,10 @@
RelativePath="..\..\Hw.h"
>
</File>
<File
RelativePath="..\..\Hardware.h"
>
</File>
<File
RelativePath="..\..\HwRead.cpp"
>