mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
SCI: Fixed a silly bug when restoring port rectangles. This uncovered a bug with the recently added port save/restore code
svn-id: r54015
This commit is contained in:
parent
548e67f413
commit
3d431a215f
@ -80,7 +80,7 @@ struct Window : public Port, public Common::Serializable {
|
||||
bDrawn(false) {
|
||||
}
|
||||
|
||||
void syncRect(Common::Serializer &ser, Common::Rect targetRect) {
|
||||
void syncRect(Common::Serializer &ser, Common::Rect &targetRect) {
|
||||
ser.syncAsSint16LE(targetRect.top);
|
||||
ser.syncAsSint16LE(targetRect.left);
|
||||
ser.syncAsSint16LE(targetRect.bottom);
|
||||
|
Loading…
x
Reference in New Issue
Block a user