mirror of https://github.com/stella-emu/stella.git
Fixed snapshots being cut off in fullscreen mode (fixes #674).
This commit is contained in:
parent
155839fb0b
commit
ab942bc221
|
@ -14,6 +14,9 @@
|
|||
|
||||
6.2.1 to 6.3 (XXXX XX, 2020)
|
||||
|
||||
* Fix bug when taking fullscreen snapshots; the dimensions were sometimes
|
||||
cut off.
|
||||
|
||||
* Added autofire.
|
||||
|
||||
* Added new interface palette 'Dark'. (TODO: DOC)
|
||||
|
|
|
@ -111,7 +111,8 @@ struct Rect
|
|||
Rect() {}
|
||||
explicit Rect(const Size& s) : bottom(s.h), right(s.w) { assert(valid()); }
|
||||
Rect(uInt32 w, uInt32 h) : bottom(h), right(w) { assert(valid()); }
|
||||
Rect(const Point& p, uInt32 w, uInt32 h) : top(p.y), left(p.x), bottom(h), right(w) { assert(valid()); }
|
||||
Rect(const Point& p, uInt32 w, uInt32 h)
|
||||
: top(p.y), left(p.x), bottom(p.y + h), right(p.x + w) { assert(valid()); }
|
||||
Rect(uInt32 x1, uInt32 y1, uInt32 x2, uInt32 y2) : top(y1), left(x1), bottom(y2), right(x2) { assert(valid()); }
|
||||
|
||||
uInt32 x() const { return left; }
|
||||
|
|
Loading…
Reference in New Issue