From 527e9faa1fb5be5a75f0bdbbbe10fdb175543542 Mon Sep 17 00:00:00 2001 From: Jamiras <jamirasmt@gmail.com> Date: Sun, 21 Jun 2020 09:39:42 -0600 Subject: [PATCH] hash buffered data when available --- cheevos/cheevos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheevos/cheevos.c b/cheevos/cheevos.c index 06d8936a0f..bdc9776eaa 100644 --- a/cheevos/cheevos.c +++ b/cheevos/cheevos.c @@ -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