2018-08-07 14:53:58 +00:00
|
|
|
/* Sample Hekate Module
|
|
|
|
2018 - M4xw
|
|
|
|
*/
|
|
|
|
|
2020-06-14 13:45:45 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include <module.h>
|
|
|
|
#include <gfx_utils.h>
|
2018-08-07 14:53:58 +00:00
|
|
|
|
2018-08-21 01:14:31 +00:00
|
|
|
void _modInit(void *moduleConfig, bdkParams_t bp)
|
2018-08-07 14:53:58 +00:00
|
|
|
{
|
2020-06-14 13:45:45 +00:00
|
|
|
memcpy(&gfx_con, bp->gfxCon, sizeof(gfx_con_t));
|
|
|
|
memcpy(&gfx_ctxt, bp->gfxCtx, 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));
|
2018-08-07 14:53:58 +00:00
|
|
|
}
|