mirror of https://github.com/bsnes-emu/bsnes.git
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:
parent
44b5f1bf27
commit
5f96547beb
|
@ -1,4 +1,4 @@
|
||||||
#define BSNES_VERSION "0.044"
|
#define BSNES_VERSION "0.045"
|
||||||
#define BSNES_TITLE "bsnes v" BSNES_VERSION
|
#define BSNES_TITLE "bsnes v" BSNES_VERSION
|
||||||
|
|
||||||
#define BUSCORE sBus
|
#define BUSCORE sBus
|
||||||
|
|
|
@ -11,7 +11,7 @@ void SDD1::enable() {
|
||||||
//hook S-CPU DMA MMIO registers to gather information for struct dma[];
|
//hook S-CPU DMA MMIO registers to gather information for struct dma[];
|
||||||
//buffer address and transfer size information for use in SDD1::read()
|
//buffer address and transfer size information for use in SDD1::read()
|
||||||
for(unsigned i = 0x4300; i <= 0x437f; i++) {
|
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);
|
memory::mmio.map(i, *this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,11 @@ void sCPU::op_io() {
|
||||||
status.clock_count = 6;
|
status.clock_count = 6;
|
||||||
precycle_edge();
|
precycle_edge();
|
||||||
add_clocks(6);
|
add_clocks(6);
|
||||||
if(regs.wai) scheduler.sync_cpucop();
|
|
||||||
|
if(regs.wai) {
|
||||||
|
scheduler.sync_cpucop();
|
||||||
|
scheduler.sync_cpuppu();
|
||||||
|
}
|
||||||
cycle_edge();
|
cycle_edge();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue