diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-18 20:03:35 +0100 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-18 20:03:35 +0100 |
| commit | 2ccc0f5edd5f8e61bd0760f30b2d66f2d977b2bf (patch) | |
| tree | 332a528b512d7e53ac913eb72b1e48bcbe760cad /Source/System.h | |
| parent | 4c0028bfcc5da708e47a349f060954e67fb9c2d7 (diff) | |
Added "const" qualifier to some functions.
"cdrom:\ and ;1" are automatically inserted into file name, in order to save memory space.
Some minor optimizations.
Diffstat (limited to 'Source/System.h')
| -rw-r--r-- | Source/System.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/System.h b/Source/System.h index 29d8d1b..a5417b1 100644 --- a/Source/System.h +++ b/Source/System.h @@ -29,10 +29,10 @@ void SystemSetRandSeed(void); bool SystemRefreshNeeded(void); // Loads a file into system's internal buffer -bool SystemLoadFile(char*fname); +bool SystemLoadFile(const char*fname); // Loads a file into desired buffer -bool SystemLoadFileToBuffer(char* fname, uint8_t* buffer, uint32_t szBuffer); +bool SystemLoadFileToBuffer(const char* fname, uint8_t* buffer, uint32_t szBuffer); // Clears VSync flag after each frame void SystemDisableScreenRefresh(void); |
