sdl: disable alignment trap

Apparently causing issues on some devices.

Change-Id: I6adb65513bf65c559a0fa8980e693f1e5324d4ad
This commit is contained in:
Franklin Wei 2020-02-01 22:11:39 -05:00
parent 05a40ab07c
commit f8cd15e226

View file

@ -176,7 +176,7 @@ enum plugin_status plugin_start(const void *param)
#if defined(CPU_ARM) && !defined(SIMULATOR) && (ARM_ARCH >= 5) #if defined(CPU_ARM) && !defined(SIMULATOR) && (ARM_ARCH >= 5)
/* (don't) set alignment trap. Will generate a data abort /* (don't) set alignment trap. Will generate a data abort
* exception on ARM. */ * exception on ARM. */
set_cr(get_cr() | CR_A); // set_cr(get_cr() | CR_A);
#endif #endif
#if 0 #if 0