diff options
| author | Ray <[email protected]> | 2020-02-26 23:42:41 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-02-26 23:42:41 +0100 |
| commit | 229494766068e9bfb518e596e18d6f8413df3ff5 (patch) | |
| tree | 499d082ceb63cce3a8b9b472b0dc1d8ebec39d4f /examples/core/core_storage_values.c | |
| parent | 5aed36e76db18d9b017c2c6c55c7170d5b2e5bfb (diff) | |
| download | raylib-229494766068e9bfb518e596e18d6f8413df3ff5.tar.gz raylib-229494766068e9bfb518e596e18d6f8413df3ff5.zip | |
Update core_storage_values.c
Diffstat (limited to 'examples/core/core_storage_values.c')
| -rw-r--r-- | examples/core/core_storage_values.c | 8 |
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++; |
