From 5d54fff166dc04543149026612105da29b6c4b89 Mon Sep 17 00:00:00 2001 From: Bernhard Schelling <14200249+schellingb@users.noreply.github.com> Date: Fri, 7 Aug 2020 22:07:05 +0900 Subject: [PATCH] Increase maximum playlist size to 2147483647 Before the number decided the initial memory allocation, now it only defines an actual maximum cap. This sets it to the biggest signed 32-bit number in case this is ever read from/written to something that isn't explicitly size_t or unsigned int. --- playlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playlist.h b/playlist.h index d68692666b..88aa5fa190 100644 --- a/playlist.h +++ b/playlist.h @@ -29,7 +29,7 @@ RETRO_BEGIN_DECLS /* Default maximum playlist size */ -#define COLLECTION_SIZE 99999 +#define COLLECTION_SIZE 0x7FFFFFFF typedef struct content_playlist playlist_t;