From 6602f1274421a88a4f15cb010569c0883ea2147a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 6 Dec 2025 09:43:27 -0800 Subject: [PATCH] SteamAPI_ISteamRemoteStorage_FileWrite() returns bool --- src/storage/steam/SDL_steamstorage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/steam/SDL_steamstorage.c b/src/storage/steam/SDL_steamstorage.c index eed8b921f..8a939665e 100644 --- a/src/storage/steam/SDL_steamstorage.c +++ b/src/storage/steam/SDL_steamstorage.c @@ -121,7 +121,7 @@ static bool STEAM_WriteStorageFile(void *userdata, const char *path, const void if (length > SDL_MAX_SINT32) { return SDL_SetError("SteamRemoteStorage only supports INT32_MAX write size"); } - if (steam->SteamAPI_ISteamRemoteStorage_FileWrite(steamremotestorage, path, source, (Sint32) length) == length) { + if (steam->SteamAPI_ISteamRemoteStorage_FileWrite(steamremotestorage, path, source, (Sint32)length)) { result = true; } else { SDL_SetError("SteamRemoteStorage()->FileWrite() failed");