Skip to content

Commit

Permalink
Fix crash due to core option count overflow
Browse files Browse the repository at this point in the history
Happens mostly on dipswitched-enable games like Vs. System.
  • Loading branch information
negativeExponent authored and LibretroAdmin committed Oct 16, 2024
1 parent f72dac4 commit 9f53af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/drivers/libretro/libretro_core_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ extern "C" {
********************************
*/

#define MAX_CORE_OPTIONS 37
/* NOTE: add 8 for dipswitch */
#define MAX_CORE_OPTIONS 42

/* RETRO_LANGUAGE_ENGLISH */

Expand Down

0 comments on commit 9f53af4

Please sign in to comment.