Global: Set many read-only params as const.

This makes what they do and which args to use clearer, if nothing else.
This commit is contained in:
Unknown W. Brackets
2022-12-10 21:02:44 -08:00
parent e3fdb183f6
commit a7b7bf7826
71 changed files with 113 additions and 119 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ void AsyncIOManager::Read(u32 handle, u8 *buf, size_t bytes, u32 invalidateAddr)
EventResult(handle, AsyncIOResult(result, usec, invalidateAddr));
}
void AsyncIOManager::Write(u32 handle, u8 *buf, size_t bytes) {
void AsyncIOManager::Write(u32 handle, const u8 *buf, size_t bytes) {
int usec = 0;
s64 result = pspFileSystem.WriteFile(handle, buf, bytes, usec);
EventResult(handle, AsyncIOResult(result, usec));