summaryrefslogtreecommitdiff
path: root/apps/plugins/xworld/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xworld/resource.c')
-rw-r--r--apps/plugins/xworld/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xworld/resource.c b/apps/plugins/xworld/resource.c
index 4bd93f0616..29b875f9af 100644
--- a/apps/plugins/xworld/resource.c
+++ b/apps/plugins/xworld/resource.c
@@ -371,7 +371,7 @@ void res_allocMemBlock(struct Resource* res) {
371 res->sys->membuf = res->_memPtrStart + ( MEM_BLOCK_SIZE + (4 * VID_PAGE_SIZE) + 320 * 200 * sizeof(fb_data)); 371 res->sys->membuf = res->_memPtrStart + ( MEM_BLOCK_SIZE + (4 * VID_PAGE_SIZE) + 320 * 200 * sizeof(fb_data));
372 res->sys->bytes_left = sz - (MEM_BLOCK_SIZE + (4 * VID_PAGE_SIZE) + 320 * 200 * sizeof(fb_data)); 372 res->sys->bytes_left = sz - (MEM_BLOCK_SIZE + (4 * VID_PAGE_SIZE) + 320 * 200 * sizeof(fb_data));
373 373
374 debug(DBG_RES, "audiobuf is %d bytes in size", sz); 374 debug(DBG_RES, "audiobuf is %d bytes in size (%d bytes left)", sz, res->sys->bytes_left);
375 375
376 res->_scriptBakPtr = res->_scriptCurPtr = res->_memPtrStart; 376 res->_scriptBakPtr = res->_scriptCurPtr = res->_memPtrStart;
377 res->_vidBakPtr = res->_vidCurPtr = res->_memPtrStart + MEM_BLOCK_SIZE - 0x800 * 16; //0x800 = 2048, so we have 32KB free for vidBack and vidCur 377 res->_vidBakPtr = res->_vidCurPtr = res->_memPtrStart + MEM_BLOCK_SIZE - 0x800 * 16; //0x800 = 2048, so we have 32KB free for vidBack and vidCur