From c7afb39bcf0fe11afa69bcfed634011f18c9ee1f Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Tue, 28 Jul 2009 09:03:21 +0200 Subject: reduced max sldb size --- csid.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'csid.cpp') diff --git a/csid.cpp b/csid.cpp index 1589c5a6..1ba54c55 100644 --- a/csid.cpp +++ b/csid.cpp @@ -12,13 +12,14 @@ extern "C" { #include "common.h" } -#define MAX_SID_SONGS 65536 +// current hvsc sldb size is ~35k songs +#define MAX_SID_SONGS 40000 static sidplay2 *sidplay; static ReSIDBuilder *resid; static SidTune *tune; extern int sdl_player_freq; // hack! -// that costs 2 Megabytes!!! +// that costs 1.2 Megabytes!!! static uint8_t sldb_digests[MAX_SID_SONGS][16]; static int16_t sldb_pool[MAX_SID_SONGS*5]; // let's say 5 subsongs on average static int sldb_poolmark; -- cgit v1.2.3