mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Turn VolumeDirectory into DirectoryBlob
This lets VolumeDirectory/DirectoryBlob skip implementing various volume functions like GetGameID, GetBanner, etc. It also lets us view extracted discs in the game list. This ends up breaking the boot process for Wii DirectoryBlobs due to workarounds being removed from the boot process, but that will be fixed later by adding proper DirectoryBlob support for things like TMDs. We now expect the directories to be laid out in a certain format (based on the format that WIT uses) instead of requiring the user to set the DVD root and apploader path settings.
This commit is contained in:
@ -15,6 +15,11 @@
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
|
||||
namespace File
|
||||
{
|
||||
class IOFile;
|
||||
}
|
||||
|
||||
struct RegionSetting
|
||||
{
|
||||
const std::string area;
|
||||
@ -101,7 +106,6 @@ private:
|
||||
static bool EmulatedBS2_Wii(const DiscIO::Volume* volume);
|
||||
static bool EmulatedBS2(bool is_wii, const DiscIO::Volume* volume);
|
||||
static bool Load_BS2(const std::string& boot_rom_filename);
|
||||
static void Load_FST(bool is_wii, const DiscIO::Volume* volume);
|
||||
|
||||
static bool SetupWiiMemory(const DiscIO::Volume* volume, u64 ios_title_id);
|
||||
};
|
||||
@ -110,6 +114,7 @@ class BootExecutableReader
|
||||
{
|
||||
public:
|
||||
explicit BootExecutableReader(const std::string& file_name);
|
||||
explicit BootExecutableReader(File::IOFile file);
|
||||
explicit BootExecutableReader(const std::vector<u8>& buffer);
|
||||
virtual ~BootExecutableReader();
|
||||
|
||||
|
Reference in New Issue
Block a user