System: Use Settings/config.json for debug options
This commit is contained in:
parent
3448acac38
commit
c54cd6ea51
4 changed files with 17 additions and 2 deletions
|
@ -1065,7 +1065,7 @@ U0 @compositor_task()
|
|||
// Debug stuff
|
||||
I64 debug_row;
|
||||
|
||||
if (KeyDown(SC_F12)) {
|
||||
if (KeyDown(SC_F12) || (config->o("debug") && config->o("debug")->@("show_compositor_overlay"))) {
|
||||
debug_row = 32;
|
||||
|
||||
total_mem = sys_code_bp->alloced_u8s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue