Skip to content

Commit

Permalink
game menu: fix dma modes in the gui
Browse files Browse the repository at this point in the history
  • Loading branch information
KrahJohlito committed Oct 27, 2019
1 parent a881747 commit 48dc754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/guigame.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,13 @@ void guiGameLoadConfig(item_list_t *support, config_set_t *configSet)
else if (configSourceID == CONFIG_SOURCE_DLOAD)
snprintf(configSource, sizeof(configSource), _l(_STR_DOWNLOADED_DEFAULTS));

dmaMode = 7; // defaulting to UDMA 4
if (support->flags & MODE_FLAG_COMPAT_DMA) {
configGetInt(configSet, CONFIG_ITEM_DMA, &dmaMode);
diaSetInt(diaCompatConfig, COMPAT_DMA, dmaMode);
}
else
diaSetInt(diaCompatConfig, COMPAT_DMA, 0);

compatMode = 0;
configGetInt(configSet, CONFIG_ITEM_COMPAT, &compatMode);
Expand Down

0 comments on commit 48dc754

Please sign in to comment.