Mesen-SX/Core/Breakpoint.h
NovaSquirrel c0e249e993 Revert "Merge branch 'reformat_code'"
This reverts commit daf3b57e89, reversing
changes made to 7a6e0b7d77.
2021-03-10 11:13:28 -05:00

31 lines
No EOL
609 B
C++

#pragma once
#include "stdafx.h"
enum class CpuType : uint8_t;
enum class SnesMemoryType;
struct AddressInfo;
enum class BreakpointType;
enum class BreakpointTypeFlags;
enum class BreakpointCategory;
class Breakpoint
{
public:
bool Matches(uint32_t memoryAddr, AddressInfo &info);
bool HasBreakpointType(BreakpointType bpType);
string GetCondition();
bool HasCondition();
CpuType GetCpuType();
bool IsEnabled();
bool IsMarked();
CpuType cpuType;
SnesMemoryType memoryType;
BreakpointTypeFlags type;
int32_t startAddr;
int32_t endAddr;
bool enabled;
bool markEvent;
char condition[1000];
};