mirror of
https://github.com/cc65/cc65.git
synced 2024-12-30 20:29:25 +00:00
Update displaylist.c
This commit is contained in:
parent
f55d334435
commit
e5af45b913
@ -51,7 +51,7 @@ main(void)
|
|||||||
{
|
{
|
||||||
// unfortunately "sizeof()" doesn't work with void data
|
// unfortunately "sizeof()" doesn't work with void data
|
||||||
// (Error: Size of data type is unknown)
|
// (Error: Size of data type is unknown)
|
||||||
// so we trick with the adresses at front and behind...
|
// so we trick with the addresses at front and end...
|
||||||
|
|
||||||
int returnValue = (((unsigned int)&dlend-(unsigned int)&DisplayList) != 28); // assure only one byte per instruction!
|
int returnValue = (((unsigned int)&dlend-(unsigned int)&DisplayList) != 28); // assure only one byte per instruction!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user