From d2d854b8eabf1d805f48a5addf0b798c8ee154db Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 15 Jan 2023 08:15:59 -0800 Subject: [PATCH] Replacement: Fix JNI attach for texture save. --- Core/TextureReplacer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/TextureReplacer.cpp b/Core/TextureReplacer.cpp index 3fbfd935b2..ef6f20e27c 100644 --- a/Core/TextureReplacer.cpp +++ b/Core/TextureReplacer.cpp @@ -708,8 +708,8 @@ public: TextureSaveTask(SimpleBuf _data) : data(std::move(_data)) {} - // Also I/O blocking but dominated by compute. - TaskType Type() const override { return TaskType::CPU_COMPUTE; } + // This must be IO blocking because of Android storage, despite being CPU heavy. + TaskType Type() const override { return TaskType::IO_BLOCKING; } TaskPriority Priority() const override { return TaskPriority::LOW;