summaryrefslogtreecommitdiff
path: root/robot/sim.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-27 13:49:35 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-27 13:49:35 +0200
commitdef257fcd9769d3572dbf5bdd076e4ce470fc8ec (patch)
tree4fd442954b5c6ff6319c20da03a28406f1bbf5ad /robot/sim.h
parent4c4d045329c4a149bae0b53952c39c14243e1870 (diff)
remove windows sim compatibility and fix 0xff byte handling
Diffstat (limited to 'robot/sim.h')
-rw-r--r--robot/sim.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/robot/sim.h b/robot/sim.h
index aa587cd..249414d 100644
--- a/robot/sim.h
+++ b/robot/sim.h
@@ -24,7 +24,6 @@ extern bool g_w2_sim_headless;
#define DBG_BYTES_PER_LINE 16
// debug colors
-#ifdef W2_HOST_LINUX
#define COL_BLK "\e[0;30m"
#define COL_RED "\e[0;31m"
#define COL_GRN "\e[0;32m"
@@ -34,18 +33,6 @@ extern bool g_w2_sim_headless;
#define COL_CYN "\e[0;36m"
#define COL_WHT "\e[0;37m"
#define COL_RST "\e[0m"
-#endif
-#ifdef W2_HOST_WIN32
-#define COL_BLK ""
-#define COL_RED ""
-#define COL_GRN ""
-#define COL_YEL ""
-#define COL_BLU ""
-#define COL_MAG ""
-#define COL_CYN ""
-#define COL_WHT ""
-#define COL_RST ""
-#endif
// debug stdout print macros
#define simprintf(message, ...) if (!g_w2_sim_headless) printf(COL_RED "[SIM] " COL_RST message, ##__VA_ARGS__)
@@ -54,12 +41,6 @@ extern bool g_w2_sim_headless;
COL_CYN name COL_RST "(" COL_YEL fmt COL_RST ")\n", ##__VA_ARGS__); }
#define simwarn(message, ...) if (DBG_ENABLE_SIMWARN) { simprintf(COL_YEL "[WARN] " COL_RST message, ##__VA_ARGS__); }
#define siminfo(message, ...) if (DBG_ENABLE_SIMINFO) { simprintf(COL_MAG "[INFO] " COL_RST message, ##__VA_ARGS__); }
-#ifdef W2_HOST_LINUX
-#define PTR_FMT "0x%016lx"
-#endif
-#ifdef W2_HOST_WIN32
-#define PTR_FMT "0x%016llx"
-#endif
#define BUTTON_A 0
#define BUTTON_B 1