Skip to content

Commit 4c5751a

Browse files
fix subcategories scrolling bug
1 parent 15b1bf2 commit 4c5751a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

popnhax/custom_categs.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static bool subcateg_has_songid(uint32_t songid, subcategory_s* subcateg)
250250
{
251251
for ( uint32_t i = 0; i < subcateg->size; i++ )
252252
{
253-
if ( subcateg->songlist[i] == songid )
253+
if ( (subcateg->songlist[i] & 0x0000FFFF) == songid )
254254
return true;
255255
}
256256
return false;

popnhax/dllmain.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#include "SearchFile.h"
3434

35-
#define PROGRAM_VERSION "1.11b"
35+
#define PROGRAM_VERSION "1.11c"
3636

3737
const char *g_game_dll_fn = NULL;
3838
const char *g_config_fn = NULL;

0 commit comments

Comments
 (0)