Update to bsnes v045 release.

This is a maintenance release to fix a crashing bug in S-DD1 games (Star Ocean, Street Fighter Alpha 2), and a video issue in games using the WAI instruction.
As always, my apologies for any inconvenience. SA-1 support required modification of a large amount of delicate code in the emulation core, and our limited testing team was not able to catch these in time before release.
This commit is contained in:
byuu 2009-04-20 02:55:33 +00:00
parent 44b5f1bf27
commit 5f96547beb
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#define BSNES_VERSION "0.044"
#define BSNES_VERSION "0.045"
#define BSNES_TITLE "bsnes v" BSNES_VERSION
#define BUSCORE sBus

View File

@ -11,7 +11,7 @@ void SDD1::enable() {
//hook S-CPU DMA MMIO registers to gather information for struct dma[];
//buffer address and transfer size information for use in SDD1::read()
for(unsigned i = 0x4300; i <= 0x437f; i++) {
cpu_mmio[i & 0x7f] = memory::mmio.mmio[i];
cpu_mmio[i & 0x7f] = memory::mmio.mmio[i - 0x2000];
memory::mmio.map(i, *this);
}

View File

@ -4,7 +4,11 @@ void sCPU::op_io() {
status.clock_count = 6;
precycle_edge();
add_clocks(6);
if(regs.wai) scheduler.sync_cpucop();
if(regs.wai) {
scheduler.sync_cpucop();
scheduler.sync_cpuppu();
}
cycle_edge();
}