diff --git a/source/GTA_SA_cheat_finder.cpp b/source/GTA_SA_cheat_finder.cpp index 6cd0742..9820542 100755 --- a/source/GTA_SA_cheat_finder.cpp +++ b/source/GTA_SA_cheat_finder.cpp @@ -149,7 +149,7 @@ void GTA_SA::run() std::cout << "" << std::endl; } -#if !defined(BUILD_WITH_CUDA) +#if defined(BUILD_WITH_CUDA) void GTA_SA::cuda_runner() { if ((max_range - min_range) < cuda_block_size) { diff --git a/source/GTA_SA_cheat_finder.hpp b/source/GTA_SA_cheat_finder.hpp index dec4edc..86f45f4 100755 --- a/source/GTA_SA_cheat_finder.hpp +++ b/source/GTA_SA_cheat_finder.hpp @@ -43,7 +43,7 @@ class GTA_SA public: GTA_SA(); void cpu_runner(const std::uint64_t i); -#if !defined(BUILD_WITH_CUDA) +#if defined(BUILD_WITH_CUDA) void cuda_runner(); #endif void run();