mirror of
https://github.com/libretro/RetroArch
synced 2025-02-13 12:40:47 +00:00
(360) Changed ZeroMemory to memset - ZeroMemory is just a stupid
typedef for memset
This commit is contained in:
parent
aa32810151
commit
94ff302111
@ -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]);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user