clang-format

This commit is contained in:
Joshua Peisach 2023-12-29 16:54:08 -05:00
parent d2fcba1c69
commit 4d3af00c86
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -2,6 +2,7 @@
#include "mxomni.h" #include "mxomni.h"
#include "mxvideomanager.h" #include "mxvideomanager.h"
#include <windows.h> #include <windows.h>
DECOMP_SIZE_ASSERT(MxDisplaySurface, 0xac); DECOMP_SIZE_ASSERT(MxDisplaySurface, 0xac);
@ -298,7 +299,8 @@ void MxDisplaySurface::SetPalette(MxPalette* p_palette)
j = i + 2; j = i + 2;
// this line is probably very incorrect // this line is probably very incorrect
*this->m_16bitPal = e >> (8 - bVar3 & 0x1f) << (bVar2 & 0x1f) | e >> (8 - bVar5 & 0x1f) << (bVar4 & 0x1f) | e >> (8 - bVar7 & 0x1f) << (bVar6 & 0x1f); *this->m_16bitPal = e >> (8 - bVar3 & 0x1f) << (bVar2 & 0x1f) | e >> (8 - bVar5 & 0x1f) << (bVar4 & 0x1f) |
e >> (8 - bVar7 & 0x1f) << (bVar6 & 0x1f);
i = j; i = j;
e += 2; e += 2;
} while (j < 512); } while (j < 512);