1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

Fix some typos

This commit is contained in:
Nekotekina 2021-04-03 18:11:04 +03:00
parent b7eefeac8b
commit 1ddeef71c6
2 changed files with 5 additions and 5 deletions

View File

@ -183,9 +183,9 @@ LOG_CHANNEL(q_debug, "QDEBUG");
std::abort(); std::abort();
} }
struct fatal_errors_listener final : logs::listener struct fatal_error_listener final : logs::listener
{ {
~fatal_errors_listener() override = default; ~fatal_error_listener() override = default;
void log(u64 /*stamp*/, const logs::message& msg, const std::string& prefix, const std::string& text) override void log(u64 /*stamp*/, const logs::message& msg, const std::string& prefix, const std::string& text) override
{ {
@ -451,7 +451,7 @@ int main(int argc, char** argv)
log_file = logs::make_file_listener(fs::get_cache_dir() + "RPCS3.log", stats.avail_free / 4); log_file = logs::make_file_listener(fs::get_cache_dir() + "RPCS3.log", stats.avail_free / 4);
} }
static std::unique_ptr<logs::listener> log_pauser = std::make_unique<fatal_errors_listener>(); static std::unique_ptr<logs::listener> log_pauser = std::make_unique<fatal_error_listener>();
logs::listener::add(log_pauser.get()); logs::listener::add(log_pauser.get());
{ {

View File

@ -255,10 +255,10 @@ void debugger_frame::open_breakpoints_settings()
QCheckBox* check_box = new QCheckBox(tr("Pause All Threads On Hit"), dlg); QCheckBox* check_box = new QCheckBox(tr("Pause All Threads On Hit"), dlg);
check_box->setCheckable(true); check_box->setCheckable(true);
check_box->setChecked(g_debugger_pause_all_threads_on_bp ? Qt::Checked : Qt::Unchecked); check_box->setChecked(g_debugger_pause_all_threads_on_bp.load());
check_box->setToolTip(tr("When set: a breakpoint hit will pause the emulation instead of the current thread." check_box->setToolTip(tr("When set: a breakpoint hit will pause the emulation instead of the current thread."
"\nApplies on all breakpoints in all threads regardless if set before or after changing this setting.")); "\nApplies on all breakpoints in all threads regardless if set before or after changing this setting."));
connect(check_box, &QCheckBox::clicked, dlg, [](bool checked) { g_debugger_pause_all_threads_on_bp = checked; }); connect(check_box, &QCheckBox::clicked, dlg, [](bool checked) { g_debugger_pause_all_threads_on_bp = checked; });
QPushButton* button_ok = new QPushButton(tr("OK"), dlg); QPushButton* button_ok = new QPushButton(tr("OK"), dlg);