X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fsoc.c;h=3d4ad0415b89e11da001048038e73aad5849e90c;hb=3e1124f989febba80ef582c1200153ed176226f0;hp=5de0d23756e72a3db82547bb37da9918e86bd9c2;hpb=1eb704b6332072581bf7c3bc411babc66f8bda8a;p=libpicofe.git diff --git a/gp2x/soc.c b/gp2x/soc.c index 5de0d23..3d4ad04 100644 --- a/gp2x/soc.c +++ b/gp2x/soc.c @@ -1,3 +1,14 @@ +/* + * (C) Gražvydas "notaz" Ignotas, 2009-2010 + * + * This work is licensed under the terms of any of these licenses + * (at your option): + * - GNU GPL, version 2 or later. + * - GNU LGPL, version 2.1 or later. + * - MAME license. + * See the COPYING file in the top-level directory. + */ + #include #include #include @@ -39,7 +50,7 @@ gp2x_soc_t soc_detect(void) int memdev; int i; - if (ret != -2) + if ((int)ret != -2) /* already detected */ return ret;