early-access version 3606
This commit is contained in:
parent
1537f02c4c
commit
4b0bc86485
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3605.
|
This is the source code for early-access 3606.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -144,14 +144,10 @@ private:
|
|||||||
|
|
||||||
class KScopedMemoryBlockManagerAuditor {
|
class KScopedMemoryBlockManagerAuditor {
|
||||||
public:
|
public:
|
||||||
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {
|
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {}
|
||||||
ASSERT(m_manager->CheckState());
|
|
||||||
}
|
|
||||||
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m)
|
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m)
|
||||||
: KScopedMemoryBlockManagerAuditor(std::addressof(m)) {}
|
: KScopedMemoryBlockManagerAuditor(std::addressof(m)) {}
|
||||||
~KScopedMemoryBlockManagerAuditor() {
|
~KScopedMemoryBlockManagerAuditor() = default;
|
||||||
ASSERT(m_manager->CheckState());
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
KMemoryBlockManager* m_manager;
|
KMemoryBlockManager* m_manager;
|
||||||
|
@ -86,9 +86,12 @@ void TextureCache<P>::RunGarbageCollector() {
|
|||||||
// used by the async decoder thread.
|
// used by the async decoder thread.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!aggressive_mode && True(image.flags & ImageFlagBits::CostlyLoad)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
const bool must_download =
|
const bool must_download =
|
||||||
image.IsSafeDownload() && False(image.flags & ImageFlagBits::BadOverlap);
|
image.IsSafeDownload() && False(image.flags & ImageFlagBits::BadOverlap);
|
||||||
if (!aggressive_mode && (must_download || True(image.flags & ImageFlagBits::CostlyLoad))) {
|
if (!high_priority_mode && must_download) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (must_download) {
|
if (must_download) {
|
||||||
|
Loading…
Reference in New Issue
Block a user