Browse Source

Fix android compilation bug.

louyihua 8 years ago
parent
commit
b5be2d0873
2 changed files with 3 additions and 3 deletions
  1. 2 2
      libmad/libmad_config.h
  2. 1 1
      script.c

+ 2 - 2
libmad/libmad_config.h

@@ -133,8 +133,8 @@
 #  define FPM_INTEL   1
 #elif defined(_M_X64)
 #  define FPM_64BIT   1
-#elif defined(__arm__)
-#  define FPM_ARM     1
+//#elif defined(__arm__)
+//#  define FPM_ARM     1
 #elif defined(__mips__)
 #  define FPM_MIPS    1
 #elif defined(__sparc__)

+ 1 - 1
script.c

@@ -567,7 +567,7 @@ PAL_AdditionalCredits(
 	  if (wcsncmp(rgszStrings[i], L"%ls", 3) == 0)
 	  {
 		  // We've limited the length of g_rcCredits[i] in text.c, so no need to double check here.
-		  wcscpy(buffer, gConfig.pszMsgName ? g_rcCredits[i] : rgszcps[i][gpGlobals->iCodePage]);
+		  wcscpy(buffer, gConfig.pszMsgName ? g_rcCredits[i] : rgszcps[i][gConfig.iCodePage]);
 		  wcscat(buffer, rgszStrings[i] + 3);
 	  }
 	  else