summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/main.c
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2020-02-01 22:11:39 -0500
committerFranklin Wei <franklin@rockbox.org>2020-02-01 22:11:56 -0500
commitf8cd15e226500abc7d2f93a1ae0818aee5287527 (patch)
treeab6980029d2bb9d14da382ae57de40dadc4179c9 /apps/plugins/sdl/main.c
parent05a40ab07c3f7784e62fc2651d49bb0ff735c2f3 (diff)
downloadrockbox-f8cd15e226500abc7d2f93a1ae0818aee5287527.tar.gz
rockbox-f8cd15e226500abc7d2f93a1ae0818aee5287527.zip
sdl: disable alignment trap
Apparently causing issues on some devices. Change-Id: I6adb65513bf65c559a0fa8980e693f1e5324d4ad
Diffstat (limited to 'apps/plugins/sdl/main.c')
-rw-r--r--apps/plugins/sdl/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sdl/main.c b/apps/plugins/sdl/main.c
index 4ae640356d..72ef841900 100644
--- a/apps/plugins/sdl/main.c
+++ b/apps/plugins/sdl/main.c
@@ -176,7 +176,7 @@ enum plugin_status plugin_start(const void *param)
176#if defined(CPU_ARM) && !defined(SIMULATOR) && (ARM_ARCH >= 5) 176#if defined(CPU_ARM) && !defined(SIMULATOR) && (ARM_ARCH >= 5)
177 /* (don't) set alignment trap. Will generate a data abort 177 /* (don't) set alignment trap. Will generate a data abort
178 * exception on ARM. */ 178 * exception on ARM. */
179 set_cr(get_cr() | CR_A); 179// set_cr(get_cr() | CR_A);
180#endif 180#endif
181 181
182#if 0 182#if 0