sandbox: Fix quiting when the LCD window is closed
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2023 16:22:28 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:54:50 +0000 (12:54 -0400)
commit06d3414ac77332c808e255a7036edad6f631b3d2
treebc8505b87b18bb8a93b704c44ac70d1a7018a3fb
parentdef898c458e65a71fb64cda370b4281cd026e48c
sandbox: Fix quiting when the LCD window is closed

With recent changes to how sandbox handles reset, closing the window
currently just restarts sandbox.

Use the correct sysreset type to tell it to shut down.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/sdl.c