Guest User

Untitled

a guest
Sep 10th, 2013
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- Core/HW/atrac3plus.cpp.bak  2013-09-10 19:25:21.000000000 +0200
  2. +++ Core/HW/atrac3plus.cpp      2013-09-10 21:00:46.226450098 +0200
  3. @@ -28,7 +28,7 @@
  4.  namespace Atrac3plus_Decoder {
  5.  
  6.         bool IsSupported() {
  7. -#if (defined(_WIN32) && (defined(_M_IX86) || defined(_M_X64))) || defined(ARMEABI) || defined(ARMEABI_V7A) || defined(MACOSX)
  8. +#if (defined(_WIN32) && (defined(_M_IX86) || defined(_M_X64))) || defined(ARMEABI) || defined(ARMEABI_V7A) || defined(MACOSX) || define
  9.                 return true;
  10.  #else
  11.                 return false;
  12. @@ -49,7 +49,9 @@
  13.         ATRAC3PLUS_CLOSECONTEXT close_context = 0;
  14.  
  15.         std::string GetInstalledFilename() {
  16. -#if defined(ANDROID) && defined(ARM)
  17. +#if defined(__linux__)
  18. +               return "/usr/lib/libat3plusdecoder.so";
  19. +#elif defined(ANDROID) && defined(ARM)
  20.                 return g_Config.internalDataDirectory + "libat3plusdecoder.so";
  21.  #elif defined(_WIN32)
  22.  #ifdef _M_X64
RAW Paste Data