diff --git a/rpcs3/Emu/title.h b/rpcs3/Emu/title.h index 7084231f32..783ad7abb4 100644 --- a/rpcs3/Emu/title.h +++ b/rpcs3/Emu/title.h @@ -11,7 +11,7 @@ namespace rpcs3 std::string title_id; std::string renderer; std::string vulkan_adapter; - double fps = .0; + double fps = 0.0; }; std::string get_formatted_title(const title_format_data& title_data); diff --git a/rpcs3/rpcs3qt/gs_frame.cpp b/rpcs3/rpcs3qt/gs_frame.cpp index ef6fa7cb46..67a750316e 100644 --- a/rpcs3/rpcs3qt/gs_frame.cpp +++ b/rpcs3/rpcs3qt/gs_frame.cpp @@ -205,12 +205,12 @@ void gs_frame::update_shortcuts() } } -void gs_frame::paintEvent(QPaintEvent *event) +void gs_frame::paintEvent(QPaintEvent* event) { Q_UNUSED(event) } -void gs_frame::showEvent(QShowEvent *event) +void gs_frame::showEvent(QShowEvent* event) { // We have to calculate new window positions, since the frame is only known once the window was created. // We will try to find the originally requested dimensions if possible by moving the frame. @@ -805,7 +805,7 @@ f64 gs_frame::client_display_rate() return rate; } -void gs_frame::flip(draw_context_t, bool /*skip_frame*/) +void gs_frame::flip(draw_context_t /*context*/, bool /*skip_frame*/) { static Timer fps_t; diff --git a/rpcs3/rpcs3qt/gs_frame.h b/rpcs3/rpcs3qt/gs_frame.h index a00773240e..5e63a2d9c1 100644 --- a/rpcs3/rpcs3qt/gs_frame.h +++ b/rpcs3/rpcs3qt/gs_frame.h @@ -85,8 +85,8 @@ public: protected: video_renderer m_renderer; - void paintEvent(QPaintEvent *event) override; - void showEvent(QShowEvent *event) override; + void paintEvent(QPaintEvent* event) override; + void showEvent(QShowEvent* event) override; void close() override; void reset() override;