summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/core/core_storage_values.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/core/core_storage_values.c b/examples/core/core_storage_values.c
index fbbbc528..df757a4f 100644
--- a/examples/core/core_storage_values.c
+++ b/examples/core/core_storage_values.c
@@ -43,14 +43,14 @@ int main(void)
if (IsKeyPressed(KEY_ENTER))
{
- StorageSaveValue(STORAGE_SCORE, score);
- StorageSaveValue(STORAGE_HISCORE, hiscore);
+ SaveStorageValue(STORAGE_SCORE, score);
+ SaveStorageValue(STORAGE_HISCORE, hiscore);
}
else if (IsKeyPressed(KEY_SPACE))
{
// NOTE: If requested position could not be found, value 0 is returned
- score = StorageLoadValue(STORAGE_SCORE);
- hiscore = StorageLoadValue(STORAGE_HISCORE);
+ score = LoadStorageValue(STORAGE_SCORE);
+ hiscore = LoadStorageValue(STORAGE_HISCORE);
}
framesCounter++;