From 5943b802d785daa76720c7f5335a70ea4add5fe2 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 11 Nov 2022 01:52:34 +0300 Subject: [PATCH] grammar --- rpcs3/Emu/Cell/Modules/cellGcmSys.cpp | 8 ++++---- rpcs3/Emu/RSX/RSXThread.cpp | 4 ++-- rpcs3/Emu/RSX/RSXThread.h | 2 +- rpcs3/Emu/system_progress.cpp | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellGcmSys.cpp b/rpcs3/Emu/Cell/Modules/cellGcmSys.cpp index 48c8538d29..fb28b4f8f8 100644 --- a/rpcs3/Emu/Cell/Modules/cellGcmSys.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGcmSys.cpp @@ -529,7 +529,7 @@ void cellGcmSetFlipHandler(vm::ptr handler) { cellGcmSys.warning("cellGcmSetFlipHandler(handler=*0x%x)", handler); - if (const auto rsx = rsx::get_current_renderer(); rsx->is_inited) + if (const auto rsx = rsx::get_current_renderer(); rsx->is_initialized) { rsx->flip_handler = handler; } @@ -681,7 +681,7 @@ void cellGcmSetUserHandler(vm::ptr handler) { cellGcmSys.warning("cellGcmSetUserHandler(handler=*0x%x)", handler); - if (const auto rsx = rsx::get_current_renderer(); rsx->is_inited) + if (const auto rsx = rsx::get_current_renderer(); rsx->is_initialized) { rsx->user_handler = handler; } @@ -707,7 +707,7 @@ void cellGcmSetVBlankHandler(vm::ptr handler) { cellGcmSys.warning("cellGcmSetVBlankHandler(handler=*0x%x)", handler); - if (const auto rsx = rsx::get_current_renderer(); rsx->is_inited) + if (const auto rsx = rsx::get_current_renderer(); rsx->is_initialized) { rsx->vblank_handler = handler; } @@ -923,7 +923,7 @@ void cellGcmSetQueueHandler(vm::ptr handler) { cellGcmSys.warning("cellGcmSetQueueHandler(handler=*0x%x)", handler); - if (const auto rsx = rsx::get_current_renderer(); rsx->is_inited) + if (const auto rsx = rsx::get_current_renderer(); rsx->is_initialized) { rsx->queue_handler = handler; } diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index e12aec11ff..ee17dcb429 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -769,8 +769,8 @@ namespace rsx g_fxo->get().init(); on_init_thread(); - is_inited = true; - is_inited.notify_all(); + is_initialized = true; + is_initialized.notify_all(); if (!zcull_ctrl) { diff --git a/rpcs3/Emu/RSX/RSXThread.h b/rpcs3/Emu/RSX/RSXThread.h index dc60f5badf..7091e955a7 100644 --- a/rpcs3/Emu/RSX/RSXThread.h +++ b/rpcs3/Emu/RSX/RSXThread.h @@ -553,7 +553,7 @@ namespace rsx u32 last_known_code_start = 0; atomic_t external_interrupt_lock{ 0 }; atomic_t external_interrupt_ack{ false }; - atomic_t is_inited{ false }; + atomic_t is_initialized{ false }; bool is_fifo_idle() const; void flush_fifo(); diff --git a/rpcs3/Emu/system_progress.cpp b/rpcs3/Emu/system_progress.cpp index 8fb0e79e0a..e0ad13d4bf 100644 --- a/rpcs3/Emu/system_progress.cpp +++ b/rpcs3/Emu/system_progress.cpp @@ -62,7 +62,7 @@ void progress_dialog_server::operator()() std::shared_ptr dlg; if (const auto renderer = rsx::get_current_renderer(); - renderer && renderer->is_inited) + renderer && renderer->is_initialized) { auto manager = g_fxo->try_get(); skip_this_one = g_fxo->get().skip_the_progress_dialog || (manager && manager->get());