We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9948991 commit bb94c81Copy full SHA for bb94c81
src/device/gpu/gpu.cpp
@@ -490,8 +490,8 @@ void GPU::writeGP0(uint32_t data) {
490
drawingArea.bottom = (arguments[0] & 0xffc00) >> 10;
491
} else if (command == 0xe5) {
492
// Drawing offset
493
- drawingOffsetX = extend_sign<11>(arguments[0] & 0x7ff);
494
- drawingOffsetY = extend_sign<11>((arguments[0] >> 11) & 0x7ff);
+ drawingOffsetX = extend_sign<10>(arguments[0] & 0x7ff);
+ drawingOffsetY = extend_sign<10>((arguments[0] >> 11) & 0x7ff);
495
} else if (command == 0xe6) {
496
// Mask bit setting
497
gp0_e6._reg = arguments[0];
0 commit comments