Merge branch 'optimizations/reduce-binarysize-remove-libstdc++' into optimizations/implement-zx0-compression

This commit is contained in:
Philippe Symons
2025-05-25 22:34:45 +02:00
11 changed files with 121 additions and 174 deletions

View File

@@ -183,6 +183,15 @@ int ptgb_write(const byte *text, bool instant, int length)
TFont *font;
int num = 0;
/*
if (curr_text[char_index] == 0xFB) // This will need to be moved
{
line_char_index += char_index;
line_char_index++;
// Low key kinda scuffed, but it works to split the string
curr_text = &curr_line.get_text()[line_char_index];
}
*/
while ((ch = *str) != 0xFF && num < length)
{
if (get_frame_count() % 2 == 0 || key_held(KEY_B) || key_held(KEY_A) || instant)