]> Chaos Git - corbenik/corbenik.git/commitdiff
Reenable interpreter debugging in loader
authorchaoskagami <chaos.kagami@gmail.com>
Sun, 12 Jun 2016 23:54:34 +0000 (19:54 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Sun, 12 Jun 2016 23:54:34 +0000 (19:54 -0400)
source/interp.c

index 9beb46e6f40cfddb6b7914daca50498ff3531cb9..9c63949b013a31f1b1d5af914b99f5c6bdaa410c 100644 (file)
@@ -650,8 +650,7 @@ execb(char *filename, int build_cache)
             // We should generate a cache for loader in a file intended for titleid.
             uint8_t *title_buf = (uint8_t *)patch + sizeof(struct system_patch);
 
-            fprintf(stderr, "patch:   %s\n", patch->name);
-            fprintf(stderr, "version: %u\n", patch->version);
+            fprintf(stderr, "  Version: %u\n", patch->version);
 
             for (uint32_t i = 0; i < patch->titles; i++) {
                 char cache_path[] = PATH_LOADER_CACHE "/0000000000000000";
@@ -697,11 +696,9 @@ execb(char *filename, int build_cache)
 #endif
 
     int debug = 0;
-#ifndef LOADER
     if (config.options[OPTION_OVERLY_VERBOSE]) {
         debug = 1;
     }
-#endif
 
     return exec_bytecode(patch_mem, ver, patch_len, debug);
 }