Emergency hotfix for an issue affecting manually created save states.
Still need to determine root cause, but for now, reverting the code.
This commit is contained in:
byuu 2019-12-16 01:59:39 +09:00
parent 90b1350110
commit 1e6a745f19
3 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ using namespace nall;
namespace Emulator {
static const string Name = "bsnes";
static const string Version = "113";
static const string Version = "113.1";
static const string Author = "byuu";
static const string License = "GPLv3";
static const string Website = "https://byuu.org";

View File

@ -35,8 +35,9 @@ auto SMP::waitIdle(maybe<uint16> addr, bool half) -> void {
auto SMP::step(uint clocks) -> void {
clock += clocks * (uint64_t)cpu.frequency;
dsp.clock -= clocks;
synchronizeCPU();
synchronizeDSP();
//forcefully sync SMP to CPU in case chips are not communicating
if(clock > 768 * 24 * (int64_t)24'000'000) synchronizeCPU();
}
auto SMP::stepIdle(uint clocks) -> void {

View File

@ -179,7 +179,7 @@ auto Presentation::create() -> void {
helpMenu.setText(tr("Help"));
documentation.setIcon(Icon::Application::Browser).setText({tr("Documentation"), " ..."}).onActivate([&] {
invoke("https://doc.byuu.org/bsnes");
invoke("https://byuu.org/doc/bsnes");
});
aboutSameBoy.setIcon(Icon::Prompt::Question).setText({tr("About SameBoy"), " ..."}).onActivate([&] {
AboutDialog()