mirror of https://github.com/mgba-emu/mgba.git
Libretro: Add missing rotation peripheral
This commit is contained in:
parent
e18063071a
commit
ad17c22e51
|
@ -690,6 +690,7 @@ bool retro_load_game(const struct retro_game_info* game) {
|
||||||
blip_set_rates(core->getAudioChannel(core, 1), core->frequency(core), 32768);
|
blip_set_rates(core->getAudioChannel(core, 1), core->frequency(core), 32768);
|
||||||
|
|
||||||
core->setPeripheral(core, mPERIPH_RUMBLE, &rumble);
|
core->setPeripheral(core, mPERIPH_RUMBLE, &rumble);
|
||||||
|
core->setPeripheral(core, mPERIPH_ROTATION, &rotation);
|
||||||
|
|
||||||
savedata = anonymousMemoryMap(SIZE_CART_FLASH1M);
|
savedata = anonymousMemoryMap(SIZE_CART_FLASH1M);
|
||||||
memset(savedata, 0xFF, SIZE_CART_FLASH1M);
|
memset(savedata, 0xFF, SIZE_CART_FLASH1M);
|
||||||
|
|
Loading…
Reference in New Issue