mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user