Commit 39348ee0 authored by phcoder's avatar phcoder
Browse files

Fix memset

parent 37676aa3
......@@ -90,7 +90,7 @@ extern "C"
void retro_get_system_info(retro_system_info* info)
{
std::memset(info, 0, sizeof(info));
std::memset(info, 0, sizeof(*info));
info->library_name = "retro-8 (alpha)";
info->library_version = "0.1b";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment