From faaa72d3989f127bb8c4e3641c06b998cda185d2 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 3 Feb 2023 03:27:08 +0300 Subject: [PATCH] rsx: Reverse declaration order for animated icon --- rpcs3/Emu/RSX/Overlays/overlay_animated_icon.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/rpcs3/Emu/RSX/Overlays/overlay_animated_icon.h b/rpcs3/Emu/RSX/Overlays/overlay_animated_icon.h index 68a8aecb5a..11b1e58c8c 100644 --- a/rpcs3/Emu/RSX/Overlays/overlay_animated_icon.h +++ b/rpcs3/Emu/RSX/Overlays/overlay_animated_icon.h @@ -8,7 +8,11 @@ namespace rsx { class animated_icon : public image_view { - std::unique_ptr m_icon; + public: + animated_icon(const char* icon_name); + + void update_animation_frame(compiled_resource& result); + compiled_resource& get_compiled() override; protected: // Some layout and frame data @@ -27,11 +31,8 @@ namespace rsx u64 m_current_frame_duration = 0; u64 m_last_update_timestamp = 0; - public: - animated_icon(const char* icon_name); - - void update_animation_frame(compiled_resource& result); - compiled_resource& get_compiled() override; + private: + std::unique_ptr m_icon; }; } }