b7770f8861
git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@23 eddbe33b-e435-4246-ac25-f5eb65f9a13c
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();
|
|
}
|