improve and fix NonStupidBitfield also get rid of some UB

fixes optimised lto clang build
This commit is contained in:
RSDuck
2021-02-09 19:24:57 +01:00
parent 1112162e99
commit 6256a42e00
3 changed files with 93 additions and 57 deletions

View File

@ -117,6 +117,7 @@ void GPU2D::Reset()
BGMosaicYMax = 0;
OBJMosaicY = 0;
OBJMosaicYMax = 0;
OBJMosaicYCount = 0;
BlendCnt = 0;
EVA = 16;
@ -130,6 +131,7 @@ void GPU2D::Reset()
memset(DispFIFOBuffer, 0, 256*2);
CaptureCnt = 0;
CaptureLatch = false;
MasterBrightness = 0;