[nostalgia/core/gba] Fix code formatting error
This commit is contained in:
parent
2390ae9f7d
commit
0841b56399
@ -273,7 +273,7 @@ void setSprite(Context*,
|
|||||||
GbaSpriteAttrUpdate oa;
|
GbaSpriteAttrUpdate oa;
|
||||||
oa.attr0 = static_cast<uint16_t>(y & ox::onMask<uint8_t>(7))
|
oa.attr0 = static_cast<uint16_t>(y & ox::onMask<uint8_t>(7))
|
||||||
| (static_cast<uint16_t>(1) << 10) // enable alpha
|
| (static_cast<uint16_t>(1) << 10) // enable alpha
|
||||||
| (static_cast<uint16_t>(spriteShape) << 14);
|
| (static_cast<uint16_t>(spriteShape) << 14);
|
||||||
oa.attr1 = (static_cast<uint16_t>(x) & ox::onMask<uint8_t>(8))
|
oa.attr1 = (static_cast<uint16_t>(x) & ox::onMask<uint8_t>(8))
|
||||||
| (static_cast<uint16_t>(flipX) << 12)
|
| (static_cast<uint16_t>(flipX) << 12)
|
||||||
| (static_cast<uint16_t>(spriteSize) << 14);
|
| (static_cast<uint16_t>(spriteSize) << 14);
|
||||||
|
Loading…
Reference in New Issue
Block a user