mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
24 lines
491 B
C++
24 lines
491 B
C++
#pragma once
|
|
|
|
//Regarded as a Debugger Enchantment
|
|
namespace Debug {
|
|
//To store the pause function/call id, and let those pause there.
|
|
//Would be with a GUI to configure those.
|
|
struct AutoPause
|
|
{
|
|
std::vector<u32> m_pause_syscall;
|
|
std::vector<u32> m_pause_function;
|
|
bool initialized;
|
|
bool m_pause_syscall_enable;
|
|
bool m_pause_function_enable;
|
|
|
|
AutoPause();
|
|
~AutoPause();
|
|
public:
|
|
static AutoPause& getInstance(void);
|
|
|
|
void Reload(void);
|
|
|
|
void TryPause(u32 code);
|
|
};
|
|
} |