Skip to content

Commit

Permalink
Replacement: Fix JNI attach for texture save.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Jan 15, 2023
1 parent 9af30da commit cbb9175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/TextureReplacer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ class TextureSaveTask : public Task {

TextureSaveTask(SimpleBuf<u32> _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;
Expand Down

0 comments on commit cbb9175

Please sign in to comment.