mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-31 12:11:15 +00:00
clang-format
This commit is contained in:
parent
d2fcba1c69
commit
4d3af00c86
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user