mirror of https://github.com/bsnes-emu/bsnes.git
39 lines
910 B
C++
39 lines
910 B
C++
#pragma once
|
|
|
|
//license: GPLv3
|
|
//started: 2016-01-26
|
|
|
|
#include <emulator/emulator.hpp>
|
|
#include <emulator/thread.hpp>
|
|
#include <emulator/scheduler.hpp>
|
|
#include <emulator/cheat.hpp>
|
|
|
|
#include <processor/v30mz/v30mz.hpp>
|
|
|
|
namespace WonderSwan {
|
|
using File = Emulator::File;
|
|
using Thread = Emulator::Thread;
|
|
using Scheduler = Emulator::Scheduler;
|
|
using Cheat = Emulator::Cheat;
|
|
extern Scheduler scheduler;
|
|
extern Cheat cheat;
|
|
|
|
enum class Model : uint {
|
|
WonderSwan, //SW-001 (ASWAN)
|
|
WonderSwanColor, //WSC-001 (SPHINX)
|
|
SwanCrystal, //SCT-001 (SPHINX2)
|
|
};
|
|
|
|
enum : uint { Byte = 1, Word = 2, Long = 4 };
|
|
|
|
#include <ws/memory/memory.hpp>
|
|
#include <ws/eeprom/eeprom.hpp>
|
|
#include <ws/system/system.hpp>
|
|
#include <ws/cartridge/cartridge.hpp>
|
|
#include <ws/cpu/cpu.hpp>
|
|
#include <ws/ppu/ppu.hpp>
|
|
#include <ws/apu/apu.hpp>
|
|
}
|
|
|
|
#include <ws/interface/interface.hpp>
|