mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Net: Correct pool allocation.
This commit is contained in:
1 parent
350589dd65
commit
91e1e75692
1 file changed
+1
-1
+1
-1
@@ -109,7 +109,7 @@ void __NetDoState(PointerWrap &p) {
|
||||
}
|
||||
|
||||
static inline u32 AllocUser(u32 size, bool fromTop, const char *name) {
|
||||
u32 addr = userMemory.Alloc(size, true, "netstack1");
|
||||
u32 addr = userMemory.Alloc(size, fromTop, name);
|
||||
if (addr == -1)
|
||||
return 0;
|
||||
return addr;
|
||||
|
||||
Reference in new issue
Block a user