mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
Cleanup.
svn-id: r48735
This commit is contained in:
parent
589103f1b1
commit
498d1da182
@ -110,7 +110,7 @@ static bool grabScreen565(Graphics::Surface *surf) {
|
||||
if (screenFormat.bytesPerPixel == 1) {
|
||||
palette = new byte[256 * 4];
|
||||
assert(palette);
|
||||
g_system->grabPalette(&palette[0], 0, 256);
|
||||
g_system->grabPalette(palette, 0, 256);
|
||||
}
|
||||
|
||||
for (uint y = 0; y < screen->h; ++y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user