cleanup code format

This commit is contained in:
Jeffrey Clark 2024-03-06 01:07:56 -06:00
parent 047b15c210
commit 93f622ee25

View file

@ -189,7 +189,7 @@ static const char s_fragmentShaderTileGen[] = R"glsl(
// register data
bool LineScrollMode (int layerNum) { return (regs[0x60/4 + layerNum] & 0x8000u) != 0; }
int GetHorizontalScroll(int layerNum) { return int(regs[0x60/4 + layerNum] & 0x3FFu); }
int GetHorizontalScroll (int layerNum) { return int(regs[0x60/4 + layerNum] & 0x3FFu); }
int GetVerticalScroll (int layerNum) { return int((regs[0x60/4 + layerNum] >> 16) & 0x1FFu); }
int LayerPriority () { return int((regs[0x20/4] >> 8) & 0xFu); }
bool LayerIs4Bit (int layerNum) { return (regs[0x20/4] & uint(1 << (12 + layerNum))) != 0; }