NES - remove the partial class closure on the PPU object files
This commit is contained in:
parent
3b2c00cf39
commit
9f6c0ca695
|
@ -244,7 +244,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
int bank_1k = addr >> 10;
|
||||
int ofs = addr & ((1 << 10) - 1);
|
||||
|
||||
if (exram_mode == 1 && NES.ppu.ppuphase == NES.PPU.PPUPHASE.BG)
|
||||
if (exram_mode == 1 && NES.ppu.ppuphase == PPU.PPUPHASE.BG)
|
||||
{
|
||||
int exram_addr = last_nt_read;
|
||||
int bank_4k = EXRAM[exram_addr] & 0x3F;
|
||||
|
@ -266,7 +266,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
&& NES.ppu.reg_2001.show_obj
|
||||
)
|
||||
{
|
||||
if (NES.ppu.ppuphase == NES.PPU.PPUPHASE.OBJ)
|
||||
if (NES.ppu.ppuphase == PPU.PPUPHASE.OBJ)
|
||||
bank_1k = a_banks_1k[bank_1k];
|
||||
else
|
||||
bank_1k = b_banks_1k[bank_1k];
|
||||
|
|
|
@ -296,7 +296,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
#if VS2012
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
#endif
|
||||
private void RunCpuOne()
|
||||
internal void RunCpuOne()
|
||||
{
|
||||
cpu_stepcounter++;
|
||||
if (cpu_stepcounter == cpu_sequence[cpu_step])
|
||||
|
|
|
@ -54,8 +54,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
return ret;
|
||||
}
|
||||
|
||||
private NESSettings Settings = new NESSettings();
|
||||
private NESSyncSettings SyncSettings = new NESSyncSettings();
|
||||
internal NESSettings Settings = new NESSettings();
|
||||
internal NESSyncSettings SyncSettings = new NESSyncSettings();
|
||||
|
||||
public class NESSyncSettings
|
||||
{
|
||||
|
|
|
@ -5,8 +5,6 @@ using System.Runtime.CompilerServices;
|
|||
using BizHawk.Common;
|
||||
|
||||
namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||
{
|
||||
partial class NES
|
||||
{
|
||||
public sealed partial class PPU
|
||||
{
|
||||
|
@ -239,4 +237,3 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@ using BizHawk.Common;
|
|||
|
||||
|
||||
namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||
{
|
||||
partial class NES
|
||||
{
|
||||
sealed partial class PPU
|
||||
{
|
||||
|
@ -558,7 +556,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//ARead[x]=A200x;
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
using BizHawk.Common;
|
||||
|
||||
namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||
{
|
||||
partial class NES
|
||||
{
|
||||
sealed partial class PPU
|
||||
{
|
||||
|
@ -468,5 +466,4 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue