Fix the shutdown sequence for maemo, SDL and simulator builds
commit59334a09099d2cce7675d12496d1da1cd38c7aa9
authorthomasjfox <thomasjfox@a1c6a512-1295-4272-9138-f99709370657>
Tue, 15 Feb 2011 19:43:04 +0000 (15 19:43 +0000)
committerthomasjfox <thomasjfox@a1c6a512-1295-4272-9138-f99709370657>
Tue, 15 Feb 2011 19:43:04 +0000 (15 19:43 +0000)
tree24659c17ed31eac362056253392c960898540899
parent1009ca8da1d09f973d0a8446632d6ae7670f800e
Fix the shutdown sequence for maemo, SDL and simulator builds

Do proper shutdown in RaaA builds like writeout of
last.FM scrobbler file and other neat things.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29309 a1c6a512-1295-4272-9138-f99709370657
apps/misc.c
firmware/target/hosted/maemo/maemo-thread.c
firmware/target/hosted/sdl/button-sdl.c
uisimulator/common/powermgmt-sim.c