mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 04:40:05 +00:00
Fix formatting
This commit is contained in:
parent
70cb52d98f
commit
ae325251c6
1 changed files with 5 additions and 4 deletions
|
@ -2415,7 +2415,7 @@ void GMainWindow::OnCaptureScreenshot() {
|
||||||
const bool was_running = emu_thread->IsRunning();
|
const bool was_running = emu_thread->IsRunning();
|
||||||
|
|
||||||
if (was_running ||
|
if (was_running ||
|
||||||
(QMessageBox::question(
|
(QMessageBox::question(
|
||||||
this, tr("Game will unpause"),
|
this, tr("Game will unpause"),
|
||||||
tr("The game will be unpaused, and the next frame will be captured. Is this okay?"),
|
tr("The game will be unpaused, and the next frame will be captured. Is this okay?"),
|
||||||
QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::Yes)) {
|
QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::Yes)) {
|
||||||
|
@ -2425,9 +2425,10 @@ void GMainWindow::OnCaptureScreenshot() {
|
||||||
std::string path = UISettings::values.screenshot_path.GetValue();
|
std::string path = UISettings::values.screenshot_path.GetValue();
|
||||||
if (!FileUtil::IsDirectory(path)) {
|
if (!FileUtil::IsDirectory(path)) {
|
||||||
if (!FileUtil::CreateFullPath(path)) {
|
if (!FileUtil::CreateFullPath(path)) {
|
||||||
QMessageBox::information(this, tr("Invalid Screenshot Directory"),
|
QMessageBox::information(
|
||||||
tr("Cannot create specified screenshot directory. Screenshot "
|
this, tr("Invalid Screenshot Directory"),
|
||||||
"path is set back to its default value."));
|
tr("Cannot create specified screenshot directory. Screenshot "
|
||||||
|
"path is set back to its default value."));
|
||||||
path = FileUtil::GetUserPath(FileUtil::UserPath::UserDir);
|
path = FileUtil::GetUserPath(FileUtil::UserPath::UserDir);
|
||||||
path.append("screenshots/");
|
path.append("screenshots/");
|
||||||
UISettings::values.screenshot_path = path;
|
UISettings::values.screenshot_path = path;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue