16 lines
329 B
C++
16 lines
329 B
C++
#pragma once
|
|
#include <common.hpp>
|
|
#include <core/mmio/MI.hpp>
|
|
|
|
namespace n64 {
|
|
|
|
struct Registers;
|
|
|
|
enum class Interrupt : u8 {
|
|
VI, SI, PI, AI, DP, SP
|
|
};
|
|
|
|
void InterruptRaise(MI &mi, Registers ®s, Interrupt intr);
|
|
void InterruptLower(MI &mi, Registers ®s, Interrupt intr);
|
|
void UpdateInterrupt(MI &mi, Registers ®s);
|
|
} |