3
0
mirror of https://github.com/CrazyRedMachine/popnhax.git synced 2025-01-24 07:14:12 +01:00

fix subcategories scrolling bug

This commit is contained in:
CrazyRedMachine 2024-05-04 20:15:25 +02:00
parent 15b1bf20a7
commit 4c5751a694
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ static bool subcateg_has_songid(uint32_t songid, subcategory_s* subcateg)
{ {
for ( uint32_t i = 0; i < subcateg->size; i++ ) for ( uint32_t i = 0; i < subcateg->size; i++ )
{ {
if ( subcateg->songlist[i] == songid ) if ( (subcateg->songlist[i] & 0x0000FFFF) == songid )
return true; return true;
} }
return false; return false;

View File

@ -32,7 +32,7 @@
#include "SearchFile.h" #include "SearchFile.h"
#define PROGRAM_VERSION "1.11b" #define PROGRAM_VERSION "1.11c"
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;