summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfrontends/amiga/dist/Install10
-rw-r--r--frontends/amiga/gui.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/frontends/amiga/dist/Install b/frontends/amiga/dist/Install
index e8d9d0ed7..55631905e 100755
--- a/frontends/amiga/dist/Install
+++ b/frontends/amiga/dist/Install
@@ -289,6 +289,16 @@
(complete 75)
+; Force disable use of AltiVec if we don't have it
+(if (database "vectorunit" "0")
+ (
+ (textfile
+ (dest "ENVARC:JSIMD_FORCENONE")
+ (append "1")
+ )
+ )
+)
+
(if (= (exists "ENVARC:Sys/def_css.info") 0)
(copyfiles
(prompt "Copying default CSS icon")
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 688aa59da..63a240656 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -5553,7 +5553,7 @@ int main(int argc, char** argv)
LOG("AltiVec detected");
} else {
LOG("AltiVec NOT detected");
- SetVar("JSIMD_FORCENONE", "1", 1, GVF_LOCAL_ONLY);
+ SetVar("JSIMD_FORCENONE", "1", 1, GVF_GLOBAL_ONLY | GVF_SAVE_VAR);
}
#endif