mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Fixed hangs on certain info files. PC was not incremented when DataByteLine
is called. git-svn-id: svn://svn.cc65.org/cc65/trunk@3780 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
0315173bb0
commit
519730612e
@ -88,6 +88,7 @@ static unsigned DoTable (attr_t Style, unsigned MemberSize, void (*TableFunc) (u
|
||||
*/
|
||||
if (Count < MemberSize) {
|
||||
DataByteLine (Count);
|
||||
PC += Count;
|
||||
return Count;
|
||||
}
|
||||
|
||||
@ -172,6 +173,7 @@ unsigned AddrTable (void)
|
||||
/* If just one byte is left, define it and bail out */
|
||||
if (BytesLeft == 1 || GetStyleAttr (PC+1) != atAddrTab) {
|
||||
DataByteLine (1);
|
||||
++PC;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -237,6 +239,7 @@ unsigned RtsTable (void)
|
||||
/* If just one byte is left, define it and bail out */
|
||||
if (BytesLeft == 1 || GetStyleAttr (PC+1) != atRtsTab) {
|
||||
DataByteLine (1);
|
||||
++PC;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user