mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
Reverted accidental change caused by search and replace
This commit is contained in:
@@ -23,7 +23,7 @@ public class HwiInstruction extends Instruction {
|
||||
|
||||
@Override
|
||||
public Status execute(Target src, int srcIndex, Status status) {
|
||||
status.setErrorFlag(cubot.hardwareInterrupt(src.get(srcIndex), cpu.getStatus()));
|
||||
status.setErrorFlag(cpu.getHardwareHost().hardwareInterrupt(src.get(srcIndex), cpu.getStatus()));
|
||||
|
||||
return status;
|
||||
}
|
||||
@@ -31,7 +31,7 @@ public class HwiInstruction extends Instruction {
|
||||
@Override
|
||||
public Status execute(int src, Status status) {
|
||||
|
||||
status.setErrorFlag(cubot.hardwareInterrupt(src, cpu.getStatus()));
|
||||
status.setErrorFlag(cpu.getHardwareHost().hardwareInterrupt(src, cpu.getStatus()));
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
@@ -18,14 +18,14 @@ public class HwqInstruction extends Instruction {
|
||||
|
||||
@Override
|
||||
public Status execute(Target src, int srcIndex, Status status) {
|
||||
cubot.hardwareQuery(src.get(srcIndex));
|
||||
cpu.getHardwareHost().hardwareQuery(src.get(srcIndex));
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Status execute(int src, Status status) {
|
||||
cubot.hardwareQuery(src);
|
||||
cpu.getHardwareHost().hardwareQuery(src);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user