mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 12:40:07 +00:00
Fix when too many variables are used.
This commit is contained in:
parent
94ff67ee15
commit
b0d1a98cd1
@ -380,6 +380,12 @@ error:
|
||||
|
||||
static bool get_import_value(xmlNodePtr ptr)
|
||||
{
|
||||
if (gl_tracker_info_cnt >= MAX_VARIABLES)
|
||||
{
|
||||
SSNES_ERR("Too many import variables ...\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
xmlChar *id = xmlGetProp(ptr, (const xmlChar*)"id");
|
||||
xmlChar *semantic = xmlGetProp(ptr, (const xmlChar*)"semantic");
|
||||
xmlChar *wram = xmlGetProp(ptr, (const xmlChar*)"wram");
|
||||
|
Loading…
x
Reference in New Issue
Block a user