diff options
author | Vincent Hamm | 2002-03-24 00:27:00 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-03-24 00:27:00 +0000 |
commit | f5741df25cb58b1ae73db5cb00fdb1b2d601abbf (patch) | |
tree | 63c8f9504169e407afccebe99b64ed91ba8fb02b | |
parent | 3f53daa8a1d77f783c0653ed44087c8fd5629b99 (diff) | |
download | scummvm-rg350-f5741df25cb58b1ae73db5cb00fdb1b2d601abbf.tar.gz scummvm-rg350-f5741df25cb58b1ae73db5cb00fdb1b2d601abbf.tar.bz2 scummvm-rg350-f5741df25cb58b1ae73db5cb00fdb1b2d601abbf.zip |
Fixed garbadge in inventory section. Removed unused library in the Makefile
svn-id: r3806
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | gfx.cpp | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -6,7 +6,7 @@ DEFINES = -DUNIX -DUSE_ADLIB LDFLAGS := INCLUDES:= `sdl-config --cflags` -I./ -I./sound CPPFLAGS= $(DEFINES) $(INCLUDES) -LIBS = `sdl-config --libs` -lreadline -lncurses -lhistory -lm +LIBS = `sdl-config --libs` -lncurses -lm ZIPFILE := scummvm-`date '+%Y-%m-%d'`.zip INCS = scumm.h scummsys.h stdafx.h @@ -67,6 +67,8 @@ void Scumm::initScreens(int a, int b, int w, int h) { void Scumm::initVirtScreen(int slot, int top, int height, bool twobufs, bool fourextra) { VirtScreen *vs = &virtscr[slot]; int size; + int i; + byte *ptr; assert(height>=0); assert(slot>=0 && slot<4); @@ -89,6 +91,10 @@ void Scumm::initVirtScreen(int slot, int top, int height, bool twobufs, bool fou vs->screenPtr = _videoBuffer+328*top; + ptr=vs->screenPtr; + for(i=0;i<size;i++) // reset background ? + *ptr++=0; + if (twobufs) { createResource(rtBuffer, slot+5, size); } |