forked from eden-emu/eden
general: rename CurrentProcess to ApplicationProcess
This commit is contained in:
parent
4363ca304a
commit
ceda2d280e
41 changed files with 169 additions and 164 deletions
|
@ -1779,7 +1779,7 @@ void GMainWindow::BootGame(const QString& filename, u64 program_id, std::size_t
|
|||
std::filesystem::path{Common::U16StringFromBuffer(filename.utf16(), filename.size())}
|
||||
.filename());
|
||||
}
|
||||
const bool is_64bit = system->Kernel().CurrentProcess()->Is64BitProcess();
|
||||
const bool is_64bit = system->Kernel().ApplicationProcess()->Is64BitProcess();
|
||||
const auto instruction_set_suffix = is_64bit ? tr("(64-bit)") : tr("(32-bit)");
|
||||
title_name = tr("%1 %2", "%1 is the title name. %2 indicates if the title is 64-bit or 32-bit")
|
||||
.arg(QString::fromStdString(title_name), instruction_set_suffix)
|
||||
|
@ -3532,7 +3532,7 @@ void GMainWindow::OnToggleGraphicsAPI() {
|
|||
}
|
||||
|
||||
void GMainWindow::OnConfigurePerGame() {
|
||||
const u64 title_id = system->GetCurrentProcessProgramID();
|
||||
const u64 title_id = system->GetApplicationProcessProgramID();
|
||||
OpenPerGameConfiguration(title_id, current_game_path.toStdString());
|
||||
}
|
||||
|
||||
|
@ -3691,7 +3691,7 @@ void GMainWindow::OnCaptureScreenshot() {
|
|||
return;
|
||||
}
|
||||
|
||||
const u64 title_id = system->GetCurrentProcessProgramID();
|
||||
const u64 title_id = system->GetApplicationProcessProgramID();
|
||||
const auto screenshot_path =
|
||||
QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir));
|
||||
const auto date =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue