Remove sha256 variable - cheats should no longer be dependent

on need_fullpath false and having a SHA256 hash
This commit is contained in:
twinaphex 2014-12-15 21:29:09 +01:00
parent 79f977bc2b
commit 18f9e4e296
2 changed files with 1 additions and 5 deletions

View File

@ -146,10 +146,8 @@ static ssize_t read_content_file(const char *path, void **buf)
patch_content(&ret_buf, &ret);
g_extern.content_crc = crc32_calculate(ret_buf, ret);
sha256_hash(g_extern.sha256, ret_buf, ret);
RARCH_LOG("CRC32: 0x%x, SHA256: %s\n",
(unsigned)g_extern.content_crc, g_extern.sha256);
RARCH_LOG("CRC32: 0x%x .\n", (unsigned)g_extern.content_crc);
*buf = ret_buf;
return ret;
}

View File

@ -739,8 +739,6 @@ struct global
size_t ptr;
} filter_dir;
char sha256[64 + 1];
cheat_manager_t *cheat;
bool block_config_read;