summaryrefslogtreecommitdiff
path: root/csid.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-28 09:03:21 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-28 09:03:21 +0200
commitc7afb39bcf0fe11afa69bcfed634011f18c9ee1f (patch)
treee0812966393e827af80267baeb7fa4930ff39383 /csid.cpp
parent8ab8c1c5f6dac279e4613e0986a35417b6534af0 (diff)
reduced max sldb size
Diffstat (limited to 'csid.cpp')
-rw-r--r--csid.cpp5
1 files changed, 3 insertions, 2 deletions
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;