diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-08 11:08:22 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-08 11:08:22 +0000 |
commit | 33a7f3a6cff78ff625621e6a3d4a5728328de0e3 (patch) | |
tree | f7edec5c96d18c4666a1108a3b523ff217cba7dd /uisimulator/common | |
parent | cb7e88d3b677dee6948608c944eded256acf37fd (diff) |
Allow sims to shut down normally from panic code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19718 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |