early-access version 3121

This commit is contained in:
pineappleEA 2022-11-16 23:42:03 +01:00
parent ceff715878
commit 93e762376a
2 changed files with 1 additions and 5 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3120. This is the source code for early-access 3121.
## Legal Notice ## Legal Notice

View file

@ -845,8 +845,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
MicroProfile& S = *MicroProfileGet(); MicroProfile& S = *MicroProfileGet();
MP_DEBUG_DUMP_RANGE(); MP_DEBUG_DUMP_RANGE();
int nY = nBaseY - UI.nOffsetY; int nY = nBaseY - UI.nOffsetY;
int64_t nNumBoxes = 0;
int64_t nNumLines = 0;
uint32_t nFrameNext = (S.nFrameCurrent+1) % MICROPROFILE_MAX_FRAME_HISTORY; uint32_t nFrameNext = (S.nFrameCurrent+1) % MICROPROFILE_MAX_FRAME_HISTORY;
MicroProfileFrameState* pFrameCurrent = &S.Frames[S.nFrameCurrent]; MicroProfileFrameState* pFrameCurrent = &S.Frames[S.nFrameCurrent];
@ -1149,7 +1147,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
} }
} }
#endif #endif
++nNumBoxes;
} }
else else
{ {
@ -1165,7 +1162,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
} }
nLinesDrawn[nStackPos] = nLineX; nLinesDrawn[nStackPos] = nLineX;
MicroProfileDrawLineVertical(nLineX, fYStart + 0.5f, fYEnd + 0.5f, nColor|UI.nOpacityForeground); MicroProfileDrawLineVertical(nLineX, fYStart + 0.5f, fYEnd + 0.5f, nColor|UI.nOpacityForeground);
++nNumLines;
} }
} }
nStackPos--; nStackPos--;