Implements Emulation MenuBar

Save states, fullscreen, frame advance, screenshot and emulation
controls are available through the MenuBar
This commit is contained in:
Rukai
2016-02-15 12:56:40 +11:00
parent b164b4c475
commit cc6a7826c0
7 changed files with 320 additions and 17 deletions

View File

@ -120,6 +120,16 @@ bool Settings::GetConfirmStop() const
return value(QStringLiteral("Emulation/ConfirmStop"), true).toBool();
}
int Settings::GetStateSlot() const
{
return value(QStringLiteral("Emulation/StateSlot"), 1).toInt();
}
void Settings::SetStateSlot(int slot)
{
setValue(QStringLiteral("Emulation/StateSlot"), slot);
}
bool Settings::GetRenderToMain() const
{
return value(QStringLiteral("Graphics/RenderToMain"), false).toBool();