Net: Correct pool allocation.

This commit is contained in:
Unknown W. Brackets committed 2020-04-05 07:01:45 -07:00
1 parent 350589dd65
commit 91e1e75692
1 file changed
+1 -1
+1 -1
View File
@@ -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;