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

View File

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