SCI: Fix kSetPort return value
SSCI doesn't return zero; it doesn't return anything. This shouldn't affect any games since no scripts should depend on a non-existent return value, but this discrepancy came up while investigating a fan script that accidentally relies on this.
This commit is contained in:
parent
7468a2e17f
commit
a1edf88adb
1 changed files with 1 additions and 1 deletions
|
@ -1119,7 +1119,7 @@ reg_t kSetPort(EngineState *s, int argc, reg_t *argv) {
|
|||
error("SetPort was called with %d parameters", argc);
|
||||
break;
|
||||
}
|
||||
return NULL_REG;
|
||||
return s->r_acc;
|
||||
}
|
||||
|
||||
reg_t kDrawCel(EngineState *s, int argc, reg_t *argv) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue