From 6b9165640202604245a21b397e8c77ef3d030119 Mon Sep 17 00:00:00 2001 From: Apache <93100547+Apachedrag427@users.noreply.github.com> Date: Thu, 16 Feb 2023 07:26:21 -0600 Subject: [PATCH] Update Machine.cs --- Capy64/Runtime/Libraries/Machine.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Capy64/Runtime/Libraries/Machine.cs b/Capy64/Runtime/Libraries/Machine.cs index 054522a..78f3426 100644 --- a/Capy64/Runtime/Libraries/Machine.cs +++ b/Capy64/Runtime/Libraries/Machine.cs @@ -109,6 +109,8 @@ public class Machine : IPlugin newTitle = "Capy64 " + Capy64.Version; } + newTitle = newTitle[..Math.Min(newTitle.Length, 256)]; + Capy64.Instance.Window.Title = newTitle; }