1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

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.
This commit is contained in:
Bernhard Schelling 2020-08-07 22:07:05 +09:00 committed by GitHub
parent f657d3d600
commit 5d54fff166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;