mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
DVDInterface: Prepare for reading DTK data in DVDThread
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
@ -92,6 +93,13 @@ enum DIInterruptType : int
|
||||
INT_CVRINT = 3,
|
||||
};
|
||||
|
||||
enum class ReplyType : u32
|
||||
{
|
||||
Interrupt,
|
||||
IOS_HLE,
|
||||
DTK
|
||||
};
|
||||
|
||||
void Init();
|
||||
void Shutdown();
|
||||
void DoState(PointerWrap& p);
|
||||
@ -115,6 +123,7 @@ void ChangeDiscAsCPU(const std::string& new_path); // Can only be called by th
|
||||
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);
|
||||
void FinishExecutingCommand(bool reply_to_ios, DIInterruptType interrupt_type);
|
||||
void FinishExecutingCommand(ReplyType reply_type, DIInterruptType interrupt_type, s64 cycles_late,
|
||||
const std::vector<u8>& data = std::vector<u8>());
|
||||
|
||||
} // end of namespace DVDInterface
|
||||
|
Reference in New Issue
Block a user