mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed hotswap target memory allocation
This commit is contained in:
parent
d405104757
commit
3dbab0f42b
2 changed files with 33 additions and 9 deletions
|
@ -301,6 +301,12 @@ public:
|
|||
addr_target mPtr;
|
||||
int mOffset;
|
||||
int mSize;
|
||||
|
||||
public:
|
||||
int GetSizeLeft()
|
||||
{
|
||||
return mSize - mOffset;
|
||||
}
|
||||
};
|
||||
|
||||
#define WD_MEMCACHE_SIZE 8*1024
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue