Revision 7267c094 hw/tsc2005.c
b/hw/tsc2005.c | ||
---|---|---|
524 | 524 |
TSC2005State *s; |
525 | 525 |
|
526 | 526 |
s = (TSC2005State *) |
527 |
qemu_mallocz(sizeof(TSC2005State));
|
|
527 |
g_malloc0(sizeof(TSC2005State));
|
|
528 | 528 |
s->x = 400; |
529 | 529 |
s->y = 240; |
530 | 530 |
s->pressure = 0; |
Also available in: Unified diff