mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
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
f3b04519a6
commit
04cdd7af00
@ -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…
Reference in New Issue
Block a user