Skip to content

Commit

Permalink
Updated launch of rom to be from current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
raz0red committed Jan 7, 2020
1 parent 18f9c88 commit 66962fb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/wii/wii_atari_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@

#include "gettext.h"

#ifdef WII_NETTRACE
#include <network.h>
#include "net_print.h"
#endif

/** SDL Video external references */
extern "C" {
void WII_VideoStart();
Expand Down Expand Up @@ -541,8 +546,8 @@ void wii_menu_handle_select_node(TREENODE* node) {

switch (node->node_type) {
case NODETYPE_ROM:
snprintf(buff, sizeof(buff), "%s%s%s", wii_get_fs_prefix(),
WII_ROMS_DIR, node->name);
snprintf(buff, sizeof(buff), "%s%s",
wii_get_roms_dir(), node->name);
last_rom_index = wii_menu_get_current_index();
loading_game = TRUE;
wii_start_emulation(buff);
Expand Down

0 comments on commit 66962fb

Please sign in to comment.