NES - Start AVE-NINA class

This commit is contained in:
andres.delikat 2011-04-18 23:55:47 +00:00
parent dae79600e7
commit dfbee39c1c
1 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,66 @@
using System;
using System.IO;
using System.Diagnostics;
namespace BizHawk.Emulation.Consoles.Nintendo
{
/*
*/
class AVI_NINA_001 : NES.NESBoardBase
{
public override bool Configure(NES.EDetectionOrigin origin)
{
//configure
switch (Cart.board_type)
{
case "AVI_NINA_001":
break;
default:
return false;
}
SetMirrorType(Cart.pad_h, Cart.pad_v);
return true;
}
public override byte ReadPPU(int addr)
{
return base.ReadPPU(addr);
}
public override void SyncState(Serializer ser)
{
base.SyncState(ser);
}
}
/*
*/
class AVI_Misc : NES.NESBoardBase
{
public override bool Configure(NES.EDetectionOrigin origin)
{
//configure
switch (Cart.board_type)
{
case "AVI_Misc":
break;
default:
return false;
}
SetMirrorType(Cart.pad_h, Cart.pad_v);
return true;
}
public override byte ReadPPU(int addr)
{
return base.ReadPPU(addr);
}
public override void SyncState(Serializer ser)
{
base.SyncState(ser);
}
}
}