view realtec.h @ 1560:18ffa9caa00c

Added code to fallback to Yosemite or pre-Yosemite system font in case current system font can't be found or is in an unusable format. San Francisco font used on current OS X versions is in a .otf file whih presumably means it has CFF outlines that stb_truetype can't use.
author Michael Pavone <pavone@retrodev.com>
date Thu, 05 Apr 2018 00:06:19 -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_