get rid of some warnings
This commit is contained in:
parent
2ca3ae2615
commit
931c9c9b23
|
@ -14,7 +14,7 @@ namespace BizHawk.Emulation.Consoles.GB
|
|||
private Z80 CPU;
|
||||
private int lagCount = 0;
|
||||
private bool isLagFrame = false;
|
||||
private IList<MemoryDomain> memoryDomains;
|
||||
private IList<MemoryDomain> memoryDomains = new List<MemoryDomain>();
|
||||
|
||||
public GB(GameInfo game, byte[] rom, bool skipBIOS)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace BizHawk.Emulation.Consoles.GB
|
|||
{
|
||||
public partial class GB
|
||||
{
|
||||
private byte[] OAM;
|
||||
private byte[] VRAM;
|
||||
private byte[] OAM = new byte[1];
|
||||
private byte[] VRAM = new byte[1];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@ namespace BizHawk.Emulation.Consoles.GB
|
|||
private bool inBIOS = true;
|
||||
|
||||
// Memory regions (initialised at reset time)
|
||||
private byte[] BIOS;
|
||||
private byte[] ROM;
|
||||
private byte[] WRAM;
|
||||
private byte[] ERAM;
|
||||
private byte[] ZRAM;
|
||||
private byte[] BIOS = new byte[1];
|
||||
private byte[] ROM = new byte[1];
|
||||
private byte[] WRAM = new byte[1];
|
||||
private byte[] ERAM = new byte[1];
|
||||
private byte[] ZRAM = new byte[1];
|
||||
|
||||
public byte ReadMemory(ushort addr)
|
||||
{
|
||||
|
|
|
@ -8,7 +8,6 @@ namespace BizHawk.Emulation.Consoles.Gameboy
|
|||
{
|
||||
private bool skipBIOS = false;
|
||||
private int _lagcount = 0;
|
||||
private bool lagged = true;
|
||||
private bool islag = false;
|
||||
|
||||
public interface IDebuggerAPI
|
||||
|
|
|
@ -243,7 +243,6 @@ class RiffMaster : IDisposable
|
|||
public class RiffContainer_INFO : RiffContainer
|
||||
{
|
||||
public Dictionary<string, string> dictionary = new Dictionary<string, string>();
|
||||
byte[] data;
|
||||
public RiffContainer_INFO() { type = "INFO"; }
|
||||
public RiffContainer_INFO(RiffContainer rc)
|
||||
{
|
||||
|
|
|
@ -94,7 +94,7 @@ namespace BizHawk.DiscSystem
|
|||
string physicalPath;
|
||||
long length;
|
||||
|
||||
public long Offset;
|
||||
public long Offset = 0;
|
||||
|
||||
BufferedStream fs;
|
||||
public void Dispose()
|
||||
|
|
Loading…
Reference in New Issue