hash buffered data when available

This commit is contained in:
Jamiras 2020-06-21 09:39:42 -06:00
parent 857b0da555
commit 527e9faa1f

View File

@ -1548,7 +1548,7 @@ static int rcheevos_iterate(rcheevos_coro_t* coro)
CORO_STOP(); CORO_STOP();
/* iterate over the possible hashes for the file being loaded */ /* iterate over the possible hashes for the file being loaded */
rc_hash_initialize_iterator(&coro->iterator, coro->path, NULL, 0); rc_hash_initialize_iterator(&coro->iterator, coro->path, coro->data, coro->len);
#ifdef CHEEVOS_TIME_HASH #ifdef CHEEVOS_TIME_HASH
start = cpu_features_get_time_usec(); start = cpu_features_get_time_usec();
#endif #endif