瀏覽代碼

Update SDL_asyncio.c

Végh Márton 11 月之前
父節點
當前提交
0be5b8070d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/file/SDL_asyncio.c

+ 1 - 0
src/file/SDL_asyncio.c

@@ -205,6 +205,7 @@ static bool GetAsyncIOTaskOutcome(SDL_AsyncIOTask *task, SDL_AsyncIOOutcome *out
     SDL_zerop(outcome);
     outcome->asyncio = asyncio->oneshot ? NULL : asyncio;
     outcome->result = task->result;
+    outcome->type = task->type;
     outcome->buffer = task->buffer;
     outcome->offset = task->offset;
     outcome->bytes_requested = task->requested_size;