(360) Changed ZeroMemory to memset - ZeroMemory is just a stupid

typedef for memset
This commit is contained in:
TwinAphex51224 2012-01-23 00:10:25 +01:00
parent aa32810151
commit 94ff302111
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ static XINPUT_STATE state[4];
static void xdk360_input_poll(void *data)
{
(void)data;
ZeroMemory(&state, sizeof(XINPUT_STATE));
memset(&state, 0, sizeof(XINPUT_STATE));
for (unsigned i = 0; i < 4; i++)
XInputGetState(i, &state[i]);

View File

@ -107,7 +107,7 @@ static void *xdk360_gfx_init(const video_info_t *video, const input_driver_t **i
return NULL;
}
ZeroMemory(&vid->d3dpp, sizeof(vid->d3dpp));
memset(&vid->d3dpp, 0, sizeof(vid->d3dpp));
vid->d3dpp.BackBufferWidth = 1280;
vid->d3dpp.BackBufferHeight = 720;