22 #ifndef BACKENDS_GRAPHICS_ATARI_PENDINGSCREENCHANGES_H 23 #define BACKENDS_GRAPHICS_ATARI_PENDINGSCREENCHANGES_H 38 void clearTransaction() {
39 _changes &= ~kTransaction;
46 void queueVideoMode() {
47 _changes |= kVideoMode;
49 void queueAspectRatioCorrection() {
50 _changes |= kAspectRatioCorrection;
55 void queueShakeScreen() {
56 _changes |= kShakeScreen;
64 bool videoMode()
const {
65 return _changes & kVideoMode;
68 return _changes == kNone;
75 return _aspectRatioCorrectionYOffset;
78 return _setScreenOffsets;
81 return _shrinkVidelVisibleArea;
84 void applyBeforeVblLock();
85 void applyAfterVblLock();
88 void processAspectRatioCorrection();
89 void processVideoMode();
94 kAspectRatioCorrection = 1<<1,
97 kTransaction = kVideoMode | kAspectRatioCorrection,
98 kAll = kTransaction | kPalette | kShakeScreen
100 int _changes = kNone;
106 bool _resetSuperVidel;
107 bool _switchToBlackPalette;
116 #endif // ATARI-PENDINGSCREENCHANGES_H
Definition: formatinfo.h:28
Definition: atari-pendingscreenchanges.h:32
Definition: atari-graphics.h:40