浏览代码

Use UnloadFileData()

pull/1650/head
Ray 4 年前
父节点
当前提交
1afd56dbf6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c 查看文件

@ -2713,7 +2713,7 @@ bool SaveStorageValue(unsigned int position, int value)
dataPtr[position] = value;
success = SaveFileData(path, fileData, dataSize);
RL_FREE(fileData);
UnloadFileData(fileData);
}
#endif
@ -2752,7 +2752,7 @@ int LoadStorageValue(unsigned int position)
value = dataPtr[position];
}
RL_FREE(fileData);
UnloadFileData(fileData);
}
#endif
return value;

正在加载...
取消
保存