view sega_mapper.h @ 1426:957325c990d5

Fix texture coordinate offsets in default shader so things look right with really high resolutions and weird multiples of native
author Michael Pavone <pavone@retrodev.com>
date Fri, 07 Jul 2017 21:44:49 -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_