1
0
Fork 0
forked from len0rd/rockbox

hwstub: fix hwstub_shell

Change-Id: I008a55675054c86fd206cc5248f2bd9475e80b49
This commit is contained in:
Amaury Pouly 2014-05-01 19:44:23 +02:00
parent 355b5406fa
commit 17affb8085
2 changed files with 5 additions and 2 deletions

View file

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

View file

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