modules: adjust for ianos changes

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 19:38:45 +01:00
1 parent b8dcd5a05b
commit 801c31f613
3 files changed
+7 -7

No files matched your search

+5 -5
View File
@@ -6,13 +6,13 @@
#include <module.h>
#include <gfx_utils.h>
void mod_entry(void *moduleConfig, bdkParams_t bp)
void mod_entry(void *moduleConfig, bdk_params_t *bp)
{
memcpy(&gfx_con, bp->gfxCon, sizeof(gfx_con_t));
memcpy(&gfx_ctxt, bp->gfxCtx, sizeof(gfx_ctxt_t));
memcpy(&gfx_con, bp->gfx_con, sizeof(gfx_con_t));
memcpy(&gfx_ctxt, bp->gfx_ctx, sizeof(gfx_ctxt_t));
gfx_puts("Hello World!");
memcpy(bp->gfxCon, &gfx_con, sizeof(gfx_con_t));
memcpy(bp->gfxCtx, &gfx_ctxt, sizeof(gfx_ctxt_t));
memcpy(bp->gfx_con, &gfx_con, sizeof(gfx_con_t));
memcpy(bp->gfx_ctx, &gfx_ctxt, sizeof(gfx_ctxt_t));
}