mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 09:26:26 +00:00
SCI32: Implement kBitmapSetDisplace
This commit is contained in:
parent
55390e77b1
commit
16a7bcb0c3
@ -657,9 +657,11 @@ reg_t kBitmapInvert(EngineState *s, int argc, reg_t *argv) {
|
||||
}
|
||||
|
||||
reg_t kBitmapSetDisplace(EngineState *s, int argc, reg_t *argv) {
|
||||
// bitmap, x, y
|
||||
BitmapResource bitmap(argv[0]);
|
||||
Common::Point newPos(argv[1].toUint16(), argv[2].toUint16());
|
||||
bitmap.setDisplace(newPos);
|
||||
|
||||
return kStubNull(s, argc + 1, argv - 1);
|
||||
return s->r_acc;
|
||||
}
|
||||
|
||||
reg_t kBitmapCreateFromView(EngineState *s, int argc, reg_t *argv) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user