forked from len0rd/rockbox
Free more plugin memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11743 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4084b5d478
commit
29a13872d7
3 changed files with 26 additions and 20 deletions
|
@ -694,18 +694,17 @@ int R_ColormapNumForName(const char *name)
|
|||
// By Lee Killough 2/21/98
|
||||
//
|
||||
|
||||
struct _cache {
|
||||
unsigned char pct;
|
||||
unsigned char playpal[256];
|
||||
}
|
||||
cache;
|
||||
|
||||
int tran_filter_pct = 66; // filter percent
|
||||
|
||||
#define TSC 12 /* number of fixed point digits in filter percent */
|
||||
|
||||
void R_InitTranMap(int progress)
|
||||
{
|
||||
struct _cache {
|
||||
unsigned char pct;
|
||||
unsigned char playpal[256];
|
||||
}
|
||||
cache;
|
||||
int lump = W_CheckNumForName("TRANMAP");
|
||||
|
||||
// If a tranlucency filter map lump is present, use it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue