mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
CINE: Remove unnecessary check. uints are always >= 0
This commit is contained in:
parent
fee81400a0
commit
a3ee49ad25
@ -763,7 +763,7 @@ void FWRenderer::drawFrame(bool wait) {
|
||||
for (int i = 0; i < menus; ++i)
|
||||
_menuStack[i]->drawMenu(*this, (i == menus - 1));
|
||||
|
||||
blit();
|
||||
blit();
|
||||
|
||||
if (gfxFadeInRequested) {
|
||||
fadeFromBlack();
|
||||
@ -1403,7 +1403,7 @@ void OSRenderer::incrustMask(const BGIncrust &incrust, uint8 color) {
|
||||
}
|
||||
|
||||
const Cine::Palette& OSRenderer::getFadeInSourcePalette() {
|
||||
assert(_currentBg >= 0 && _currentBg <= 8);
|
||||
assert(_currentBg <= 8);
|
||||
|
||||
if (_currentBg == 0) {
|
||||
return _backupPal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user