diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-28 09:03:21 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-28 09:03:21 +0200 |
commit | c7afb39bcf0fe11afa69bcfed634011f18c9ee1f (patch) | |
tree | e0812966393e827af80267baeb7fa4930ff39383 /csid.cpp | |
parent | 8ab8c1c5f6dac279e4613e0986a35417b6534af0 (diff) |
reduced max sldb size
Diffstat (limited to 'csid.cpp')
-rw-r--r-- | csid.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |