From 45d4abb64d371d9126468d6dc3524231d21c88b5 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Mon, 23 Jul 2018 20:44:35 +0200 Subject: [PATCH] "for" should be a "while" --- core/rec-cpp/rec_cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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