mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
(BlackBerry) Fix exiting from RGUI and saving on exit for BB10.
This commit is contained in:
parent
55b9f2f55d
commit
f4b6a735b2
@ -68,6 +68,7 @@ RetroArch::RetroArch()
|
||||
this, SLOT(onRotationCompleted()));
|
||||
|
||||
rarch_main_clear_state();
|
||||
strlcpy(g_extern.config_path, "app/native/retroarch.cfg", sizeof(g_extern.config_path));
|
||||
config_load();
|
||||
|
||||
strlcpy(g_settings.libretro, "app/native/lib", sizeof(g_settings.libretro));
|
||||
@ -180,6 +181,7 @@ void RetroArch::run()
|
||||
initRASettings();
|
||||
|
||||
rarch_main(0, NULL);
|
||||
Application::instance()->exit();
|
||||
break;
|
||||
}
|
||||
//The class should probably be it's own QThread, simplify things
|
||||
@ -194,7 +196,7 @@ void RetroArch::run()
|
||||
}
|
||||
}
|
||||
}
|
||||
exit:
|
||||
exit:
|
||||
return;
|
||||
}
|
||||
|
||||
@ -259,7 +261,9 @@ void RetroArch::onCoreSelected(QVariant value)
|
||||
|
||||
void RetroArch::onDeviceSelected(QVariant value)
|
||||
{
|
||||
|
||||
//Change the binds for current player to device[value]
|
||||
//TODO: Don't hardcode player 0
|
||||
buttonMap->mapDevice(value.toInt(), 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user