mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
DVDInterface: Call SetDiscInside when setting volume
SetDiscInside is an implementation detail that callers shouldn't have to call on their own.
This commit is contained in:
@ -108,23 +108,23 @@ void DoState(PointerWrap& p);
|
||||
|
||||
void RegisterMMIO(MMIO::Mapping* mmio, u32 base);
|
||||
|
||||
// Direct disc access
|
||||
// Disc access (don't call GetVolume unless you know that VolumeIsValid() == true)
|
||||
const DiscIO::IVolume& GetVolume();
|
||||
bool SetVolumeName(const std::string& disc_path);
|
||||
bool SetVolumeDirectory(const std::string& disc_path, bool is_wii,
|
||||
const std::string& apploader_path = "", const std::string& DOL_path = "");
|
||||
bool VolumeIsValid();
|
||||
|
||||
// Disc detection and swapping
|
||||
void SetDiscInside(bool _DiscInside);
|
||||
bool IsDiscInside();
|
||||
void ChangeDiscAsHost(const std::string& new_path); // Can only be called by the host thread
|
||||
void ChangeDiscAsCPU(const std::string& new_path); // Can only be called by the CPU thread
|
||||
|
||||
// DVD Access Functions
|
||||
// Direct access to DI for IOS HLE (simpler to implement than how real IOS accesses DI,
|
||||
// and lets us skip encrypting/decrypting in some cases)
|
||||
bool ChangePartition(u64 offset);
|
||||
void ExecuteCommand(u32 command_0, u32 command_1, u32 command_2, u32 output_address,
|
||||
u32 output_length, bool reply_to_ios);
|
||||
|
||||
// Used by DVDThread
|
||||
void FinishExecutingCommand(ReplyType reply_type, DIInterruptType interrupt_type, s64 cycles_late,
|
||||
const std::vector<u8>& data = std::vector<u8>());
|
||||
|
||||
|
Reference in New Issue
Block a user