mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-27 08:05:41 +00:00
30 lines
527 B
C++
30 lines
527 B
C++
#ifdef SUPERMODEL_DEBUGGER
|
|
#ifndef INCLUDED_EXCEPTION_H
|
|
#define INCLUDED_EXCEPTION_H
|
|
|
|
#include "Types.h"
|
|
|
|
namespace Debugger
|
|
{
|
|
class CCPUDebug;
|
|
|
|
/*
|
|
* Class that represents a CPU exception.
|
|
*/
|
|
class CException
|
|
{
|
|
public:
|
|
CCPUDebug *cpu;
|
|
const char *id;
|
|
const UINT16 code;
|
|
const char *name;
|
|
|
|
bool trap;
|
|
unsigned long count;
|
|
|
|
CException(CCPUDebug *exCPU, const char *exId, UINT16 exCode, const char *exName);
|
|
};
|
|
}
|
|
|
|
#endif // INCLUDED_EXCEPTION_H
|
|
#endif // SUPERMODEL_DEBUGGER
|