remove a few notimplemented exceptions, and add .gb, .gbc to the standard open file dialog.

.gbc fails to load because of something else...
This commit is contained in:
goyuken 2012-09-08 22:01:47 +00:00
parent 7b9bbe6b31
commit d3cb60d833
2 changed files with 11 additions and 11 deletions

View File

@ -6,6 +6,9 @@ using System.IO;
namespace BizHawk.Emulation.Consoles.Gambatte
{
/// <summary>
/// a gameboy/gameboy color emulator wrapped around native C++ libgambatte
/// </summary>
public class Gambatte : IEmulator, IVideoProvider
{
/// <summary>
@ -97,19 +100,13 @@ namespace BizHawk.Emulation.Consoles.Gambatte
public byte[] ReadSaveRam
{
get { throw new NotImplementedException(); }
get { return new byte[0]; }
}
public bool SaveRamModified
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
get;
set;
}
public void ResetFrameCounter()
@ -176,6 +173,9 @@ namespace BizHawk.Emulation.Consoles.Gambatte
#region IVideoProvider
/// <summary>
/// stored image of most recent frame
/// </summary>
int[] VideoBuffer = new int[160 * 144];
public int[] GetVideoBuffer()

View File

@ -2601,7 +2601,7 @@ namespace BizHawk.MultiClient
if (INTERIM)
{
ofd.Filter = FormatFilter(
"Rom Files", "*.nes;*.sms;*.gg;*.sg;*.pce;*.sgx;*.bin;*.smd;*.rom;*.a26;*.cue;*.exe;*.gg;*.gen;*.col;*.smc;*.sfc;%ARCH%",
"Rom Files", "*.nes;*.sms;*.gg;*.sg;*.pce;*.sgx;*.bin;*.smd;*.rom;*.a26;*.cue;*.exe;*.gb;*.gbc;*.gen;*.col;*.smc;*.sfc;%ARCH%",
"Disc Images", "*.cue",
"NES", "*.nes;%ARCH%",
"Super NES", "*.smc;*.sfc;%ARCH%",
@ -2612,7 +2612,7 @@ namespace BizHawk.MultiClient
"Savestate", "*.state",
"Atari 2600 (experimental)", "*.a26;*.bin;%ARCH%",
"Genesis (experimental)", "*.gen;*.smd;*.bin;*.cue;%ARCH%",
"Gameboy (experimental)", "*.gb;%ARCH%",
"Gameboy (experimental)", "*.gb;*.gbc;%ARCH%",
"Colecovision (very experimental)", "*.col;%ARCH%",
"Intellivision (very experimental)", "*.int;*.bin;*.rom;%ARCH%",
"PSX Executables (experimental)", "*.exe",