Mercurial > repos > blastem
annotate multi_game.h @ 1876:96971b673f51
Only do full sync on VDP data port reads instead of all VDP port reads, provides a perf bump for games that busy wait on the status or HV registers
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 19 Aug 2019 19:15:52 -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_ |