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:
parent
b7eefeac8b
commit
1ddeef71c6
@ -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());
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user