mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-21 17:49:58 -05:00
AMMediaboard: Move things from global namespace to AMMediaboard namespace.
This commit is contained in:
parent
f00b1c590e
commit
282e14cce6
|
|
@ -75,14 +75,14 @@ static int WSAGetLastError()
|
|||
|
||||
#endif
|
||||
|
||||
namespace AMMediaboard
|
||||
{
|
||||
|
||||
MediaBoardRange::MediaBoardRange(u32 start_, u32 size_, std::span<u8> buffer_)
|
||||
: start{start_}, end{start_ + size_}, buffer{buffer_.data()}, buffer_size{buffer_.size()}
|
||||
{
|
||||
}
|
||||
|
||||
namespace AMMediaboard
|
||||
{
|
||||
|
||||
using Common::SEND_FLAGS;
|
||||
|
||||
enum class GuestSocket : s32
|
||||
|
|
|
|||
|
|
@ -14,6 +14,15 @@
|
|||
|
||||
#include "DiscIO/Volume.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
class System;
|
||||
} // namespace Core
|
||||
|
||||
namespace AMMediaboard
|
||||
{
|
||||
|
||||
enum GameType
|
||||
{
|
||||
FZeroAX = 1,
|
||||
|
|
@ -59,12 +68,6 @@ enum InquiryType
|
|||
Version2 = 0x29484100,
|
||||
};
|
||||
|
||||
namespace Core
|
||||
{
|
||||
class CPUThreadGuard;
|
||||
class System;
|
||||
} // namespace Core
|
||||
|
||||
struct MediaBoardRange
|
||||
{
|
||||
u32 start;
|
||||
|
|
@ -75,9 +78,6 @@ struct MediaBoardRange
|
|||
MediaBoardRange(u32 start_, u32 size_, std::span<u8> buffer_);
|
||||
};
|
||||
|
||||
namespace AMMediaboard
|
||||
{
|
||||
|
||||
enum class AMMBDICommand : u16
|
||||
{
|
||||
Inquiry = 0x12,
|
||||
|
|
|
|||
|
|
@ -77,8 +77,8 @@ CEXIBaseboard::CEXIBaseboard(Core::System& system) : IEXIDevice(system)
|
|||
|
||||
// Virtua Striker 4 and Gekitou Pro Yakyuu need a higher FIRM version
|
||||
// Which is read from the backup data?!
|
||||
if (AMMediaboard::GetGameType() == VirtuaStriker4 ||
|
||||
AMMediaboard::GetGameType() == GekitouProYakyuu)
|
||||
if (AMMediaboard::GetGameType() == AMMediaboard::VirtuaStriker4 ||
|
||||
AMMediaboard::GetGameType() == AMMediaboard::GekitouProYakyuu)
|
||||
{
|
||||
const u64 backup_size = m_backup.GetSize();
|
||||
if (backup_size >= 0x20C + 0x1F4)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
|
||||
namespace SerialInterface
|
||||
{
|
||||
using namespace AMMediaboard;
|
||||
|
||||
void JVSIOMessage::Start(int node)
|
||||
{
|
||||
m_last_start = m_pointer;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user