From 33a7f3a6cff78ff625621e6a3d4a5728328de0e3 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 8 Jan 2009 11:08:22 +0000 Subject: Allow sims to shut down normally from panic code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19718 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/stubs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uisimulator/common') diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 12b6f293a4..58e18392bc 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -342,12 +342,12 @@ void touchpad_set_sensitivity(int level) void system_exception_wait(void) { - while(1); + thread_sdl_exception_wait(); } void system_reboot(void) { - while(1); + thread_sdl_exception_wait(); } /* assure an unused place to direct virtual pointers to */ -- cgit v1.2.3