1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 02:29:32 +00:00

Fixed check for processor flags usage in case of PHP.

This commit is contained in:
acqn 2020-09-05 21:31:22 +08:00 committed by Oliver Schmidt
parent e2f950b15e
commit 6e0fb630d7

View File

@ -476,6 +476,11 @@ int CE_UseLoadFlags (CodeEntry* E)
}
}
/* PHP will use all flags */
if (E->OPC == OP65_PHP) {
return 1;
}
/* Anything else */
return 0;
}