diff options
| author | 2016-04-17 13:36:15 -0500 | |
|---|---|---|
| committer | 2016-05-12 20:00:29 -0500 | |
| commit | 42a50da76b816fff95ae0e438d3e966f6f991b8a (patch) | |
| tree | b5363b4ffb961889379c4c1b5873f609d4ad1510 /src/core/hle/kernel/process.cpp | |
| parent | Merge pull request #1766 from Subv/log_cpu (diff) | |
| download | yuzu-42a50da76b816fff95ae0e438d3e966f6f991b8a.tar.gz yuzu-42a50da76b816fff95ae0e438d3e966f6f991b8a.tar.xz yuzu-42a50da76b816fff95ae0e438d3e966f6f991b8a.zip | |
Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.
R0 is used as the last parameter instead of R4.
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 0546f6e16..69302cc82 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp | |||
| @@ -209,7 +209,7 @@ ResultVal<VAddr> Process::LinearAllocate(VAddr target, u32 size, VMAPermission p | |||
| 209 | return ERR_INVALID_ADDRESS; | 209 | return ERR_INVALID_ADDRESS; |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | // Expansion of the linear heap is only allowed if you do an allocation immediatelly at its | 212 | // Expansion of the linear heap is only allowed if you do an allocation immediately at its |
| 213 | // end. It's possible to free gaps in the middle of the heap and then reallocate them later, | 213 | // end. It's possible to free gaps in the middle of the heap and then reallocate them later, |
| 214 | // but expansions are only allowed at the end. | 214 | // but expansions are only allowed at the end. |
| 215 | if (target == heap_end) { | 215 | if (target == heap_end) { |