mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 01:27:00 +00:00
Fix some misspells
Note: in main.cpp there are many dirs similar to Program Files, so tip should be appropriate.
This commit is contained in:
parent
c47d04fd2f
commit
1a8fb61373
@ -439,7 +439,7 @@ error_code npDrmIsAvailable(vm::cptr<u8> k_licensee_addr, vm::cptr<char> drm_pat
|
||||
if (Emu.GetCat() == "PE")
|
||||
{
|
||||
std::copy_n(NP_PSP_KEY_2, std::size(NP_PSP_KEY_2), k_licensee.begin());
|
||||
sceNp.success("npDrmIsAvailable(): PSP remaster KLicense key apllied.");
|
||||
sceNp.success("npDrmIsAvailable(): PSP remaster KLicense key applied.");
|
||||
}
|
||||
|
||||
const std::string enc_drm_path(drm_path.get_ptr(), std::find(drm_path.get_ptr(), drm_path.get_ptr() + 0x100, '\0'));
|
||||
|
@ -83,7 +83,7 @@ PPUTranslator::PPUTranslator(LLVMContext& context, Module* _module, const ppu_mo
|
||||
switch (rel.type)
|
||||
{
|
||||
|
||||
// Ignore relative relocations, they are handled in emmitted code
|
||||
// Ignore relative relocations, they are handled in emitted code
|
||||
// Comment out types we haven't confirmed as used and working
|
||||
case 10:
|
||||
case 11:
|
||||
|
@ -311,7 +311,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
report_fatal_error("Cannot create RPCS3.log (access denied)."
|
||||
#ifdef _WIN32
|
||||
"\nNote that RPCS3 cannot be installed in Program Files or similar directory with limited permissions."
|
||||
"\nNote that RPCS3 cannot be installed in Program Files or similar directories with limited permissions."
|
||||
#else
|
||||
"\nPlease, check RPCS3 permissions in '~/.config/rpcs3'."
|
||||
#endif
|
||||
|
@ -129,13 +129,13 @@ void main_window::Init()
|
||||
// enable play options if a recent game exists
|
||||
const bool enable_play_last = !m_recent_game_acts.isEmpty() && m_recent_game_acts.first();
|
||||
|
||||
const QString start_toolip = enable_play_last ? tr("Play %0").arg(m_recent_game_acts.first()->text()) : tr("Play");
|
||||
const QString start_tooltip = enable_play_last ? tr("Play %0").arg(m_recent_game_acts.first()->text()) : tr("Play");
|
||||
|
||||
if (enable_play_last)
|
||||
{
|
||||
ui->sysPauseAct->setText(tr("&Play last played game\tCtrl+E"));
|
||||
ui->sysPauseAct->setIcon(m_icon_play);
|
||||
ui->toolbar_start->setToolTip(start_toolip);
|
||||
ui->toolbar_start->setToolTip(start_tooltip);
|
||||
}
|
||||
|
||||
ui->sysPauseAct->setEnabled(enable_play_last);
|
||||
@ -147,7 +147,7 @@ void main_window::Init()
|
||||
m_thumb_bar->setWindow(windowHandle());
|
||||
|
||||
m_thumb_playPause = new QWinThumbnailToolButton(m_thumb_bar);
|
||||
m_thumb_playPause->setToolTip(start_toolip);
|
||||
m_thumb_playPause->setToolTip(start_tooltip);
|
||||
m_thumb_playPause->setIcon(m_icon_thumb_play);
|
||||
m_thumb_playPause->setEnabled(enable_play_last);
|
||||
|
||||
@ -677,11 +677,11 @@ void main_window::HandlePupInstallation(QString file_path)
|
||||
|
||||
fs::file update_files_f = pup.get_file(0x300);
|
||||
tar_object update_files(update_files_f);
|
||||
auto updatefilenames = update_files.get_filenames();
|
||||
auto update_filenames = update_files.get_filenames();
|
||||
|
||||
updatefilenames.erase(std::remove_if(
|
||||
updatefilenames.begin(), updatefilenames.end(), [](std::string s) { return s.find("dev_flash_") == umax; }),
|
||||
updatefilenames.end());
|
||||
update_filenames.erase(std::remove_if(
|
||||
update_filenames.begin(), update_filenames.end(), [](std::string s) { return s.find("dev_flash_") == umax; }),
|
||||
update_filenames.end());
|
||||
|
||||
std::string version_string = pup.get_file(0x100).to_string();
|
||||
|
||||
@ -699,7 +699,7 @@ void main_window::HandlePupInstallation(QString file_path)
|
||||
return;
|
||||
}
|
||||
|
||||
progress_dialog pdlg(tr("RPCS3 Firmware Installer"), tr("Installing firmware version %1\nPlease wait...").arg(qstr(version_string)), tr("Cancel"), 0, static_cast<int>(updatefilenames.size()), false, this);
|
||||
progress_dialog pdlg(tr("RPCS3 Firmware Installer"), tr("Installing firmware version %1\nPlease wait...").arg(qstr(version_string)), tr("Cancel"), 0, static_cast<int>(update_filenames.size()), false, this);
|
||||
pdlg.show();
|
||||
|
||||
// Synchronization variable
|
||||
@ -708,13 +708,13 @@ void main_window::HandlePupInstallation(QString file_path)
|
||||
// Run asynchronously
|
||||
named_thread worker("Firmware Installer", [&]
|
||||
{
|
||||
for (const auto& updatefilename : updatefilenames)
|
||||
for (const auto& update_filename : update_filenames)
|
||||
{
|
||||
if (progress == -1) break;
|
||||
|
||||
fs::file updatefile = update_files.get_file(updatefilename);
|
||||
fs::file update_file = update_files.get_file(update_filename);
|
||||
|
||||
SCEDecrypter self_dec(updatefile);
|
||||
SCEDecrypter self_dec(update_file);
|
||||
self_dec.LoadHeaders();
|
||||
self_dec.LoadMetadata(SCEPKG_ERK, SCEPKG_RIV);
|
||||
self_dec.DecryptData();
|
||||
@ -832,7 +832,7 @@ void main_window::DecryptSPRXLibraries()
|
||||
gui_log.notice("Finished decrypting all binaries.");
|
||||
}
|
||||
|
||||
/** Needed so that when a backup occurs of window state in guisettings, the state is current.
|
||||
/** Needed so that when a backup occurs of window state in gui_settings, the state is current.
|
||||
* Also, so that on close, the window state is preserved.
|
||||
*/
|
||||
void main_window::SaveWindowState()
|
||||
|
@ -233,7 +233,7 @@
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionManage_Users"/>
|
||||
<addaction name="confSavedataManagerAct"/>
|
||||
<addaction name="actionManage_RAP_Licences"/>
|
||||
<addaction name="actionManage_RAP_Licenses"/>
|
||||
<addaction name="actionManage_Trophy_Data"/>
|
||||
<addaction name="actionManage_Skylanders_Portal"/>
|
||||
<addaction name="actionManage_Cheats"/>
|
||||
@ -651,7 +651,7 @@
|
||||
<string>Game List Refresh</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionManage_RAP_Licences">
|
||||
<action name="actionManage_RAP_Licenses">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
@ -2324,7 +2324,6 @@
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../resources.qrc"/>
|
||||
<include location="../resources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -408,15 +408,15 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||
});
|
||||
ui->disableVertexCache->setEnabled(!ui->multithreadedRSX->isChecked());
|
||||
|
||||
m_emu_settings->EnhanceCheckBox(ui->scrictModeRendering, emu_settings_type::StrictRenderingMode);
|
||||
SubscribeTooltip(ui->scrictModeRendering, tooltips.settings.strict_rendering_mode);
|
||||
m_emu_settings->EnhanceCheckBox(ui->strictModeRendering, emu_settings_type::StrictRenderingMode);
|
||||
SubscribeTooltip(ui->strictModeRendering, tooltips.settings.strict_rendering_mode);
|
||||
const auto onStrictRenderingMode = [this](bool checked)
|
||||
{
|
||||
ui->gb_resolutionScale->setEnabled(!checked);
|
||||
ui->gb_minimumScalableDimension->setEnabled(!checked);
|
||||
ui->gb_anisotropicFilter->setEnabled(!checked);
|
||||
};
|
||||
connect(ui->scrictModeRendering, &QCheckBox::clicked, this, onStrictRenderingMode);
|
||||
connect(ui->strictModeRendering, &QCheckBox::clicked, this, onStrictRenderingMode);
|
||||
|
||||
// Radio buttons
|
||||
|
||||
@ -617,7 +617,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||
};
|
||||
|
||||
// Handle connects to disable specific checkboxes that depend on GUI state.
|
||||
onStrictRenderingMode(ui->scrictModeRendering->isChecked());
|
||||
onStrictRenderingMode(ui->strictModeRendering->isChecked());
|
||||
fix_gl_legacy(ui->renderBox->currentText()); // Init
|
||||
connect(ui->renderBox, &QComboBox::currentTextChanged, fix_gl_legacy);
|
||||
|
||||
|
@ -702,7 +702,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="scrictModeRendering">
|
||||
<widget class="QCheckBox" name="strictModeRendering">
|
||||
<property name="text">
|
||||
<string>Strict Rendering Mode</string>
|
||||
</property>
|
||||
@ -2064,7 +2064,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="wakeupDelayLAyout" stretch="1,0">
|
||||
<layout class="QHBoxLayout" name="wakeupDelayLayout" stretch="1,0">
|
||||
<item>
|
||||
<widget class="QLabel" name="wakeupText">
|
||||
<property name="text">
|
||||
|
@ -282,9 +282,6 @@
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../resources.qrc"/>
|
||||
<include location="../resources.qrc"/>
|
||||
<include location="../resources.qrc"/>
|
||||
<include location="../resources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Loading…
x
Reference in New Issue
Block a user