early-access version 3580

This commit is contained in:
pineappleEA 2023-05-11 18:39:51 +02:00
parent cb385e8241
commit 5f158ebb5e
3 changed files with 4 additions and 10 deletions

View file

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

View file

@ -90,13 +90,7 @@ public:
return buffer_capacity;
}
void swap(ScratchBuffer& other) {
std::swap(last_requested_size, other.last_requested_size);
std::swap(buffer_capacity, other.buffer_capacity);
std::swap(buffer, other.buffer);
}
void swap(ScratchBuffer&& other) {
void swap(ScratchBuffer& other) noexcept {
std::swap(last_requested_size, other.last_requested_size);
std::swap(buffer_capacity, other.buffer_capacity);
std::swap(buffer, other.buffer);

View file

@ -1297,10 +1297,10 @@ typename BufferCache<P>::OverlapResult BufferCache<P>::ResolveOverlaps(VAddr cpu
// as a stream buffer. Increase the size to skip constantly recreating buffers.
has_stream_leap = true;
if (expands_right) {
begin -= YUZU_PAGESIZE * 256;
begin -= CACHING_PAGESIZE * 256;
// We're about to increment cpu_addr by YUZU_PAGESIZE, but have not yet checked for
// a buffer at the new begin.
cpu_addr = begin - YUZU_PAGESIZE;
cpu_addr = begin - CACHING_PAGESIZE;
}
if (expands_left) {
end += CACHING_PAGESIZE * 256;