mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
sdl: don't set alignment trap if < ARMv5
This should fix crashes on ARM7TDMI as reported by foolsh. Change-Id: I9aaf6196837d284a67a9e2b0edc72ecd644fd59f
This commit is contained in:
parent
448b97a888
commit
7234de58ae
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ enum plugin_status plugin_start(const void *param)
|
|||
{
|
||||
(void) param;
|
||||
|
||||
#if defined(CPU_ARM) && !defined(SIMULATOR)
|
||||
#if defined(CPU_ARM) && !defined(SIMULATOR) && (ARM_ARCH >= 5)
|
||||
/* (don't) set alignment trap. Will generate a data abort
|
||||
* exception on ARM. */
|
||||
set_cr(get_cr() | CR_A);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue