mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01: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:
1 parent
e3fdb183f6
commit
a7b7bf7826
71 files changed
+113
-119
No files matched your search
@@ -1466,7 +1466,7 @@ void __KernelSaveContext(PSPThreadContext *ctx, bool vfpuEnabled) {
|
||||
}
|
||||
|
||||
// Loads a CPU context
|
||||
void __KernelLoadContext(PSPThreadContext *ctx, bool vfpuEnabled) {
|
||||
void __KernelLoadContext(const PSPThreadContext *ctx, bool vfpuEnabled) {
|
||||
// r and f are immediately next to each other and must be.
|
||||
memcpy((void *)currentMIPS->r, (void *)ctx->r, sizeof(ctx->r) + sizeof(ctx->f));
|
||||
|
||||
|
||||
Reference in new issue
Block a user