view sega_mapper.h @ 1441:8a3d3bb2cd08

Clear display in SDL2 renderer before doing the texture copy. This gets rid of the artifacts noted in ticket:29
author Michael Pavone <pavone@retrodev.com>
date Thu, 24 Aug 2017 19:40:53 -0700
parents f7d653bb8899
children 14a2834d010c
line wrap: on
line source

#ifndef SEGA_MAPPER_H_
#define SEGA_MAPPER_H_

uint16_t read_sram_w(uint32_t address, m68k_context * context);
uint8_t read_sram_b(uint32_t address, m68k_context * context);
m68k_context * write_sram_area_w(uint32_t address, m68k_context * context, uint16_t value);
m68k_context * write_sram_area_b(uint32_t address, m68k_context * context, uint8_t value);
m68k_context * write_bank_reg_w(uint32_t address, m68k_context * context, uint16_t value);
m68k_context * write_bank_reg_b(uint32_t address, m68k_context * context, uint8_t value);

#endif //SEGA_MAPPER_H_