mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
- commented out printfs
This commit is contained in:
parent
dff435a4e8
commit
2e39693ea5
@ -145,7 +145,7 @@ int levelSpoolerSeekCmd = 0;
|
||||
int levelSpoolerPCFunc(void* data)
|
||||
{
|
||||
//Print incoming data
|
||||
printf("----- Running SPOOLER thread -----\n");
|
||||
printf("Running SPOOL thread...\n");
|
||||
|
||||
ready_callbackFn readyCb = g_readyCallbackPC;
|
||||
data_callbackFn dataCb = g_dataCallbackPC;
|
||||
@ -174,17 +174,16 @@ int levelSpoolerPCFunc(void* data)
|
||||
|
||||
if (sector == -1)
|
||||
{
|
||||
printf("CdlPause\n", sector);
|
||||
printf("SPOOL thread recieved 'CdlPause'\n", sector);
|
||||
levelSpoolerSeekCmd = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
printf("CdlReadS: at %d\n", sector);
|
||||
printf("SPOOL thread recieved 'CdlReadS' at %d\n", sector);
|
||||
|
||||
// seek
|
||||
fseek(fp, sector * 2048, SEEK_SET);
|
||||
|
||||
|
||||
levelSpoolerSeekCmd = 0;
|
||||
}
|
||||
|
||||
@ -202,13 +201,11 @@ int levelSpoolerPCFunc(void* data)
|
||||
dataCb();
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("readyCb = NULL\n");
|
||||
break;
|
||||
}
|
||||
|
||||
} while (true);
|
||||
|
||||
printf("----- SPOOLER thread DON. -----\n");
|
||||
printf("SPOOLER thread work done.\n");
|
||||
|
||||
fclose(fp);
|
||||
|
||||
@ -942,7 +939,7 @@ void UpdateSpool(void)
|
||||
// [D]
|
||||
void RequestSpool(int type, int data, int offset, int loadsize, char *address, spooledFuncPtr func)
|
||||
{
|
||||
printf("RequestSpool: %d %d\n", type, data);
|
||||
//printf("RequestSpool: %d %d\n", type, data);
|
||||
|
||||
int iVar2;
|
||||
SPOOLQ *next;
|
||||
@ -1130,8 +1127,6 @@ void SendTPage(void)
|
||||
puVar4 = (uint *)(texture_cluts[iVar7]);
|
||||
iVar5 = 0;
|
||||
|
||||
printf("Send CLUT\n");
|
||||
|
||||
if (0 < iVar6)
|
||||
{
|
||||
iVar2 = (int)((uint)cluts.x << 0x10) >> 0x10;
|
||||
@ -1159,8 +1154,6 @@ void SendTPage(void)
|
||||
{
|
||||
if (iVar5 != (uint)tpageloaded[iVar7] - 1)
|
||||
{
|
||||
printf("Send TPAGE\n");
|
||||
|
||||
LoadImage(&tpage, (u_long *)(model_spool_buffer + 0xa000 + (loadbank_write % 2) * TPAGE_WIDTH * 32));
|
||||
tpage.y = tpage.y + tpage.h;
|
||||
}
|
||||
@ -1215,7 +1208,8 @@ void SpoolSYNC(void)
|
||||
{
|
||||
do {
|
||||
} while (spoolactive != 0);
|
||||
return;
|
||||
|
||||
printf("SpoolSYNC...\n"); // [A]
|
||||
}
|
||||
|
||||
|
||||
@ -2295,7 +2289,7 @@ void GotRegion(void)
|
||||
// [D]
|
||||
void data_cb_textures(void)
|
||||
{
|
||||
printf("data_cb_textures remaining: %d\n", sectors_to_read);
|
||||
//printf("data_cb_textures remaining: %d\n", sectors_to_read);
|
||||
|
||||
if (chunk_complete != 0)
|
||||
{
|
||||
@ -2549,7 +2543,7 @@ void ready_cb_regions(unsigned char intr, unsigned char *result)
|
||||
// [D]
|
||||
void data_cb_regions(void)
|
||||
{
|
||||
printf("data_cb_regions remaining: %d\n", sectors_to_read);
|
||||
//printf("data_cb_regions remaining: %d\n", sectors_to_read);
|
||||
|
||||
if (chunk_complete != 0)
|
||||
{
|
||||
@ -2774,7 +2768,7 @@ void ready_cb_soundbank(unsigned char intr, unsigned char *result)
|
||||
// [D]
|
||||
void data_cb_misc(void)
|
||||
{
|
||||
printf("data_cb_misc remaining: %d\n", sectors_to_read);
|
||||
//printf("data_cb_misc remaining: %d\n", sectors_to_read);
|
||||
|
||||
if (chunk_complete != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user