Changeset 7b5f4c9 in mainline for uspace/dist/src/c/demos/tetris/screen.c
- Timestamp:
- 2011-11-06T21:09:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45e7868, 5288463, 5664cf64, b0f00a9
- Parents:
- c6d9d49
- git-author:
- Maurizio Lombardi <m.lombardi85@…> (2011-11-06 21:09:02)
- git-committer:
- Jakub Jermar <jakub@…> (2011-11-06 21:09:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/tetris/screen.c
rc6d9d49 r7b5f4c9 95 95 { 96 96 console_flush(console); 97 console_set_rgb_color(console, 0xffffff,98 use_color ? color : 0x000000);97 console_set_rgb_color(console, use_color ? color : 0x000000, 98 0xffffff); 99 99 } 100 100 … … 153 153 return false; 154 154 155 return ( ccap >= CONSOLE_CCAP_RGB);155 return ((ccap & CONSOLE_CAP_RGB) == CONSOLE_CAP_RGB); 156 156 } 157 157
Note:
See TracChangeset
for help on using the changeset viewer.