From 4e112de22370ae80236d00f250a266360de96e57 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 8 Jun 2022 00:49:47 -0700 Subject: [PATCH] dmnt.gen2: fix gt, optimize --- stratosphere/dmnt.gen2/source/dmnt2_gdb_server_impl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stratosphere/dmnt.gen2/source/dmnt2_gdb_server_impl.cpp b/stratosphere/dmnt.gen2/source/dmnt2_gdb_server_impl.cpp index ef6ef50d2..f9e8d6eb5 100644 --- a/stratosphere/dmnt.gen2/source/dmnt2_gdb_server_impl.cpp +++ b/stratosphere/dmnt.gen2/source/dmnt2_gdb_server_impl.cpp @@ -2365,15 +2365,15 @@ namespace ams::dmnt { *(cur++) = ';'; } else if (name[i] == '>') { *(cur++) = '&'; - *(cur++) = 'r'; + *(cur++) = 'g'; *(cur++) = 't'; *(cur++) = ';'; } else { *(cur++) = name[i]; - } - if (name[i] == '\x00') { - break; + if (name[i] == '\x00') { + break; + } } } }