mirror of https://github.com/bsnes-emu/bsnes.git
Update to bsnes v107 release.
[This is specifically a release of bsnes, not the whole higan suite, even though it contains all the higan source. -Ed.] byuu says: Today I am posting the first release of the new bsnes emulator. bsnes is designed to be a revival of the classic bsnes design, focusing specifically on performance and ease of use for SNES emulation. In addition to all of the features of higan, bsnes supports the following features: - 300% faster (than higan) scanline-based, multi-threaded graphics renderer - option to disable sprite limits in games - option to enable hires mode 7 graphics - option to enable more accurate pixel-based graphics renderer - option to overclock SuperFX games by up to 800% - periodic auto-saving of game save RAM - save state manager with state screenshots - several new save state hotkeys such as increment/decrement slot# - option to auto-save states when unloading a game or closing the emulator - option to auto-load aforementioned states when loading games - save state undo and redo support (with associated hotkeys) - speed override modes (50%, 75%, 100%, 150%, 200%) - recent games list - frame advance mode - screenshot hotkey - path selection for games, patches, saves, cheats, states, and screenshots - dynamic video, audio, input driver changes - direct loading and playing of games without the use of the higan library - ZIP archive and multiple file extension support for games - firmware folder for unappended coprocessor firmware (see documentation for more) - compatibility with sd2snes and Snes9X MSU1 game file naming - compatibility with higan gamepaks (game folders) - soft-patching support for both BPS and IPS patches - menubar that does not pause emulation when entered - video pixel shaders (requires OpenGL 3.2) - built-in game database with over 1,200 games to ensure perfect memory mapping - (Linux, BSD only:) audio dynamic rate control to eliminate stuttering - and much more! The one feature I regret not being able to support in this release is Windows dynamic rate control. I put in my best attempt, but XAudio2's API is simply not fine-grained enough, and the WASAPI driver is not mature enough. I hope that DRC support can be added to the Windows port in the near future, and I would like to offer a large cash bounty to anyone who can help me make this happen.
This commit is contained in:
parent
fbc1571889
commit
7786206a4f
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -31,13 +31,13 @@ using namespace nall;
|
||||||
|
|
||||||
namespace Emulator {
|
namespace Emulator {
|
||||||
static const string Name = "higan";
|
static const string Name = "higan";
|
||||||
static const string Version = "106.85";
|
static const string Version = "107";
|
||||||
static const string Author = "byuu";
|
static const string Author = "byuu";
|
||||||
static const string License = "GPLv3";
|
static const string License = "GPLv3";
|
||||||
static const string Website = "https://byuu.org/";
|
static const string Website = "https://byuu.org/";
|
||||||
|
|
||||||
//incremented only when serialization format changes
|
//incremented only when serialization format changes
|
||||||
static const string SerializerVersion = "106.63";
|
static const string SerializerVersion = "107";
|
||||||
|
|
||||||
namespace Constants {
|
namespace Constants {
|
||||||
namespace Colorburst {
|
namespace Colorburst {
|
||||||
|
|
|
@ -26,15 +26,15 @@ struct Configuration {
|
||||||
|
|
||||||
struct Hacks {
|
struct Hacks {
|
||||||
struct PPUFast {
|
struct PPUFast {
|
||||||
bool enable = false;
|
bool enable = true;
|
||||||
bool noSpriteLimit = false;
|
bool noSpriteLimit = false;
|
||||||
bool hiresMode7 = false;
|
bool hiresMode7 = false;
|
||||||
} ppuFast;
|
} ppuFast;
|
||||||
struct DSPFast {
|
struct DSPFast {
|
||||||
bool enable = false;
|
bool enable = true;
|
||||||
} dspFast;
|
} dspFast;
|
||||||
struct Coprocessors {
|
struct Coprocessors {
|
||||||
bool delayedSync = false;
|
bool delayedSync = true;
|
||||||
} coprocessors;
|
} coprocessors;
|
||||||
} hacks;
|
} hacks;
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -20,7 +20,7 @@ struct AudioXAudio2 : AudioDriver, public IXAudio2VoiceCallback {
|
||||||
auto ready() -> bool override { return self.isReady; }
|
auto ready() -> bool override { return self.isReady; }
|
||||||
|
|
||||||
auto hasBlocking() -> bool override { return true; }
|
auto hasBlocking() -> bool override { return true; }
|
||||||
auto hasDynamic() -> bool override { return true; }
|
auto hasDynamic() -> bool override { return false; }
|
||||||
|
|
||||||
auto hasDevices() -> vector<string> override {
|
auto hasDevices() -> vector<string> override {
|
||||||
vector<string> devices;
|
vector<string> devices;
|
||||||
|
@ -52,13 +52,13 @@ struct AudioXAudio2 : AudioDriver, public IXAudio2VoiceCallback {
|
||||||
self.sourceVoice->Start(0);
|
self.sourceVoice->Start(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto level() -> double override {
|
/*auto level() -> double override {
|
||||||
XAUDIO2_VOICE_STATE state{};
|
XAUDIO2_VOICE_STATE state{};
|
||||||
self.sourceVoice->GetState(&state);
|
self.sourceVoice->GetState(&state);
|
||||||
uint level = state.BuffersQueued * self.period - state.SamplesPlayed % self.period;
|
uint level = state.BuffersQueued * self.period - state.SamplesPlayed % self.period;
|
||||||
uint limit = Buffers * self.period;
|
uint limit = Buffers * self.period;
|
||||||
return (double)(limit - level) / limit;
|
return (double)(limit - level) / limit;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
auto output(const double samples[]) -> void override {
|
auto output(const double samples[]) -> void override {
|
||||||
uint32_t frame = 0;
|
uint32_t frame = 0;
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
*.o
|
||||||
|
*.d
|
|
@ -0,0 +1 @@
|
||||||
|
sourcery
|
|
@ -67,22 +67,14 @@ auto Sourcery::parse(Markup::Node& root) -> void {
|
||||||
}
|
}
|
||||||
auto buffer = file::read(filename);
|
auto buffer = file::read(filename);
|
||||||
header.print("extern const char ", node["name"].text(), "[", buffer.size() + 1, "];\n");
|
header.print("extern const char ", node["name"].text(), "[", buffer.size() + 1, "];\n");
|
||||||
source.print("const char ", node["name"].text(), "[", buffer.size() + 1, "] =\n");
|
source.print("const char ", node["name"].text(), "[", buffer.size() + 1, "] = {\n");
|
||||||
buffer.foreach([&](uint offset, char data) {
|
buffer.foreach([&](uint offset, uint8_t data) {
|
||||||
if((offset & 127) == 0) source.print(" \"");
|
if((offset & 31) == 0) source.print(" ");
|
||||||
if(!data) source.print("\\0");
|
source.print(data, ",");
|
||||||
else if(data == '\\') source.print("\\\\");
|
if((offset & 31) == 31) source.print("\n");
|
||||||
else if(data == '\"') source.print("\\\"");
|
|
||||||
else if(data == '\?') source.print("\\\?");
|
|
||||||
else if(data == '\r') source.print("\\r");
|
|
||||||
else if(data == '\n') source.print("\\n");
|
|
||||||
else if(data == '\t') source.print("\\t");
|
|
||||||
else if(data <= 0x1f || data >= 0x7f) source.print("\\x", hex(data, 2L));
|
|
||||||
else source.print(data);
|
|
||||||
if((offset & 127) == 127) source.print("\"\n");
|
|
||||||
});
|
});
|
||||||
if(buffer.size() & 127) source.print("\"\n");
|
if(buffer.size() & 31) source.print("\n");
|
||||||
source.print(";\n");
|
source.print("};\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue