diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-29 21:10:54 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-29 21:10:54 +0200 |
| commit | 874238f61eeefa52a2feda292882e0d0b0a200c3 (patch) | |
| tree | b69486fdf2288b570fd4e0ef984989f5c79f5aa2 /src/include | |
| parent | 9968963b971de4123ceb8e12d4434eb808ac3333 (diff) | |
| download | box64-874238f61eeefa52a2feda292882e0d0b0a200c3.tar.gz box64-874238f61eeefa52a2feda292882e0d0b0a200c3.zip | |
[BOX32][WRAPPER] Added more SDL2 and freetype function, and fixed missing fonts in many games ([BOX64] also fixed some SDL2 signature on RWops)
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/sdl2rwops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/sdl2rwops.h b/src/include/sdl2rwops.h index c66c4787..72ead1c3 100644 --- a/src/include/sdl2rwops.h +++ b/src/include/sdl2rwops.h @@ -25,6 +25,7 @@ void RWNativeEnd2(SDL2_RWops_t* ops); // put emulated int isRWops(SDL2_RWops_t* ops); // 1 if ops seems to be a valid RWops, 0 if not int64_t RWNativeSeek2(SDL2_RWops_t *ops, int64_t offset, int32_t whence); +int64_t RWNativeSize2(SDL2_RWops_t *ops); size_t RWNativeRead2(SDL2_RWops_t* ops, void* ptr, size_t size, size_t maxnum); size_t RWNativeWrite2(SDL2_RWops_t *ops, const void *ptr, size_t size, size_t num); int32_t RWNativeClose2(SDL2_RWops_t* ops); |