mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
33 lines
481 B
C
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];
|
|
};
|