Mesen2/Core/Debugger/DebuggerFeatures.h
2024-09-19 21:19:43 +09:00

33 lines
481 B
C

#pragma once
#include "pch.h"
enum class VectorType
{
Indirect,
Direct,
x86,
x86WithOffset
};
struct CpuVectorDefinition
{
char Name[15] = {};
uint32_t Address = 0;
VectorType Type = VectorType::Indirect;
};
struct DebuggerFeatures
{
bool RunToIrq;
bool RunToNmi;
bool StepOver;
bool StepOut;
bool StepBack;
bool ChangeProgramCounter;
bool CallStack;
bool CpuCycleStep;
uint8_t IrqVectorOffset;
uint8_t CpuVectorCount;
CpuVectorDefinition CpuVectors[16];
};