Renamee IOPort 2 functions to original
This commit is contained in:
@@ -126,7 +126,7 @@ namespace JabyEngine {
|
||||
};
|
||||
|
||||
static void enable(IOPort<InterruptEnable>& port) {
|
||||
port.write(port.read().set2(InterruptEnable::InterruptTypValue.range_max<uint8_t>()));
|
||||
port.write(port.read().set(InterruptEnable::InterruptTypValue.range_max<uint8_t>()));
|
||||
}
|
||||
|
||||
static void enable_extended(IOPort<InterruptEnable>& port) {
|
||||
@@ -134,11 +134,11 @@ namespace JabyEngine {
|
||||
}
|
||||
|
||||
static Type get_type(const IOPort<InterruptFlag>& port) {
|
||||
return static_cast<Type>(port.read().get2(InterruptFlag::InterruptTypValue));
|
||||
return static_cast<Type>(port.read().get(InterruptFlag::InterruptTypValue));
|
||||
}
|
||||
|
||||
static void ack(IOPort<InterruptFlag>& port) {
|
||||
port.write(port.read().set2(InterruptFlag::InterruptTypValue.range_max<uint8_t>()));
|
||||
port.write(port.read().set(InterruptFlag::InterruptTypValue.range_max<uint8_t>()));
|
||||
}
|
||||
|
||||
static void ack_extended(IOPort<InterruptFlag>& port) {
|
||||
|
Reference in New Issue
Block a user