1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

Update displaylist.c

This commit is contained in:
Irgendwer 2017-02-24 11:21:56 +01:00 committed by GitHub
parent f55d334435
commit e5af45b913

View File

@ -51,7 +51,7 @@ main(void)
{
// unfortunately "sizeof()" doesn't work with void data
// (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!