#include "../../emu.h"
#include "../device.h"
+namespace MZ2500 {
+
class MZ1R12 : public DEVICE
{
private:
uint32_t crc32;
public:
- MZ1R12(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
+ MZ1R12(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+ {
+ set_device_name(_T("MZ-1R12 (32KB SRAM)"));
+ }
~MZ1R12() {}
// common functions
void release();
void write_io8(uint32_t addr, uint32_t data);
uint32_t read_io8(uint32_t addr);
- void save_state(FILEIO* state_fio);
- bool load_state(FILEIO* state_fio);
+ bool process_state(FILEIO* state_fio, bool loading);
};
+}
#endif