From cc0cc493fe3b3b3feb0c4cdbdd135c1071c053e7 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sat, 24 Nov 2012 19:41:27 +0000 Subject: [PATCH] -fixed booting gamecube games in neek mode --- source/menu/menu_game.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index 6ab22bcf..746f2b35 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -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);