mirror of
https://github.com/encounter/BootCtr9.git
synced 2026-03-30 11:03:49 -07:00
775dd894d8
the posibility to set a delay for checking the pressed key
22 lines
473 B
C
22 lines
473 B
C
#pragma once
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "ini.h"
|
|
|
|
typedef struct {
|
|
char* section;
|
|
char path[64];
|
|
unsigned long long delay;
|
|
unsigned long payload;
|
|
unsigned long offset;
|
|
int splash;
|
|
char splash_image[64];
|
|
unsigned int screenEnabled;
|
|
} configuration;
|
|
|
|
#define MATCH(s, n) strcmp(section, s) == 0 && strcmp(name, n) == 0
|
|
int handler(void *user, const char *section, const char *name, const char *value);
|