summaryrefslogtreecommitdiff
path: root/csid.cpp
diff options
context:
space:
mode:
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;