mirror of
https://github.com/Inori/GPCS4.git
synced 2025-04-02 10:31:52 -04:00
22 lines
434 B
C++
22 lines
434 B
C++
#include "memory_monitor_impl.h"
|
|
|
|
MemoryMonitorImpl::MemoryMonitorImpl(MonitorFlags flags, MemoryCallback* callback) :
|
|
m_flags(flags),
|
|
m_callback(callback)
|
|
{
|
|
}
|
|
|
|
MemoryMonitorImpl::~MemoryMonitorImpl()
|
|
{
|
|
}
|
|
|
|
void MemoryMonitorImpl::OnMemoryRead(void* address, size_t size)
|
|
{
|
|
m_callback->OnMemoryRead(address, size);
|
|
}
|
|
|
|
void MemoryMonitorImpl::OnMemoryWrite(void* address, size_t size)
|
|
{
|
|
m_callback->OnMemoryWrite(address, size);
|
|
}
|
|
|