From 5b9cbb290969609109ca8799e224043b85758d8c Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Fri, 7 Sep 2018 12:58:04 +0200 Subject: [PATCH] log macro --- core/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/types.h b/core/types.h index 318d57579..26743e0ad 100644 --- a/core/types.h +++ b/core/types.h @@ -480,8 +480,8 @@ using namespace std; #include "stdclass.h" #define EMUERROR(x)( printf("Error in %s:" "%s" ":%d -> " x "\n", __FILE__,__FUNCTION__ ,__LINE__ )) -#define EMUERROR2(x,a)(printf("Error in %s:" "%s" ":%d -> " x "\n)",__FILE__,__FUNCTION__,__LINE__,a)) -#define EMUERROR3(x,a,b)(printf("Error in %s:" "%s" ":%d -> " x "\n)",__FILE__,__FUNCTION__,__LINE__,a,b)) +#define EMUERROR2(x,a)(printf("Error in %s:" "%s" ":%d -> " x "\n",__FILE__,__FUNCTION__,__LINE__,a)) +#define EMUERROR3(x,a,b)(printf("Error in %s:" "%s" ":%d -> " x "\n",__FILE__,__FUNCTION__,__LINE__,a,b)) #define EMUERROR4(x,a,b,c)(printf("Error in %s:" "%s" ":%d -> " x "\n",__FILE__,__FUNCTION__,__LINE__,a,b,c)) #define EMUWARN(x)(printf( "Warning in %s:" "%s" ":%d -> " x "\n"),__FILE__,__FUNCTION__,__LINE__))