ref: 2339f0fbae61334c425584f4101e313847bce0f4
parent: 6e0aca47d4c95c46d1e77994aaae48b9aa619a84
parent: fbb825af3b5ee5c24d4633e06320759bc1d08179
author: Anthony J. Bentley <[email protected]>
date: Sun Sep 4 22:35:24 EDT 2016
Merge branch 'an/fix-gfx-prefix' of https://github.com/AntonioND/rgbds
--- a/src/asm/globlex.c
+++ b/src/asm/globlex.c
@@ -97,7 +97,7 @@
while (*s != '\0') {
c = convertfunc(*s++);
- result = result * 2 + ((c & 1) << 8) + ((c & 2) >> 1);
+ result = result * 2 + ((c & 2) << 7) + (c & 1);
}
} else {
while (*s != '\0')