mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-27 16:02:37 +00:00
graphics: fix initialization
This commit is contained in:
1 parent
0a5f78c727
commit
8a4600c5e9
16 files changed
+39
-170
No files matched your search
@@ -883,7 +883,7 @@ void WriteBacking(uint64_t vaddr, const void* data, uint64_t size) noexcept {
|
||||
}
|
||||
|
||||
void PrepareHostWrite(uint64_t vaddr, uint64_t size) {
|
||||
if (size == 0 || !Graphics::HasRenderContext()) {
|
||||
if (size == 0) {
|
||||
return;
|
||||
}
|
||||
Graphics::GetRenderContext().GetGpuResources().PrepareHostWrite(vaddr, size);
|
||||
|
||||
Reference in new issue
Block a user