mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
SLUDGE: remove value setting loop by memset
This commit is contained in:
parent
78cba75570
commit
09b4a0675e
@ -187,10 +187,7 @@ bool loadSpriteBank(int fileNum, spriteBank &loadhere, bool isFont) {
|
||||
}
|
||||
data = (byte *)new byte[picwidth * (picheight + 1)];
|
||||
if (!checkNew(data)) return false;
|
||||
int ooo = picwidth * picheight;
|
||||
for (int tt = 0; tt < picwidth; tt++) {
|
||||
data[ooo++] = 0;
|
||||
}
|
||||
memset(data + picwidth * picheight, 0, picwidth);
|
||||
spriteData[i] = data;
|
||||
|
||||
// read color
|
||||
|
Loading…
x
Reference in New Issue
Block a user