mirror of
https://github.com/TheShadowEevee/Sharpii-NetCore.git
synced 2025-01-11 23:08:49 -06:00
bc65416cf7
- You can now download an IOS with -ios # in NUSD - Downloaded IOS wads are now named like so: IOS##-64-####.wad - Under certain conditions, when downloading a wad with NUS, it will not be saved in a folder, just as the WAD (see ReadMe) - If missing dll's are detected (WadInstaller or libWiiSharp), Sharpii will ask to download them, if they are required. - You can now use a .dol file instead of a .wad with the '-dol' in the WAD editor/packer - Probably a few other little things I have forgotten - Even more code cleanup and bug fixes
36 lines
590 B
C
36 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();
|
|
}
|