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 /gfx.cpp | |
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
Diffstat (limited to 'gfx.cpp')
-rw-r--r-- | gfx.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); } |