view realtec.h @ 1863:d60f2d7c02a5

Differentiate between the full Sega mapper and the SRAM only one. Fixes crash on save state load for Phantasy Star IV and other games that use the same mapper
author Michael Pavone <pavone@retrodev.com>
date Tue, 14 May 2019 23:20:35 -0700
parents 14a2834d010c
children
line wrap: on
line source

#ifndef REALTEC_H_
#define REALTEC_H_
#include "serialize.h"

uint8_t realtec_detect(uint8_t *rom, uint32_t rom_size);
rom_info realtec_configure_rom(uint8_t *rom, uint32_t rom_size, memmap_chunk const *base_map, uint32_t base_chunks);
void realtec_serialize(genesis_context *gen, serialize_buffer *buf);
void realtec_deserialize(deserialize_buffer *buf, genesis_context *gen);

#endif //REALTEC_H_