mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-18 22:32:19 -05:00
ba13e6b2c4
Co-authored-by: kenix3 <kenixwhisperwind@gmail.com> Co-authored-by: David Chavez <david@dcvz.io> Co-authored-by: KiritoDv <kiritodev01@gmail.com> Co-authored-by: Christopher Leggett <chris@leggett.dev>
21 lines
487 B
C
21 lines
487 B
C
#ifndef _BOOTCOMMANDS_H_
|
|
#define _BOOTCOMMANDS_H_
|
|
#include <libultraship/libultra.h>
|
|
#include <z64.h>
|
|
|
|
typedef s32 (*BootCommandFunc)(char** argv, s32 argc); // Returns the number of arguments it read
|
|
|
|
typedef struct BootCommand
|
|
{
|
|
char* name;
|
|
BootCommandFunc func;
|
|
} BootCommand;
|
|
|
|
extern uint8_t gLoadFileSelect;
|
|
extern uint8_t gSkipLogoTest;
|
|
|
|
void BootCommands_Init();
|
|
//void BootCommands_ParseBootArgs(char* str);
|
|
void BootCommands_ParseBootArgs(s32 argc, char** argv);
|
|
|
|
#endif |