diff options
author | Paweł Kołodziejski | 2003-03-05 23:57:32 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-05 23:57:32 +0000 |
commit | 9d1f10dcca2ff2cb7ebb08d2b5f07e88f3e358bc (patch) | |
tree | 4b71bb3a3035b67e8c58f978f1e093e914126297 /sky | |
parent | 9921273f182c400e8f95186f0638b6c2233e37aa (diff) | |
download | scummvm-rg350-9d1f10dcca2ff2cb7ebb08d2b5f07e88f3e358bc.tar.gz scummvm-rg350-9d1f10dcca2ff2cb7ebb08d2b5f07e88f3e358bc.tar.bz2 scummvm-rg350-9d1f10dcca2ff2cb7ebb08d2b5f07e88f3e358bc.zip |
forgot one
svn-id: r6700
Diffstat (limited to 'sky')
-rw-r--r-- | sky/screen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp index c262a7b434..81f3d29223 100644 --- a/sky/screen.cpp +++ b/sky/screen.cpp @@ -19,6 +19,7 @@ * */ +#include "stdafx.h" #include <string.h> #include "common/scummsys.h" #include "sky/skydefs.h" @@ -61,7 +62,7 @@ void SkyState::initialise_screen(void) _work_palette = (uint8 *)malloc(vga_colours*3); //blank the first 240 colors of the palette - bzero(tmp_pal, game_colours*4); + memset(tmp_pal, 0, game_colours * 4); //set the remaining colors for (i=0; i<(vga_colours-game_colours); i++) { |