Mercurial > repos > blastem
annotate 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 |
rev | line source |
---|---|
1259
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
1 #ifndef REALTEC_H_ |
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
2 #define REALTEC_H_ |
1444
14a2834d010c
Save/restore mapper state in native save states
Michael Pavone <pavone@retrodev.com>
parents:
1259
diff
changeset
|
3 #include "serialize.h" |
1259
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
4 |
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
5 uint8_t realtec_detect(uint8_t *rom, uint32_t rom_size); |
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
6 rom_info realtec_configure_rom(uint8_t *rom, uint32_t rom_size, memmap_chunk const *base_map, uint32_t base_chunks); |
1444
14a2834d010c
Save/restore mapper state in native save states
Michael Pavone <pavone@retrodev.com>
parents:
1259
diff
changeset
|
7 void realtec_serialize(genesis_context *gen, serialize_buffer *buf); |
14a2834d010c
Save/restore mapper state in native save states
Michael Pavone <pavone@retrodev.com>
parents:
1259
diff
changeset
|
8 void realtec_deserialize(deserialize_buffer *buf, genesis_context *gen); |
1259
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
9 |
23c94f5266d1
Support for the Realtec mapper. Needs testing with games besides The Earth Defend
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
10 #endif //REALTEC_H_ |