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) | |
download | rockbox-33a7f3a6cff78ff625621e6a3d4a5728328de0e3.tar.gz rockbox-33a7f3a6cff78ff625621e6a3d4a5728328de0e3.zip |
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) | |||
342 | 342 | ||
343 | void system_exception_wait(void) | 343 | void system_exception_wait(void) |
344 | { | 344 | { |
345 | while(1); | 345 | thread_sdl_exception_wait(); |
346 | } | 346 | } |
347 | 347 | ||
348 | void system_reboot(void) | 348 | void system_reboot(void) |
349 | { | 349 | { |
350 | while(1); | 350 | thread_sdl_exception_wait(); |
351 | } | 351 | } |
352 | 352 | ||
353 | /* assure an unused place to direct virtual pointers to */ | 353 | /* assure an unused place to direct virtual pointers to */ |