Libretro: Add missing rotation peripheral

This commit is contained in:
Vicki Pfau 2021-04-14 00:08:41 -07:00
parent e18063071a
commit ad17c22e51
1 changed files with 1 additions and 0 deletions

View File

@ -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);