Oops, Make VS2010 project compile

This commit is contained in:
adelikat 2013-04-14 20:04:38 +00:00
parent e8eeb7f4fa
commit da80b7117a
4 changed files with 10 additions and 2 deletions

View File

@ -50,7 +50,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;VS2010</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>

View File

@ -51,7 +51,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;VS2012</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>

View File

@ -301,7 +301,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
static ByteBuffer cpu_sequence_PAL = new ByteBuffer(new byte[]{4,3,3,3,3,4,3,3,3,3,4,3,3,3,3,4,3,3,3,3,4,3,3,3,3,4,3,3,3,3,4,3,3,3,3,4,3,3,3,3});
public int cpu_step, cpu_stepcounter, cpu_deadcounter;
#if VS2012
[MethodImpl(MethodImplOptions.AggressiveInlining)]
#endif
protected void RunCpuOne()
{
cpu_stepcounter++;
@ -336,7 +338,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
}
}
#if VS2012
[MethodImpl(MethodImplOptions.AggressiveInlining)]
#endif
public byte ReadReg(int addr)
{
switch (addr)

View File

@ -144,7 +144,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
idleSynch = true;
}
#if VS2012
[MethodImpl(MethodImplOptions.AggressiveInlining)]
#endif
void TriggerNMI()
{
nes.cpu.NMI = true;
@ -165,7 +167,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
}
}
#if VS2012
[MethodImpl(MethodImplOptions.AggressiveInlining)]
#endif
void runppu(int x)
{
//run one ppu cycle at a time so we can interact with the ppu and clockPPU at high granularity