Merge pull request #10882 from Jamiras/cheevos_hash_buffered

(cheevos) hash buffered data when available
This commit is contained in:
Autechre 2020-06-23 08:58:04 +02:00 committed by GitHub
commit dffb54ac3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1548,7 +1548,7 @@ static int rcheevos_iterate(rcheevos_coro_t* coro)
CORO_STOP();
/* 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
start = cpu_features_get_time_usec();
#endif