mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 13:19:57 +00:00
buffer_cache: Try to fix MinGW build
This commit is contained in:
parent
f7691ebe57
commit
83050c9495
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ private:
|
||||||
if (auto entry = TryGetReservedBuffer(host_ptr)) {
|
if (auto entry = TryGetReservedBuffer(host_ptr)) {
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
return std::make_shared<Buffer::element_type>(cpu_addr, host_ptr);
|
return std::make_shared<CachedBuffer<BufferStorageType>>(cpu_addr, host_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
Buffer TryGetReservedBuffer(u8* host_ptr) {
|
Buffer TryGetReservedBuffer(u8* host_ptr) {
|
||||||
|
|
Loading…
Reference in a new issue