mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Currently there's a nasty sound stakkato going on if you keep the dpad pressed to the left in the home menu for example.
32 lines
674 B
C++
32 lines
674 B
C++
#pragma once
|
|
|
|
#include "Emu/RSX/Overlays/overlays.h"
|
|
#include "Emu/Cell/ErrorCodes.h"
|
|
#include "overlay_home_menu_main_menu.h"
|
|
|
|
namespace rsx
|
|
{
|
|
namespace overlays
|
|
{
|
|
struct home_menu_dialog : public user_interface
|
|
{
|
|
public:
|
|
home_menu_dialog();
|
|
|
|
void update() override;
|
|
void on_button_pressed(pad_button button_press, bool is_auto_repeat) override;
|
|
|
|
compiled_resource get_compiled() override;
|
|
|
|
error_code show(std::function<void(s32 status)> on_close);
|
|
|
|
private:
|
|
home_menu_main_menu m_main_menu;
|
|
overlay_element m_dim_background{};
|
|
label m_description{};
|
|
label m_time_display{};
|
|
|
|
animation_color_interpolate fade_animation{};
|
|
};
|
|
}
|
|
}
|