this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

whatever

alice 46fd0f5f aed0812b

+36 -21
+8 -2
src/studio/screens/console.c
··· 520 520 } 521 521 522 522 console->input.text = console->text + cursorOffset(console); 523 - printf("console->input.text is now: %p\n", console->input.text); 523 + printf("console->input.text is now: %s\n", console->input.text); 524 524 console->input.pos = 0; 525 525 printf("Updated input text position\n"); 526 526 ··· 1369 1369 1370 1370 if (strlen(data->commonPrefix) == strlen(data->incompleteWord) && !justOneOptionLeft) 1371 1371 { 1372 + printf("in if(strlen(data->commonPrefix) == strlen(data->incompleteWord) && !justOneOptionLeft)\n"); 1373 + printf("calling provideHint\n"); 1372 1374 provideHint(data->console, data->options); 1375 + printf("finished provideHint\n"); 1373 1376 } 1377 + printf("calling processConsoleEnd\n"); 1374 1378 processConsoleEnd(data->console); 1379 + printf("finished processConsoleEnd\n"); 1380 + printf("inserting input text\n"); 1375 1381 insertInputText(data->console, data->commonPrefix+strlen(data->incompleteWord)); 1376 - 1382 + printf("finished inserting input text\n"); 1377 1383 if (justOneOptionLeft) 1378 1384 { 1379 1385 printf("in if(justOneOptionLeft)\n");
+28 -19
src/system/sdl/main.c
··· 248 248 #if defined(CRT_SHADER_SUPPORT) 249 249 if(!studio_config(platform.studio)->soft) 250 250 { 251 - printf("calling GPU_Clear\n"); 251 + // printf("calling GPU_Clear\n"); 252 252 GPU_Clear(renderer.gpu); 253 - printf("GPU_Clear done\n"); 253 + // printf("GPU_Clear done\n"); 254 254 } 255 255 else 256 256 #endif ··· 563 563 if(!soft) 564 564 { 565 565 s32 w, h; 566 + printf("here1\n"); 566 567 SDL_GetWindowSize(platform.window, &w, &h); 568 + printf("here2\n"); 567 569 568 570 GPU_SetInitWindow(SDL_GetWindowID(platform.window)); 569 - 571 + printf("here3\n"); 570 572 GPU_SetPreInitFlags(vsync ? GPU_INIT_ENABLE_VSYNC : GPU_INIT_DISABLE_VSYNC); 573 + printf("here4\n"); 571 574 platform.screen.renderer.gpu = GPU_Init(w, h, GPU_DEFAULT_INIT_FLAGS); 572 - 575 + printf("here5\n"); 573 576 GPU_SetWindowResolution(w, h); 577 + printf("here6\n"); 574 578 GPU_SetVirtualResolution(platform.screen.renderer.gpu, w, h); 579 + printf("here7\n"); 575 580 576 581 platform.screen.texture.gpu = GPU_CreateImage(TIC80_FULLWIDTH, TIC80_FULLHEIGHT, GPU_FORMAT_RGBA); 582 + printf("here8\n"); 577 583 GPU_SetAnchor(platform.screen.texture.gpu, 0, 0); 584 + printf("here9\n"); 578 585 GPU_SetImageFilter(platform.screen.texture.gpu, GPU_FILTER_NEAREST); 586 + printf("here10\n"); 579 587 } 580 588 else 581 589 #endif 582 590 { 591 + printf("here11\n"); 583 592 platform.screen.renderer.sdl = SDL_CreateRenderer(platform.window, -1, 584 593 #if defined(CRT_SHADER_SUPPORT) 585 594 SDL_RENDERER_SOFTWARE ··· 588 597 #endif 589 598 | (!soft && vsync ? SDL_RENDERER_PRESENTVSYNC : 0) 590 599 ); 591 - 600 + printf("here12\n"); 592 601 platform.screen.texture.sdl = SDL_CreateTexture(platform.screen.renderer.sdl, SDL_PIXELFORMAT_ABGR8888, 593 602 SDL_TEXTUREACCESS_STREAMING, TIC80_FULLWIDTH, TIC80_FULLHEIGHT); 594 603 } ··· 1708 1717 1709 1718 static void gpuTick() 1710 1719 { 1711 - printf("gpuTick starting\n"); 1720 + // printf("gpuTick starting\n"); 1712 1721 const tic_mem* tic = studio_mem(platform.studio); 1713 - printf("tic is %p\n", tic); 1722 + // printf("tic is %p\n", tic); 1714 1723 1715 - printf("calling pollEvents\n"); 1724 + // printf("calling pollEvents\n"); 1716 1725 pollEvents(); 1717 - printf("pollEvents done\n"); 1726 + // printf("pollEvents done\n"); 1718 1727 1719 1728 if(studio_alive(platform.studio)) 1720 1729 { ··· 1726 1735 1727 1736 LOCK_MUTEX(platform.audio.mutex) 1728 1737 { 1729 - printf("calling studio_tick\n"); 1738 + // printf("calling studio_tick\n"); 1730 1739 studio_tick(platform.studio, platform.input); 1731 - printf("studio_tick done\n"); 1740 + // printf("studio_tick done\n"); 1732 1741 } 1733 1742 1734 - printf("calling renderClear\n"); 1743 + // printf("calling renderClear\n"); 1735 1744 renderClear(platform.screen.renderer); 1736 - printf("renderClear done\n"); 1745 + // printf("renderClear done\n"); 1737 1746 1738 - printf("calling updateTextureBytes\n"); 1747 + // printf("calling updateTextureBytes\n"); 1739 1748 updateTextureBytes(platform.screen.texture, tic->product.screen, TIC80_FULLWIDTH, TIC80_FULLHEIGHT); 1740 - printf("updateTextureBytes done\n"); 1749 + // printf("updateTextureBytes done\n"); 1741 1750 1742 1751 SDL_Rect rect; 1743 1752 calcTextureRect(&rect); ··· 1800 1809 else 1801 1810 renderKeyboard(); 1802 1811 #endif 1803 - printf("calling renderPresent\n"); 1812 + // printf("calling renderPresent\n"); 1804 1813 renderPresent(platform.screen.renderer); 1805 - printf("renderPresent done\n"); 1806 - 1807 - printf("end of gpuTick\n"); 1814 + // printf("renderPresent done\n"); 1815 + 1816 + // printf("end of gpuTick\n"); 1808 1817 platform.keyboard.text = '\0'; 1809 1818 } 1810 1819