mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-03 17:38:15 +00:00
069aa9fb2a
You can easily configure it as what you do for VHD/VFS. To disable/enable Auto-Pause, find the configuration checkboxes from HLE/Misc panel in Config->Setting of rpcs3.
27 lines
571 B
C++
27 lines
571 B
C++
#pragma once
|
|
#include "Utilities/Log.h"
|
|
#include "Utilities/rFile.h"
|
|
#include "Emu/System.h"
|
|
|
|
//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);
|
|
};
|
|
} |