mirror of https://github.com/bsnes-emu/bsnes.git
parent
2b9a22e1d8
commit
454b90be24
|
@ -29,7 +29,7 @@ using namespace nall;
|
|||
|
||||
namespace Emulator {
|
||||
static const string Name = "bsnes";
|
||||
static const string Version = "112.5";
|
||||
static const string Version = "112.6";
|
||||
static const string Author = "byuu";
|
||||
static const string License = "GPLv3";
|
||||
static const string Website = "https://byuu.org";
|
||||
|
|
|
@ -14,11 +14,20 @@ auto SMP::idle() -> void {
|
|||
}
|
||||
|
||||
auto SMP::read(uint16 address) -> uint8 {
|
||||
//Kishin Douji Zenki - Tenchi Meidou requires bus hold delays on CPU I/O reads.
|
||||
//smp_mem_access_times requires no bus hold delays on APU RAM reads.
|
||||
if((address & 0xfffc) == 0x00f4) {
|
||||
wait(address, 1);
|
||||
uint8 data = readRAM(address);
|
||||
if((address & 0xfff0) == 0x00f0) data = readIO(address);
|
||||
wait(address, 1);
|
||||
return data;
|
||||
} else {
|
||||
wait(address, 0);
|
||||
uint8 data = readRAM(address);
|
||||
if((address & 0xfff0) == 0x00f0) data = readIO(address);
|
||||
//wait(address, 0);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
auto SMP::write(uint16 address, uint8 data) -> void {
|
||||
|
|
Loading…
Reference in New Issue