svn-id: r48735
This commit is contained in:
Johannes Schickel 2010-04-19 20:44:05 +00:00
parent 589103f1b1
commit 498d1da182

View File

@ -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) {