mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Move someting to correct position.
This commit is contained in:
parent
efec08f7d6
commit
9a7759c50c
2 changed files with 11 additions and 12 deletions
|
@ -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…
Add table
Reference in a new issue