mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 00:22:15 +02:00
randomcache: Typo in randomcache_refill
g_random_cache_low > high_plus_one didn't update g_random_cache_high.
This commit is contained in:
parent
f7598cb433
commit
366792f7f6
@ -52,7 +52,7 @@ void randomcache_refill(void) {
|
|||||||
}
|
}
|
||||||
} else { /* g_random_cache_low > high_plus_one */
|
} else { /* g_random_cache_low > high_plus_one */
|
||||||
randomcache_refill_segment(high_plus_one, g_random_cache_low - high_plus_one);
|
randomcache_refill_segment(high_plus_one, g_random_cache_low - high_plus_one);
|
||||||
g_random_cache_high - g_random_cache_low - 1;
|
g_random_cache_high = g_random_cache_low - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user