Revision 7267c094 hw/tsc210x.c
b/hw/tsc210x.c | ||
---|---|---|
1105 | 1105 |
TSC210xState *s; |
1106 | 1106 |
|
1107 | 1107 |
s = (TSC210xState *) |
1108 |
qemu_mallocz(sizeof(TSC210xState));
|
|
1108 |
g_malloc0(sizeof(TSC210xState));
|
|
1109 | 1109 |
memset(s, 0, sizeof(TSC210xState)); |
1110 | 1110 |
s->x = 160; |
1111 | 1111 |
s->y = 160; |
... | ... | |
1154 | 1154 |
TSC210xState *s; |
1155 | 1155 |
|
1156 | 1156 |
s = (TSC210xState *) |
1157 |
qemu_mallocz(sizeof(TSC210xState));
|
|
1157 |
g_malloc0(sizeof(TSC210xState));
|
|
1158 | 1158 |
memset(s, 0, sizeof(TSC210xState)); |
1159 | 1159 |
s->x = 400; |
1160 | 1160 |
s->y = 240; |
Also available in: Unified diff