mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-29 15:04:23 +01:00
Remove dead code
This commit is contained in:
parent
57a47a036d
commit
756ae88990
@ -57,12 +57,7 @@ public:
|
|||||||
virtual void selectCallback(int which)
|
virtual void selectCallback(int which)
|
||||||
{
|
{
|
||||||
const char *fileName = this->pp_msgs[this->cur_sel];
|
const char *fileName = this->pp_msgs[this->cur_sel];
|
||||||
const char *save_game = strrchr(fileName, '/');
|
|
||||||
|
|
||||||
if (!save_game)
|
|
||||||
save_game = fileName;
|
|
||||||
else
|
|
||||||
save_game = save_game + 1; /* Skip '/' */
|
|
||||||
snprintf(Gui::gui->np->DrivePath[0], sizeof(Gui::gui->np->DrivePath[0]),
|
snprintf(Gui::gui->np->DrivePath[0], sizeof(Gui::gui->np->DrivePath[0]),
|
||||||
"%s/%s", Gui::gui->game_base_path, fileName);
|
"%s/%s", Gui::gui->game_base_path, fileName);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user