Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Fix memory access bug #48
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudreadmon committed Nov 7, 2015
1 parent 98a258b commit 228fb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/burner/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ static void set_environment()

log_cb(RETRO_LOG_INFO, "set_environment: SYSTEM: %d, DIPSWITCH: %d\n", nbr_vars, nbr_dips);

struct retro_variable vars[nbr_vars + nbr_dips];
struct retro_variable vars[nbr_vars + nbr_dips + 1];

int idx_var = 0;

Expand Down

0 comments on commit 228fb15

Please sign in to comment.