diff --git a/core/rec-cpp/rec_cpp.cpp b/core/rec-cpp/rec_cpp.cpp index b3a3d0527..4732489fd 100644 --- a/core/rec-cpp/rec_cpp.cpp +++ b/core/rec-cpp/rec_cpp.cpp @@ -53,7 +53,7 @@ void ngen_mainloop(void* v_cntx) cycle_counter = 0; #if !defined(TARGET_BOUNDED_EXECUTION) - for (sh4_int_bCpuRun) { + while (sh4_int_bCpuRun) { #else for (int i=0; i<10000; i++) { #endif