mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Added wad files detection to the GameListCtrl, some changes to ISOProperties, needs a bit more work ?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3348 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -22,20 +22,25 @@
|
||||
#include "Common.h"
|
||||
#include "ColorUtil.h"
|
||||
#include "BannerLoaderWii.h"
|
||||
#include "VolumeCreator.h"
|
||||
#include "FileUtil.h"
|
||||
#include "FileHandlerARC.h"
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
|
||||
CBannerLoaderWii::CBannerLoaderWii(DiscIO::IFileSystem& _rFileSystem)
|
||||
CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume)
|
||||
: m_pBannerFile(NULL)
|
||||
, m_IsValid(false)
|
||||
{
|
||||
char Filename[260];
|
||||
u64 TitleID;
|
||||
|
||||
_rFileSystem.GetVolume()->RAWRead((u64)0x0F8001DC, 8, (u8*)&TitleID);
|
||||
if (DiscIO::IsVolumeWadFile(pVolume))
|
||||
pVolume->GetTitleID((u8*)&TitleID);
|
||||
else
|
||||
pVolume->RAWRead((u64)0x0F8001DC, 8, (u8*)&TitleID);
|
||||
|
||||
TitleID = Common::swap64(TitleID);
|
||||
|
||||
sprintf(Filename, FULL_WII_USER_DIR "title/%08x/%08x/data/banner.bin",
|
||||
|
Reference in New Issue
Block a user