1
0
Fork 0
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:
Brian Fiete 2023-02-20 14:46:08 -05:00
parent d405104757
commit 3dbab0f42b
2 changed files with 33 additions and 9 deletions

View file

@ -301,6 +301,12 @@ public:
addr_target mPtr;
int mOffset;
int mSize;
public:
int GetSizeLeft()
{
return mSize - mOffset;
}
};
#define WD_MEMCACHE_SIZE 8*1024