Reverted flags

This commit is contained in:
neauoire 2021-08-30 10:19:33 -07:00
parent a2e40d9d10
commit 4f6a29f57d
2 changed files with 7 additions and 7 deletions

View File

@ -12,8 +12,8 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE.
*/
#define MODE_RETURN 0x20
#define MODE_SHORT 0x40
#define MODE_SHORT 0x20
#define MODE_RETURN 0x40
#define MODE_KEEP 0x80
#pragma mark - Operations

View File

@ -88,10 +88,10 @@ findopcode(char *s)
if(!scmp(ops[i], s, 3))
continue;
while(s[3 + m]) {
if(s[3 + m] == 'r')
i |= (1 << 5); /* mode: return */
else if(s[3 + m] == '2')
i |= (1 << 6); /* mode: short */
if(s[3 + m] == '2')
i |= (1 << 5); /* mode: short */
else if(s[3 + m] == 'r')
i |= (1 << 6); /* mode: return */
else if(s[3 + m] == 'k')
i |= (1 << 7); /* mode: keep */
else