]> Chaos Git - corbenik/corbenik.git/commitdiff
A bit more cleanup and finetuning
authorchaoskagami <chaos.kagami@gmail.com>
Tue, 14 Jun 2016 05:39:41 +0000 (01:39 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Tue, 14 Jun 2016 05:40:16 +0000 (01:40 -0400)
contrib/Makefile
source/config.h
source/menu.c

index d41aaafe027b51c612bc54ab50938daa1a11ce4a..a5db11cc7b092c42c9ef6c1d59805bf58d328803 100644 (file)
@@ -8,8 +8,8 @@ build: clean $(patsubst %.pco, %.vco, $(wildcard *.pco))
 
 .PHONY: install
 install: build
-       mkdir -p ../out/contrib
-       cp *.vco ../out/contrib/
+       mkdir -p ../out/corbenik/contrib
+       cp *.vco README.md ../out/corbenik/contrib/
 
 %.vco: %.pco
        ../host/bytecode_asm.py $< $@
index 9c9b0e07de0f32813ea3693a04664cc172e39c7f..1a8f58fb6986d9e5feed23db12c3a952667c57a9 100644 (file)
@@ -61,7 +61,7 @@ struct options_s
 // Inject svc calls (including backdoor for 11)
 #define OPTION_SVCS 3
 
-// Use builtin ARM9 thread injector.
+// Use builtin ARM9 thread injector. (NYI)
 #define OPTION_ARM9THREAD 4
 
 // Skip menu unless L is held.
@@ -73,14 +73,8 @@ struct options_s
 // Pause for A key on each step.
 #define OPTION_TRACE 7
 
-// Background color is not drawn under text.
-#define OPTION_TRANSP_BG 8
-
-// Framebuffer is preserved from whatever ran before us.
-#define OPTION_NO_CLEAR_BG 9
-
-// Remove Help/Readme from menu.
-#define OPTION_READ_ME 10
+// Freed up options due to code changes.
+// 8, 9, 10
 
 // Enable L2 cache.
 #define OPTION_LOADER_CPU_L2 11
index 6bb11e3d063574c7637c1b439d955b94ab420b50..f00c2172e18e4c0d05b22a17d457c3b23fc57ed5 100644 (file)
@@ -22,8 +22,6 @@ static struct options_s options[] = {
     { OPTION_AUTOBOOT, "Autoboot", "Boot the system automatically, unless the R key is held.", boolean_val, 0, 0 },
     { OPTION_SILENCE, "  Silent mode", "Suppress all debug output during autoboot. You'll see the screen turn on, then off.", boolean_val, 0, 0 },
 
-    { OPTION_READ_ME, "Hide `Help`", "Hides the help option from the main menu.", boolean_val, 0, 0 },
-
     // space
     { 0, "", "", not_option, 0, 0 },
     // Patches.
@@ -65,7 +63,7 @@ extern void waitcycles(uint32_t cycles);
 uint32_t
 wait_key()
 {
-    #define ARM9_APPROX_DELAY_MAX 134058675 / 70
+    #define ARM9_APPROX_DELAY_MAX 134058675 / 85
     waitcycles(ARM9_APPROX_DELAY_MAX); // Approximately what a human can input - fine tuning needed (sorry, TASers!)
 
     uint32_t ret = 0, get = 0;