Skip to content

Commit

Permalink
Always update daddr
Browse files Browse the repository at this point in the history
  • Loading branch information
xzn committed Feb 10, 2024
1 parent 70fd1e9 commit cbb1eb0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions source/menu/rp_menu.c
Expand Up @@ -431,13 +431,9 @@ int remotePlayMenu(u32 localaddr) {
case REMOTE_PLAY_MENU_APPLY: if (keys == KEY_A) { /* apply */
releaseVideo();

int updateDstAddr = !started || rpConfig->dstAddr != config.dstAddr;
u32 daddrUpdated = config.dstAddr;
u32 daddr = config.dstAddr;
rpStartupFromMenu(&config);

if (updateDstAddr) {
tryInitRemotePlay(daddrUpdated);
}
tryInitRemotePlay(daddr);

acquireVideo();

Expand Down

0 comments on commit cbb1eb0

Please sign in to comment.