Merge pull request #1302 from oliverschmidt/master
Removed mouse pointer initialization.
This commit is contained in:
commit
1b2028f1e0
|
@ -106,24 +106,6 @@ main(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (WITH_GUI && WITH_MOUSE)
|
|
||||||
{
|
|
||||||
static const uint8_t mouse_sprite[64] = {
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x0F, 0xE0, 0x00, 0x0F, 0xC0, 0x00, 0x0F,
|
|
||||||
0x80, 0x00, 0x0F, 0xC0, 0x00, 0x0D, 0xE0, 0x00,
|
|
||||||
0x08, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C,
|
|
||||||
0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00,
|
|
||||||
0x07, 0x80, 0x00, 0x03, 0x80, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
|
||||||
|
|
||||||
memcpy((void*)0x0E00, mouse_sprite, sizeof(mouse_sprite));
|
|
||||||
*(uint8_t*)0x07F8 = 0x0E00 / 64;
|
|
||||||
VIC.spr0_color = COLOR_WHITE;
|
|
||||||
}
|
|
||||||
#endif /* WITH_GUI && WITH_MOUSE */
|
|
||||||
|
|
||||||
procinit_init();
|
procinit_init();
|
||||||
|
|
||||||
process_start((struct process *)ðernet_process, (void *)ethernet_config);
|
process_start((struct process *)ðernet_process, (void *)ethernet_config);
|
||||||
|
|
|
@ -104,24 +104,6 @@ main(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (WITH_GUI && WITH_MOUSE)
|
|
||||||
{
|
|
||||||
static const uint8_t mouse_sprite[64] = {
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x0F, 0xE0, 0x00, 0x0F, 0xC0, 0x00, 0x0F,
|
|
||||||
0x80, 0x00, 0x0F, 0xC0, 0x00, 0x0D, 0xE0, 0x00,
|
|
||||||
0x08, 0xF0, 0x00, 0x00, 0x78, 0x00, 0x00, 0x3C,
|
|
||||||
0x00, 0x00, 0x1E, 0x00, 0x00, 0x0F, 0x00, 0x00,
|
|
||||||
0x07, 0x80, 0x00, 0x03, 0x80, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
|
||||||
|
|
||||||
memcpy((void*)0x0340, mouse_sprite, sizeof(mouse_sprite));
|
|
||||||
*(uint8_t*)0x07F8 = 0x0340 / 64;
|
|
||||||
VIC.spr0_color = COLOR_WHITE;
|
|
||||||
}
|
|
||||||
#endif /* WITH_GUI && WITH_MOUSE */
|
|
||||||
|
|
||||||
procinit_init();
|
procinit_init();
|
||||||
|
|
||||||
process_start((struct process *)ðernet_process, (void *)ethernet_config);
|
process_start((struct process *)ðernet_process, (void *)ethernet_config);
|
||||||
|
|
Loading…
Reference in a new issue