From 273a6eeb66ed1ff2fcc1ee3a6eaae4eedf437875 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 28 Apr 2023 13:15:36 +0200 Subject: Redo how the remote filesystem works Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes. The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage. Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device. Co-authored-by: m4gr3d --- core/string/print_string.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'core/string/print_string.cpp') diff --git a/core/string/print_string.cpp b/core/string/print_string.cpp index 7b894d83bf..7b90710308 100644 --- a/core/string/print_string.cpp +++ b/core/string/print_string.cpp @@ -193,10 +193,8 @@ void print_error(String p_string) { _global_unlock(); } -void print_verbose(String p_string) { - if (OS::get_singleton()->is_stdout_verbose()) { - print_line(p_string); - } +bool is_print_verbose_enabled() { + return OS::get_singleton()->is_stdout_verbose(); } String stringify_variants(Variant p_var) { -- cgit v1.2.3