mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 13:35:35 -04:00
first try to draw first logo
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
#include "f_pc/f_pc_node.h"
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
#include <cstdio>
|
||||
|
||||
int fpcDw_Execute(base_process_class* i_proc) {
|
||||
if (!fpcPause_IsEnable(i_proc, 2)) {
|
||||
@@ -32,9 +33,15 @@ int fpcDw_Execute(base_process_class* i_proc) {
|
||||
}
|
||||
|
||||
int fpcDw_Handler(fpcDw_HandlerFuncFunc i_iterHandler, fpcDw_HandlerFunc i_func) {
|
||||
static int sDwLogCount = 0;
|
||||
int ret;
|
||||
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: before BeforeOfDraw\n"); fflush(stdout); }
|
||||
cAPIGph_BeforeOfDraw();
|
||||
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: before draw iteration\n"); fflush(stdout); }
|
||||
ret = i_iterHandler(i_func);
|
||||
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: before AfterOfDraw\n"); fflush(stdout); }
|
||||
cAPIGph_AfterOfDraw();
|
||||
if (sDwLogCount < 5) { printf("[DIAG] fpcDw_Handler: done\n"); fflush(stdout); }
|
||||
sDwLogCount++;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user