mirror of
https://github.com/Brawl345/customizemii.git
synced 2024-12-12 17:32:36 +01:00
37 lines
590 B
C
37 lines
590 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
#include <malloc.h>
|
||
|
#include <ogcsys.h>
|
||
|
|
||
|
#include "fat.h"
|
||
|
#include "restart.h"
|
||
|
#include "title.h"
|
||
|
#include "utils.h"
|
||
|
#include "video.h"
|
||
|
#include "wad.h"
|
||
|
#include "wpad.h"
|
||
|
|
||
|
/* Constants */
|
||
|
#define CIOS_VERSION 249
|
||
|
|
||
|
void LoadSelectedIOS()
|
||
|
{
|
||
|
u8 selectedIOS = Wad_SelectIOS();
|
||
|
|
||
|
s32 ret;
|
||
|
ret = IOS_ReloadIOS(selectedIOS);
|
||
|
if (ret<0)
|
||
|
{
|
||
|
printf("\nUsing default IOS");
|
||
|
} else
|
||
|
{
|
||
|
printf("\nUsing selected IOS %d\n", selectedIOS);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
void Menu_Loop(void)
|
||
|
{
|
||
|
Wad_InstallFromMemory();
|
||
|
}
|