Move someting to correct position.

This commit is contained in:
shenweip 2013-10-02 00:32:22 +08:00
parent efec08f7d6
commit 9a7759c50c
2 changed files with 11 additions and 12 deletions

View File

@ -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,

View File

@ -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);