delorie.com/archives/browse.cgi | search |
From: | S Prasad <aangels AT ameritech DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | save_bmp problems. |
Date: | Wed, 01 Jul 1998 21:41:21 -0400 |
Organization: | Ameritech.Net http://www.ameritech.net/ |
Lines: | 10 |
Message-ID: | <359AE540.8D1585A0@ameritech.net> |
Reply-To: | aangels AT ameritech DOT net |
NNTP-Posting-Host: | 206.141.209.132 |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
In 640x480 mode, I have an off-screen bitmap called "Back." I use the following code to (try to) save the bitmap: get_palette(Palette); save_bmp("Game.bmp", Back, Palette); The function save_bmp returns 22, and therefore does not save the Back bitmap. Has anyone had similar problems, or does anyone know of a solution? I think it may be due to my enormous arrays which use LOTS of memory.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |