project64/Source/Project64/N64 System/Recompiler/Exit Info.h

38 lines
1.3 KiB
C++

/****************************************************************************
* *
* Project 64 - A Nintendo 64 emulator. *
* http://www.pj64-emu.com/ *
* Copyright (C) 2012 Project64. All rights reserved. *
* *
* License: *
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
* *
****************************************************************************/
#pragma once
class CExitInfo
{
public:
enum EXIT_REASON
{
Normal = 0,
Normal_NoSysCheck = 1,
DoCPU_Action = 2,
COP1_Unuseable = 3,
DoSysCall = 4,
TLBReadMiss = 5,
TLBWriteMiss = 6,
DivByZero = 7,
ExitResetRecompCode = 8,
};
DWORD ID;
DWORD TargetPC;
CRegInfo ExitRegSet;
EXIT_REASON reason;
STEP_TYPE NextInstruction;
DWORD * JumpLoc; //32bit jump
};
typedef std::list<CExitInfo> EXIT_LIST;