Mercurial > repos > blastem
annotate multi_game.h @ 1569:0ec89dadb36d
Add code for loading PNG images. Added 360 controller image. WIP work on gamepad mapping UI
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 19 Apr 2018 00:51:10 -0700 |
parents | 14a2834d010c |
children |
rev | line source |
---|---|
1416
11ac0b511cff
Support a couple of bootleg X-in-1 carts
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
1 #ifndef MULTI_GAME_H_ |
11ac0b511cff
Support a couple of bootleg X-in-1 carts
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
2 #define MULTI_GAME_H_ |
1444
14a2834d010c
Save/restore mapper state in native save states
Michael Pavone <pavone@retrodev.com>
parents:
1416
diff
changeset
|
3 #include "serialize.h" |
1416
11ac0b511cff
Support a couple of bootleg X-in-1 carts
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
4 |
11ac0b511cff
Support a couple of bootleg X-in-1 carts
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
5 void *write_multi_game_b(uint32_t address, void *context, uint8_t value); |
11ac0b511cff
Support a couple of bootleg X-in-1 carts
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
6 void *write_multi_game_w(uint32_t address, void *context, uint16_t value); |
1444
14a2834d010c
Save/restore mapper state in native save states
Michael Pavone <pavone@retrodev.com>
parents:
1416
diff
changeset
|
7 void multi_game_serialize(genesis_context *gen, serialize_buffer *buf); |
14a2834d010c
Save/restore mapper state in native save states
Michael Pavone <pavone@retrodev.com>
parents:
1416
diff
changeset
|
8 void multi_game_deserialize(deserialize_buffer *buf, genesis_context *gen); |
1416
11ac0b511cff
Support a couple of bootleg X-in-1 carts
Michael Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
9 #endif //MULTI_GAME_H_ |