commit save to work
This commit is contained in:
parent
4a3100c0bd
commit
4c3a37dee7
8 changed files with 607 additions and 12 deletions
|
@ -200,4 +200,12 @@ extern "C"
|
|||
{
|
||||
arduboy.setRGBled(red, green, blue);
|
||||
}
|
||||
uint8_t arduboy_buttons_state()
|
||||
{
|
||||
return arduboy.buttonsState();
|
||||
}
|
||||
void arduboy_exit_to_bootloader()
|
||||
{
|
||||
arduboy.exitToBootloader();
|
||||
}
|
||||
}
|
|
@ -94,4 +94,12 @@ extern "C"
|
|||
{
|
||||
FX::drawChar(c);
|
||||
}
|
||||
uint8_t arduboyfx_load_game_state(uint8_t *gameState,size_t size)
|
||||
{
|
||||
return FX::loadGameState(gameState, size);
|
||||
}
|
||||
void arduboyfx_save_game_state(uint8_t *gameState,size_t size)
|
||||
{
|
||||
FX::saveGameState(gameState, size);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue