forked from Popn_Tools/popnhax
scrolling bugfix
This commit is contained in:
parent
4c5751a694
commit
f569e9dd4b
@ -267,8 +267,11 @@ static void add_song_to_subcateg(uint32_t songid, subcategory_s* subcateg)
|
|||||||
subcateg->songlist[subcateg->size-1] |= 0x00060000; // game wants this otherwise only easy difficulty will appear
|
subcateg->songlist[subcateg->size-1] |= 0x00060000; // game wants this otherwise only easy difficulty will appear
|
||||||
|
|
||||||
// Also add it to the "ALL SONGS" subcategory
|
// Also add it to the "ALL SONGS" subcategory
|
||||||
subcategories[0].songlist = (uint32_t *) realloc(subcategories[0].songlist, sizeof(uint32_t)*(++subcategories[0].size));
|
if ( !subcateg_has_songid(songid, &subcategories[0]) )
|
||||||
subcategories[0].songlist[subcategories[0].size-1] = subcateg->songlist[subcateg->size-1];
|
{
|
||||||
|
subcategories[0].songlist = (uint32_t *) realloc(subcategories[0].songlist, sizeof(uint32_t)*(++subcategories[0].size));
|
||||||
|
subcategories[0].songlist[subcategories[0].size-1] = subcateg->songlist[subcateg->size-1];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "SearchFile.h"
|
#include "SearchFile.h"
|
||||||
|
|
||||||
#define PROGRAM_VERSION "1.11c"
|
#define PROGRAM_VERSION "1.11d"
|
||||||
|
|
||||||
const char *g_game_dll_fn = NULL;
|
const char *g_game_dll_fn = NULL;
|
||||||
const char *g_config_fn = NULL;
|
const char *g_config_fn = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user