early-access version 3623

This commit is contained in:
pineappleEA 2023-05-31 01:31:17 +02:00
parent c301b1592a
commit af7b0c7b4f
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3622. This is the source code for early-access 3623.
## Legal Notice ## Legal Notice

View file

@ -63,8 +63,12 @@ void BufferCache<P>::RunGarbageCollector() {
template <class P> template <class P>
void BufferCache<P>::TickFrame() { void BufferCache<P>::TickFrame() {
// Calculate hits and shots and move hit bits to the right // Homebrew console apps don't create or bind any channels, so this will be nullptr.
if (!channel_state) {
return;
}
// Calculate hits and shots and move hit bits to the right
const u32 hits = std::reduce(channel_state->uniform_cache_hits.begin(), const u32 hits = std::reduce(channel_state->uniform_cache_hits.begin(),
channel_state->uniform_cache_hits.end()); channel_state->uniform_cache_hits.end());
const u32 shots = std::reduce(channel_state->uniform_cache_shots.begin(), const u32 shots = std::reduce(channel_state->uniform_cache_shots.begin(),