mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-12 03:15:39 +00:00
31 lines
490 B
C++
31 lines
490 B
C++
#include "stdafx.h"
|
|
|
|
#include "Breakpoint.h"
|
|
|
|
Breakpoint::Breakpoint()
|
|
{
|
|
}
|
|
|
|
Breakpoint::~Breakpoint()
|
|
{
|
|
}
|
|
|
|
bool Breakpoint::Matches(uint32_t memoryAddr, uint32_t absoluteAddr)
|
|
{
|
|
return _addr == -1 || (memoryAddr == _addr && !_isAbsoluteAddr) || (absoluteAddr == _addr && _isAbsoluteAddr);
|
|
}
|
|
|
|
BreakpointType Breakpoint::GetType()
|
|
{
|
|
return _type;
|
|
}
|
|
|
|
string Breakpoint::GetCondition()
|
|
{
|
|
return _condition;
|
|
}
|
|
|
|
void Breakpoint::ClearCondition()
|
|
{
|
|
memset(_condition, 0, sizeof(_condition));
|
|
} |