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:
parent
7b9bbe6b31
commit
d3cb60d833
|
@ -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()
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue