mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-23 22:35:11 +00:00
Reverted flags
This commit is contained in:
parent
a2e40d9d10
commit
4f6a29f57d
2 changed files with 7 additions and 7 deletions
|
@ -12,9 +12,9 @@ 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_KEEP 0x80
|
||||
#define MODE_SHORT 0x20
|
||||
#define MODE_RETURN 0x40
|
||||
#define MODE_KEEP 0x80
|
||||
|
||||
#pragma mark - Operations
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue