File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ int main(int argc, char** argv) {
117117
118118 core -> reset (core );
119119
120+ #ifdef ENABLE_DEBUGGERS
120121 struct mDebugger debugger ;
121122 struct mDebuggerAccessLogger accessLog ;
122123 bool hasDebugger = false;
@@ -133,6 +134,7 @@ int main(int argc, char** argv) {
133134 mDebuggerAccessLoggerStart (& accessLog );
134135 hasDebugger = true;
135136 }
137+ #endif
136138
137139 mArgumentsApplyFileLoads (& args , core );
138140
@@ -161,11 +163,13 @@ int main(int argc, char** argv) {
161163
162164 _fuzzRunloop (core , fuzzOpts .frames );
163165
166+ #ifdef ENABLE_DEBUGGERS
164167 if (hasDebugger ) {
165168 core -> detachDebugger (core );
166169 mDebuggerAccessLoggerDeinit (& accessLog );
167170 mDebuggerDeinit (& debugger );
168171 }
172+ #endif
169173
170174 core -> unloadROM (core );
171175
You can’t perform that action at this time.
0 commit comments