SW: Don't allow backspacing on an empty text input buffer

When typing cheat codes into VoidSW, ASAN would trigger when pressing backspace when the input buffer was empty.

There was no check to prevent array underflow for the input buffer, so have added this.

Merge request reports

Loading