mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-30 20:46:12 +00:00
cleanup: remove console branches from render texture and world helpers
This commit is contained in:
@@ -33,7 +33,7 @@ SparseDataStorage::SparseDataStorage() {
|
||||
// MM_PHYSICAL_4KB_BASE upwards. We can use this fact to identify the
|
||||
// allocation later, and so free it with the corresponding call to
|
||||
// XPhysicalFree.
|
||||
#ifdef _XBOX
|
||||
#if 0
|
||||
unsigned char* planeIndices = (unsigned char*)XPhysicalAlloc(
|
||||
128 * 128, MAXULONG_PTR, 4096, PAGE_READWRITE);
|
||||
#else
|
||||
@@ -85,7 +85,7 @@ SparseDataStorage::~SparseDataStorage() {
|
||||
// Determine correct means to free this data - could have been allocated
|
||||
// either with XPhysicalAlloc or malloc
|
||||
|
||||
#ifdef _XBOX
|
||||
#if 0
|
||||
if ((unsigned int)indicesAndData >= MM_PHYSICAL_4KB_BASE) {
|
||||
XPhysicalFree(indicesAndData);
|
||||
} else
|
||||
@@ -474,7 +474,7 @@ void SparseDataStorage::tick() {
|
||||
// if( toFree ) printf("Deleting 0x%x\n", toFree);
|
||||
// Determine correct means to free this data - could have been allocated either
|
||||
// with XPhysicalAlloc or malloc
|
||||
#ifdef _XBOX
|
||||
#if 0
|
||||
if ((unsigned int)toFree >= MM_PHYSICAL_4KB_BASE) {
|
||||
XPhysicalFree(toFree);
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user