mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-added two missing sd card inits in DML (fixed saving) and
in nand emu (fixes launching from sd card) (thanks CaseyOmah for the information) -added small welcome message in debug output ;)
This commit is contained in:
parent
9fcc0f4d35
commit
ab07319073
@ -15,6 +15,8 @@
|
||||
#include "wifi_gecko.h"
|
||||
#include "cios.hpp"
|
||||
#include "nand.hpp"
|
||||
#include "defines.h"
|
||||
#include "svnrev.h"
|
||||
|
||||
extern "C" { extern void __exception_setreload(int t);}
|
||||
|
||||
@ -26,6 +28,8 @@ int main(int argc, char **argv)
|
||||
{
|
||||
geckoinit = InitGecko();
|
||||
__exception_setreload(5);
|
||||
|
||||
gprintf("\nWelcome to %s %s r%s!\nThis is the debug output.\n", APP_NAME, APP_VERSION, SVN_REV);
|
||||
|
||||
SYS_SetArena1Hi(APPLOADER_START);
|
||||
CVideo vid;
|
||||
|
@ -620,9 +620,10 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
||||
m_gcfg1.save(true);
|
||||
m_cfg.save(true);
|
||||
|
||||
cleanup();
|
||||
Close_Inputs();
|
||||
USBStorage_Deinit();
|
||||
cleanup();
|
||||
SDHC_Init();
|
||||
|
||||
//Tell DML to boot the game from sd card
|
||||
*(vu32*)0x80001800 = 0xB002D105;
|
||||
@ -857,6 +858,8 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
|
||||
cleanup();
|
||||
Close_Inputs();
|
||||
USBStorage_Deinit();
|
||||
if(currentPartition == 0 && !forwarder)
|
||||
SDHC_Init();
|
||||
|
||||
if(forwarder)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user