mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
-fixed booting gamecube games in neek mode
This commit is contained in:
parent
012019ae91
commit
cc0cc493fe
@ -34,6 +34,7 @@
|
||||
#include "loader/fst.h"
|
||||
#include "loader/cios.h"
|
||||
#include "loader/nk.h"
|
||||
#include "memory/memory.h"
|
||||
#include "network/http.h"
|
||||
#include "network/gcard.h"
|
||||
|
||||
@ -814,6 +815,9 @@ void CMenu::_launch(dir_discHdr *hdr)
|
||||
void CMenu::_launchGC(dir_discHdr *hdr, bool disc)
|
||||
{
|
||||
const char *id = hdr->id;
|
||||
memcpy((u8*)Disc_ID, id, 6);
|
||||
DCFlushRange((u8*)Disc_ID, 32);
|
||||
|
||||
const char *path = hdr->path;
|
||||
m_cfg.setString(GC_DOMAIN, "current_item", id);
|
||||
m_gcfg1.setInt("PLAYCOUNT", id, m_gcfg1.getInt("PLAYCOUNT", id, 0) + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user