mirror of https://github.com/bsnes-emu/bsnes.git
20 lines
332 B
C++
20 lines
332 B
C++
#include <sfc/sfc.hpp>
|
|
|
|
namespace SuperFamicom {
|
|
|
|
#include "serialization.cpp"
|
|
SufamiTurboCartridge sufamiturboA;
|
|
SufamiTurboCartridge sufamiturboB;
|
|
|
|
auto SufamiTurboCartridge::unload() -> void {
|
|
rom.reset();
|
|
ram.reset();
|
|
}
|
|
|
|
auto SufamiTurboCartridge::power() -> void {
|
|
rom.writeProtect(true);
|
|
ram.writeProtect(false);
|
|
}
|
|
|
|
}
|