浏览代码

Update README-migration

Sylvain 2 年之前
父节点
当前提交
26f27a9e5a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/README-migration.md

+ 6 - 0
docs/README-migration.md

@@ -936,6 +936,8 @@ The following functions have been renamed:
 
 ## SDL_system.h
 
+SDL_AndroidGetExternalStorageState() takes the state as an output parameter and returns 0 if the function succeeds or a negative error code if there was an error.
+
 The following functions have been renamed:
 * SDL_RenderGetD3D11Device() => SDL_GetRenderD3D11Device()
 * SDL_RenderGetD3D9Device() => SDL_GetRenderD3D9Device()
@@ -973,6 +975,10 @@ If you were using this macro for other things besides SDL ticks values, you can
 #define SDL_TICKS_PASSED(A, B)  ((Sint32)((B) - (A)) <= 0)
 ```
 
+## SDL_touch.h
+
+SDL_GetNumTouchFingers() returns a negative error code if there was an error.
+
 ## SDL_version.h
 
 SDL_GetRevisionNumber() has been removed from the API, it always returned 0 in SDL 2.0.