Fix a few warnings

This commit is contained in:
adelikat 2014-05-10 20:00:30 +00:00
parent 3488df36c4
commit f697a52c56
2 changed files with 5 additions and 4 deletions

View File

@ -115,9 +115,10 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
{ {
get get
{ {
if (false) // TODO PAL support
return _core.Settings.PALBottomLine - _core.Settings.PALTopLine; //if (false)
else // return _core.Settings.PALBottomLine - _core.Settings.PALTopLine;
//else
return _core.Settings.NTSCBottomLine - _core.Settings.NTSCTopLine; return _core.Settings.NTSCBottomLine - _core.Settings.NTSCTopLine;
} }
} }

View File

@ -25,7 +25,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
byte[] ram; byte[] ram;
NESWatch[] sysbus_watch = new NESWatch[65536]; NESWatch[] sysbus_watch = new NESWatch[65536];
public byte[] CIRAM; //AKA nametables public byte[] CIRAM; //AKA nametables
string game_name; //friendly name exposed to user and used as filename base string game_name = string.Empty; //friendly name exposed to user and used as filename base
CartInfo cart; //the current cart prototype. should be moved into the board, perhaps CartInfo cart; //the current cart prototype. should be moved into the board, perhaps
INESBoard board; //the board hardware that is currently driving things INESBoard board; //the board hardware that is currently driving things
EDetectionOrigin origin = EDetectionOrigin.None; EDetectionOrigin origin = EDetectionOrigin.None;