early-access version 3580
This commit is contained in:
parent
cb385e8241
commit
5f158ebb5e
3 changed files with 4 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue