HostInterface: Add software cursor mode
This will probably need to be extended in the future.
This commit is contained in:
@ -166,6 +166,12 @@ public:
|
||||
/// Deletes save states for the specified game code. If resume is set, the resume state is deleted too.
|
||||
void DeleteSaveStates(const char* game_code, bool resume);
|
||||
|
||||
/// Enables the software cursor. Can be called multiple times, but must be matched by a call to DisableSoftwareCursor().
|
||||
void EnableSoftwareCursor();
|
||||
|
||||
/// Disables the software cursor, preventing it from being renderered.
|
||||
void DisableSoftwareCursor();
|
||||
|
||||
protected:
|
||||
enum : u32
|
||||
{
|
||||
@ -270,6 +276,8 @@ protected:
|
||||
std::deque<OSDMessage> m_osd_messages;
|
||||
std::mutex m_osd_messages_lock;
|
||||
|
||||
u32 m_software_cursor_use_count = 0;
|
||||
|
||||
bool m_paused = false;
|
||||
bool m_speed_limiter_temp_disabled = false;
|
||||
bool m_speed_limiter_enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user