diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp index cdacd81821..082e15aa59 100644 --- a/utils/hwstub/tools/hwstub_shell.cpp +++ b/utils/hwstub/tools/hwstub_shell.cpp @@ -725,11 +725,14 @@ int main(int argc, char **argv) // load register descriptions std::vector< soc_t > socs; for(int i = optind; i < argc; i++) - if(!soc_desc_parse_xml(argv[i], socs)) + { + socs.push_back(soc_t()); + if(!soc_desc_parse_xml(argv[i], socs[socs.size() - 1])) { printf("Cannot load description '%s'\n", argv[i]); return 2; } + } // create usb context libusb_context *ctx; diff --git a/utils/hwstub/tools/lua/pp.lua b/utils/hwstub/tools/lua/pp.lua index e32a878d01..5f2503040c 100644 --- a/utils/hwstub/tools/lua/pp.lua +++ b/utils/hwstub/tools/lua/pp.lua @@ -43,7 +43,7 @@ function PP.is_pp500x() end if PP.is_pp611x() then - identify("PP6110x (aka GoForce6110)", "pp6110", "pp6110") + identify("PP611x (aka GoForce6110)", "pp6110", "pp6110") elseif PP.is_pp502x() then identify("PP502x", "pp502x", "pp502x") elseif PP.is_pp500x() then