mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-01 21:56:17 +00:00
Move someting to correct position.
This commit is contained in:
parent
efec08f7d6
commit
9a7759c50c
@ -20,6 +20,8 @@
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "sceKernelMemory.h"
|
||||
#include "Core/HLE/sceHeap.h"
|
||||
#include "../Util/BlockAllocator.h"
|
||||
#include <map>
|
||||
|
||||
std::map<u32,Heap*> heapList;
|
||||
|
||||
@ -34,6 +36,15 @@ void __HeapDoState(PointerWrap &p) {
|
||||
}
|
||||
}
|
||||
|
||||
struct Heap {
|
||||
Heap():alloc(4) {}
|
||||
|
||||
u32 size;
|
||||
u32 address;
|
||||
bool fromtop;
|
||||
BlockAllocator alloc;
|
||||
};
|
||||
|
||||
enum SceHeapAttr
|
||||
{
|
||||
PSP_HEAP_ATTR_HIGHMEM = 0x4000,
|
||||
|
@ -16,18 +16,6 @@
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#pragma once
|
||||
#include "../Util/BlockAllocator.h"
|
||||
#include <map>
|
||||
|
||||
struct Heap
|
||||
{
|
||||
Heap():alloc(4) {}
|
||||
|
||||
u32 size;
|
||||
u32 address;
|
||||
bool fromtop;
|
||||
BlockAllocator alloc;
|
||||
};
|
||||
|
||||
void Register_sceHeap();
|
||||
void __HeapDoState(PointerWrap &p);
|
Loading…
Reference in New Issue
Block a user