mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Core: Use nested namespace specifiers where applicable
Same thing, less visual noise.
This commit is contained in:
@ -12,9 +12,7 @@
|
|||||||
#include "Core/DSP/DSPMemoryMap.h"
|
#include "Core/DSP/DSPMemoryMap.h"
|
||||||
#include "Core/DSP/DSPTables.h"
|
#include "Core/DSP/DSPTables.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Analyzer
|
||||||
{
|
|
||||||
namespace Analyzer
|
|
||||||
{
|
{
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -167,5 +165,4 @@ u8 GetCodeFlags(u16 address)
|
|||||||
return code_flags[address];
|
return code_flags[address];
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Analyzer
|
} // namespace DSP::Analyzer
|
||||||
} // namespace DSP
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
// Basic code analysis.
|
// Basic code analysis.
|
||||||
namespace DSP
|
namespace DSP::Analyzer
|
||||||
{
|
|
||||||
namespace Analyzer
|
|
||||||
{
|
{
|
||||||
// Useful things to detect:
|
// Useful things to detect:
|
||||||
// * Loop endpoints - so that we can avoid checking for loops every cycle.
|
// * Loop endpoints - so that we can avoid checking for loops every cycle.
|
||||||
@ -35,5 +33,4 @@ void Analyze();
|
|||||||
// Retrieves the flags set during analysis for code in memory.
|
// Retrieves the flags set during analysis for code in memory.
|
||||||
u8 GetCodeFlags(u16 address);
|
u8 GetCodeFlags(u16 address);
|
||||||
|
|
||||||
} // namespace Analyzer
|
} // namespace DSP::Analyzer
|
||||||
} // namespace DSP
|
|
||||||
|
@ -13,9 +13,7 @@
|
|||||||
// core isn't used, for example in an asm/disasm tool, then most of these
|
// core isn't used, for example in an asm/disasm tool, then most of these
|
||||||
// can be stubbed out.
|
// can be stubbed out.
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Host
|
||||||
{
|
|
||||||
namespace Host
|
|
||||||
{
|
{
|
||||||
u8 ReadHostMemory(u32 addr);
|
u8 ReadHostMemory(u32 addr);
|
||||||
void WriteHostMemory(u8 value, u32 addr);
|
void WriteHostMemory(u8 value, u32 addr);
|
||||||
@ -25,5 +23,4 @@ bool IsWiiHost();
|
|||||||
void InterruptRequest();
|
void InterruptRequest();
|
||||||
void CodeLoaded(const u8* ptr, int size);
|
void CodeLoaded(const u8* ptr, int size);
|
||||||
void UpdateDebugger();
|
void UpdateDebugger();
|
||||||
} // namespace Host
|
} // namespace DSP::Host
|
||||||
} // namespace DSP
|
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
|
|
||||||
// Arithmetic and accumulator control.
|
// Arithmetic and accumulator control.
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
// CLR $acR
|
// CLR $acR
|
||||||
// 1000 r001 xxxx xxxx
|
// 1000 r001 xxxx xxxx
|
||||||
@ -1159,6 +1157,4 @@ void asrnr(const UDSPInstruction opc)
|
|||||||
dsp_set_long_acc(dreg, acc);
|
dsp_set_long_acc(dreg, acc);
|
||||||
Update_SR_Register64(dsp_get_long_acc(dreg));
|
Update_SR_Register64(dsp_get_long_acc(dreg));
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
||||||
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
// Generic call implementation
|
// Generic call implementation
|
||||||
// CALLcc addressA
|
// CALLcc addressA
|
||||||
@ -263,6 +261,4 @@ void bloopi(const UDSPInstruction opc)
|
|||||||
dsp_skip_inst();
|
dsp_skip_inst();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -9,9 +9,7 @@
|
|||||||
#include "Core/DSP/Interpreter/DSPIntCCUtil.h"
|
#include "Core/DSP/Interpreter/DSPIntCCUtil.h"
|
||||||
#include "Core/DSP/DSPCore.h"
|
#include "Core/DSP/DSPCore.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
void Update_SR_Register64(s64 _Value, bool carry, bool overflow)
|
void Update_SR_Register64(s64 _Value, bool carry, bool overflow)
|
||||||
{
|
{
|
||||||
@ -182,6 +180,4 @@ bool CheckCondition(u8 _Condition)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
bool CheckCondition(u8 _Condition);
|
bool CheckCondition(u8 _Condition);
|
||||||
|
|
||||||
@ -40,6 +38,4 @@ inline bool isOverS32(s64 acc)
|
|||||||
{
|
{
|
||||||
return (acc != (s32)acc) ? true : false;
|
return (acc != (s32)acc) ? true : false;
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -30,9 +30,7 @@ static void WriteToBackLog(int i, int idx, u16 value)
|
|||||||
writeBackLogIdx[i] = idx;
|
writeBackLogIdx[i] = idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Interpreter
|
namespace Interpreter::Ext
|
||||||
{
|
|
||||||
namespace Ext
|
|
||||||
{
|
{
|
||||||
static bool IsSameMemArea(u16 a, u16 b)
|
static bool IsSameMemArea(u16 a, u16 b)
|
||||||
{
|
{
|
||||||
@ -493,9 +491,7 @@ void ldaxnm(const UDSPInstruction opc)
|
|||||||
void nop(const UDSPInstruction opc)
|
void nop(const UDSPInstruction opc)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
} // namespace Interpreter::Ext
|
||||||
} // namespace Ext
|
|
||||||
} // namespace Interpreter
|
|
||||||
|
|
||||||
// The ext ops are calculated in parallel with the actual op. That means that
|
// The ext ops are calculated in parallel with the actual op. That means that
|
||||||
// both the main op and the ext op see the same register state as input. The
|
// both the main op and the ext op see the same register state as input. The
|
||||||
|
@ -11,11 +11,7 @@
|
|||||||
// Many opcode have the lower 0xFF (some only 0x7f) free - there, an opcode extension
|
// Many opcode have the lower 0xFF (some only 0x7f) free - there, an opcode extension
|
||||||
// can be stored.
|
// can be stored.
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter::Ext
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
|
||||||
namespace Ext
|
|
||||||
{
|
{
|
||||||
void l(UDSPInstruction opc);
|
void l(UDSPInstruction opc);
|
||||||
void ln(UDSPInstruction opc);
|
void ln(UDSPInstruction opc);
|
||||||
@ -42,7 +38,4 @@ void dr(UDSPInstruction opc);
|
|||||||
void ir(UDSPInstruction opc);
|
void ir(UDSPInstruction opc);
|
||||||
void nr(UDSPInstruction opc);
|
void nr(UDSPInstruction opc);
|
||||||
void nop(UDSPInstruction opc);
|
void nop(UDSPInstruction opc);
|
||||||
|
} // namespace DSP::Interpreter::Ext
|
||||||
} // namespace Ext
|
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -8,9 +8,7 @@
|
|||||||
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
||||||
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
// SRS @M, $(0x18+S)
|
// SRS @M, $(0x18+S)
|
||||||
// 0010 1sss mmmm mmmm
|
// 0010 1sss mmmm mmmm
|
||||||
@ -261,6 +259,4 @@ void ilrrn(const UDSPInstruction opc)
|
|||||||
dsp_conditional_extend_accum(dreg);
|
dsp_conditional_extend_accum(dreg);
|
||||||
g_dsp.r.ar[reg] = dsp_increase_addr_reg(reg, (s16)g_dsp.r.ix[reg]);
|
g_dsp.r.ar[reg] = dsp_increase_addr_reg(reg, (s16)g_dsp.r.ix[reg]);
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
||||||
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
// MRR $D, $S
|
// MRR $D, $S
|
||||||
// 0001 11dd ddds ssss
|
// 0001 11dd ddds ssss
|
||||||
@ -159,6 +157,4 @@ void srbith(const UDSPInstruction opc)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
#include "Core/DSP/Interpreter/DSPIntUtil.h"
|
||||||
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
#include "Core/DSP/Interpreter/DSPInterpreter.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -594,6 +592,4 @@ void msub(const UDSPInstruction opc)
|
|||||||
|
|
||||||
dsp_set_long_prod(prod);
|
dsp_set_long_prod(prod);
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
#include "Core/DSP/DSPCore.h"
|
#include "Core/DSP/DSPCore.h"
|
||||||
#include "Core/DSP/DSPStacks.h"
|
#include "Core/DSP/DSPStacks.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
// ---------------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------------
|
||||||
// --- SR
|
// --- SR
|
||||||
@ -379,5 +377,4 @@ inline s16 dsp_get_ax_h(int _reg)
|
|||||||
return (s16)g_dsp.r.ax[_reg].h;
|
return (s16)g_dsp.r.ax[_reg].h;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Interpreter
|
} // namespace DSP::Interpreter
|
||||||
} // namespace DSP
|
|
||||||
|
@ -14,9 +14,7 @@
|
|||||||
#include "Core/DSP/DSPTables.h"
|
#include "Core/DSP/DSPTables.h"
|
||||||
#include "Core/DSP/Interpreter/DSPIntTables.h"
|
#include "Core/DSP/Interpreter/DSPIntTables.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -237,6 +235,4 @@ void nop(const UDSPInstruction opc)
|
|||||||
|
|
||||||
ERROR_LOG(DSPLLE, "LLE: Unrecognized opcode 0x%04x", opc);
|
ERROR_LOG(DSPLLE, "LLE: Unrecognized opcode 0x%04x", opc);
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Interpreter
|
||||||
} // namespace Interpreter
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
|
|
||||||
#include "Core/DSP/DSPCommon.h"
|
#include "Core/DSP/DSPCommon.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Interpreter
|
||||||
{
|
|
||||||
namespace Interpreter
|
|
||||||
{
|
{
|
||||||
void Step();
|
void Step();
|
||||||
|
|
||||||
@ -146,5 +144,4 @@ void xorc(UDSPInstruction opc);
|
|||||||
void xori(UDSPInstruction opc);
|
void xori(UDSPInstruction opc);
|
||||||
void xorr(UDSPInstruction opc);
|
void xorr(UDSPInstruction opc);
|
||||||
|
|
||||||
} // namespace Interpreter
|
} // namespace DSP::Interpreter
|
||||||
} // namespace DSP
|
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
namespace HLE
|
namespace HLE::SystemVABI
|
||||||
{
|
|
||||||
namespace SystemVABI
|
|
||||||
{
|
{
|
||||||
// SFINAE
|
// SFINAE
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@ -172,5 +170,4 @@ private:
|
|||||||
double GetFPR(u32 fpr) const override;
|
double GetFPR(u32 fpr) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace SystemVABI
|
} // namespace HLE::SystemVABI
|
||||||
} // namespace HLE
|
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
#include "Core/HW/SystemTimers.h"
|
#include "Core/HW/SystemTimers.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
DSPHLE::DSPHLE() = default;
|
DSPHLE::DSPHLE() = default;
|
||||||
|
|
||||||
@ -216,5 +214,4 @@ u16 DSPHLE::DSP_ReadControlRegister()
|
|||||||
void DSPHLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
void DSPHLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -13,9 +13,7 @@
|
|||||||
|
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class UCodeInterface;
|
class UCodeInterface;
|
||||||
|
|
||||||
@ -73,5 +71,4 @@ private:
|
|||||||
bool m_halt;
|
bool m_halt;
|
||||||
bool m_assert_interrupt;
|
bool m_assert_interrupt;
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
#include "Common/MsgHandler.h"
|
#include "Common/MsgHandler.h"
|
||||||
#include "Core/HW/DSP.h"
|
#include "Core/HW/DSP.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
CMailHandler::CMailHandler()
|
CMailHandler::CMailHandler()
|
||||||
{
|
{
|
||||||
@ -135,5 +133,4 @@ void CMailHandler::DoState(PointerWrap& p)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
|
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class CMailHandler
|
class CMailHandler
|
||||||
{
|
{
|
||||||
@ -35,5 +33,4 @@ private:
|
|||||||
// mail handler
|
// mail handler
|
||||||
std::queue<std::pair<u32, bool>> m_Mails;
|
std::queue<std::pair<u32, bool>> m_Mails;
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -22,9 +22,7 @@
|
|||||||
#define AX_GC
|
#define AX_GC
|
||||||
#include "Core/HW/DSPHLE/UCodes/AXVoice.h"
|
#include "Core/HW/DSPHLE/UCodes/AXVoice.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
AXUCode::AXUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc), m_cmdlist_size(0)
|
AXUCode::AXUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc), m_cmdlist_size(0)
|
||||||
{
|
{
|
||||||
@ -727,5 +725,4 @@ void AXUCode::DoState(PointerWrap& p)
|
|||||||
DoStateShared(p);
|
DoStateShared(p);
|
||||||
DoAXState(p);
|
DoAXState(p);
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -15,9 +15,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
|
|
||||||
@ -155,5 +153,4 @@ private:
|
|||||||
CMD_SEND_AUX_AND_MIX = 0x13,
|
CMD_SEND_AUX_AND_MIX = 0x13,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
struct PBMixer
|
struct PBMixer
|
||||||
{
|
{
|
||||||
@ -337,5 +335,4 @@ enum
|
|||||||
FILTER_LOWPASS = 1,
|
FILTER_LOWPASS = 1,
|
||||||
FILTER_BIQUAD = 2,
|
FILTER_BIQUAD = 2,
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -23,9 +23,7 @@
|
|||||||
#include "Core/HW/DSPHLE/UCodes/AXStructs.h"
|
#include "Core/HW/DSPHLE/UCodes/AXStructs.h"
|
||||||
#include "Core/HW/Memmap.h"
|
#include "Core/HW/Memmap.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
#ifdef AX_GC
|
#ifdef AX_GC
|
||||||
#define PB_TYPE AXPB
|
#define PB_TYPE AXPB
|
||||||
@ -566,5 +564,4 @@ void ProcessVoice(PB_TYPE& pb, const AXBuffers& buffers, u16 count, AXMixControl
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -19,9 +19,7 @@
|
|||||||
#include "Core/HW/DSPHLE/UCodes/AXVoice.h"
|
#include "Core/HW/DSPHLE/UCodes/AXVoice.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
AXWiiUCode::AXWiiUCode(DSPHLE* dsphle, u32 crc) : AXUCode(dsphle, crc), m_last_main_volume(0x8000)
|
AXWiiUCode::AXWiiUCode(DSPHLE* dsphle, u32 crc) : AXUCode(dsphle, crc), m_last_main_volume(0x8000)
|
||||||
{
|
{
|
||||||
@ -669,5 +667,4 @@ void AXWiiUCode::DoState(PointerWrap& p)
|
|||||||
p.Do(m_last_main_volume);
|
p.Do(m_last_main_volume);
|
||||||
p.Do(m_last_aux_volumes);
|
p.Do(m_last_aux_volumes);
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/AX.h"
|
#include "Core/HW/DSPHLE/UCodes/AX.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
struct AXPBWii;
|
struct AXPBWii;
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
@ -115,5 +113,4 @@ private:
|
|||||||
CMD_END_OLD = 0x0F
|
CMD_END_OLD = 0x0F
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
#include "Core/HW/DSPHLE/DSPHLE.h"
|
#include "Core/HW/DSPHLE/DSPHLE.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
CARDUCode::CARDUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
CARDUCode::CARDUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
||||||
{
|
{
|
||||||
@ -52,5 +50,4 @@ void CARDUCode::HandleMail(u32 mail)
|
|||||||
m_mail_handler.PushMail(DSP_DONE);
|
m_mail_handler.PushMail(DSP_DONE);
|
||||||
m_dsphle->SetUCode(UCODE_ROM);
|
m_dsphle->SetUCode(UCODE_ROM);
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
|
|
||||||
@ -23,5 +21,4 @@ public:
|
|||||||
void HandleMail(u32 mail) override;
|
void HandleMail(u32 mail) override;
|
||||||
void Update() override;
|
void Update() override;
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
#include "Core/HW/DSPHLE/MailHandler.h"
|
#include "Core/HW/DSPHLE/MailHandler.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
void ProcessGBACrypto(u32 address)
|
void ProcessGBACrypto(u32 address)
|
||||||
{
|
{
|
||||||
@ -137,5 +135,4 @@ void GBAUCode::HandleMail(u32 mail)
|
|||||||
WARN_LOG(DSPHLE, "GBAUCode - unknown command: %08x", mail);
|
WARN_LOG(DSPHLE, "GBAUCode - unknown command: %08x", mail);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
|
|
||||||
@ -27,5 +25,4 @@ struct GBAUCode : public UCodeInterface
|
|||||||
void HandleMail(u32 mail) override;
|
void HandleMail(u32 mail) override;
|
||||||
void Update() override;
|
void Update() override;
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
#include "Core/HW/DSPHLE/MailHandler.h"
|
#include "Core/HW/DSPHLE/MailHandler.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
INITUCode::INITUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
INITUCode::INITUCode(DSPHLE* dsphle, u32 crc) : UCodeInterface(dsphle, crc)
|
||||||
{
|
{
|
||||||
@ -39,5 +37,4 @@ void INITUCode::Update()
|
|||||||
void INITUCode::HandleMail(u32 mail)
|
void INITUCode::HandleMail(u32 mail)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
|
|
||||||
@ -24,5 +22,4 @@ public:
|
|||||||
void Update() override;
|
void Update() override;
|
||||||
void Init();
|
void Init();
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -20,9 +20,7 @@
|
|||||||
#include "Core/HW/DSPHLE/MailHandler.h"
|
#include "Core/HW/DSPHLE/MailHandler.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
ROMUCode::ROMUCode(DSPHLE* dsphle, u32 crc)
|
ROMUCode::ROMUCode(DSPHLE* dsphle, u32 crc)
|
||||||
: UCodeInterface(dsphle, crc), m_current_ucode(), m_boot_task_num_steps(0), m_next_parameter(0)
|
: UCodeInterface(dsphle, crc), m_current_ucode(), m_boot_task_num_steps(0), m_next_parameter(0)
|
||||||
@ -130,5 +128,4 @@ void ROMUCode::DoState(PointerWrap& p)
|
|||||||
|
|
||||||
DoStateShared(p);
|
DoStateShared(p);
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
|
|
||||||
@ -41,5 +39,4 @@ private:
|
|||||||
|
|
||||||
void BootUCode();
|
void BootUCode();
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -29,9 +29,7 @@
|
|||||||
#include "Core/HW/DSPHLE/UCodes/Zelda.h"
|
#include "Core/HW/DSPHLE/UCodes/Zelda.h"
|
||||||
#include "Core/HW/Memmap.h"
|
#include "Core/HW/Memmap.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
constexpr bool ExramRead(u32 address)
|
constexpr bool ExramRead(u32 address)
|
||||||
{
|
{
|
||||||
@ -306,5 +304,4 @@ std::unique_ptr<UCodeInterface> UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii)
|
|||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
|
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class CMailHandler;
|
class CMailHandler;
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
@ -106,5 +104,4 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr<UCodeInterface> UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii);
|
std::unique_ptr<UCodeInterface> UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii);
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -18,9 +18,7 @@
|
|||||||
#include "Core/HW/DSPHLE/UCodes/GBA.h"
|
#include "Core/HW/DSPHLE/UCodes/GBA.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
// Uncomment this to have a strict version of the HLE implementation, which
|
// Uncomment this to have a strict version of the HLE implementation, which
|
||||||
// PanicAlerts on recoverable unknown behaviors instead of silently ignoring
|
// PanicAlerts on recoverable unknown behaviors instead of silently ignoring
|
||||||
@ -1854,5 +1852,4 @@ void ZeldaAudioRenderer::DoState(PointerWrap& p)
|
|||||||
p.Do(m_buf_front_left_reverb_last8);
|
p.Do(m_buf_front_left_reverb_last8);
|
||||||
p.Do(m_buf_front_right_reverb_last8);
|
p.Do(m_buf_front_right_reverb_last8);
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
#include "Core/HW/DSPHLE/UCodes/UCodes.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class DSPHLE;
|
class DSPHLE;
|
||||||
|
|
||||||
@ -286,5 +284,4 @@ private:
|
|||||||
// Main object handling audio rendering logic and state.
|
// Main object handling audio rendering logic and state.
|
||||||
ZeldaAudioRenderer m_renderer;
|
ZeldaAudioRenderer m_renderer;
|
||||||
};
|
};
|
||||||
} // namespace HLE
|
} // namespace DSP::HLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -13,9 +13,7 @@
|
|||||||
#include "Core/DSP/DSPMemoryMap.h"
|
#include "Core/DSP/DSPMemoryMap.h"
|
||||||
#include "Core/HW/DSPLLE/DSPSymbols.h"
|
#include "Core/HW/DSPLLE/DSPSymbols.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::LLE
|
||||||
{
|
|
||||||
namespace LLE
|
|
||||||
{
|
{
|
||||||
void DSPPatches::Patch(std::size_t index)
|
void DSPPatches::Patch(std::size_t index)
|
||||||
{
|
{
|
||||||
@ -312,5 +310,4 @@ void DSPDebugInterface::Clear()
|
|||||||
ClearPatches();
|
ClearPatches();
|
||||||
ClearWatches();
|
ClearWatches();
|
||||||
}
|
}
|
||||||
} // namespace LLE
|
} // namespace DSP::LLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/DebugInterface.h"
|
#include "Common/DebugInterface.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::LLE
|
||||||
{
|
|
||||||
namespace LLE
|
|
||||||
{
|
{
|
||||||
class DSPPatches : public Common::Debug::MemoryPatches
|
class DSPPatches : public Common::Debug::MemoryPatches
|
||||||
{
|
{
|
||||||
@ -79,5 +77,4 @@ private:
|
|||||||
Common::Debug::Watches m_watches;
|
Common::Debug::Watches m_watches;
|
||||||
DSPPatches m_patches;
|
DSPPatches m_patches;
|
||||||
};
|
};
|
||||||
} // namespace LLE
|
} // namespace DSP::LLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -24,9 +24,7 @@
|
|||||||
// core isn't used, for example in an asm/disasm tool, then most of these
|
// core isn't used, for example in an asm/disasm tool, then most of these
|
||||||
// can be stubbed out.
|
// can be stubbed out.
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Host
|
||||||
{
|
|
||||||
namespace Host
|
|
||||||
{
|
{
|
||||||
u8 ReadHostMemory(u32 addr)
|
u8 ReadHostMemory(u32 addr)
|
||||||
{
|
{
|
||||||
@ -84,5 +82,4 @@ void UpdateDebugger()
|
|||||||
{
|
{
|
||||||
Host_RefreshDSPDebuggerWindow();
|
Host_RefreshDSPDebuggerWindow();
|
||||||
}
|
}
|
||||||
} // namespace Host
|
} // namespace DSP::Host
|
||||||
} // namespace DSP
|
|
||||||
|
@ -30,9 +30,7 @@
|
|||||||
#include "Core/HW/Memmap.h"
|
#include "Core/HW/Memmap.h"
|
||||||
#include "Core/Host.h"
|
#include "Core/Host.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::LLE
|
||||||
{
|
|
||||||
namespace LLE
|
|
||||||
{
|
{
|
||||||
static Common::Event s_dsp_event;
|
static Common::Event s_dsp_event;
|
||||||
static Common::Event s_ppc_event;
|
static Common::Event s_ppc_event;
|
||||||
@ -340,5 +338,4 @@ void DSPLLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
|||||||
else
|
else
|
||||||
m_dsp_thread_mutex.unlock();
|
m_dsp_thread_mutex.unlock();
|
||||||
}
|
}
|
||||||
} // namespace LLE
|
} // namespace DSP::LLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -14,9 +14,7 @@
|
|||||||
|
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::LLE
|
||||||
{
|
|
||||||
namespace LLE
|
|
||||||
{
|
{
|
||||||
class DSPLLE : public DSPEmulator
|
class DSPLLE : public DSPEmulator
|
||||||
{
|
{
|
||||||
@ -49,5 +47,4 @@ private:
|
|||||||
Common::Flag m_is_running;
|
Common::Flag m_is_running;
|
||||||
std::atomic<u32> m_cycle_count{};
|
std::atomic<u32> m_cycle_count{};
|
||||||
};
|
};
|
||||||
} // namespace LLE
|
} // namespace DSP::LLE
|
||||||
} // namespace DSP
|
|
||||||
|
@ -14,9 +14,7 @@
|
|||||||
#include "Core/DSP/DSPCore.h"
|
#include "Core/DSP/DSPCore.h"
|
||||||
#include "Core/DSP/DSPDisassembler.h"
|
#include "Core/DSP/DSPDisassembler.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Symbols
|
||||||
{
|
|
||||||
namespace Symbols
|
|
||||||
{
|
{
|
||||||
DSPSymbolDB g_dsp_symbol_db;
|
DSPSymbolDB g_dsp_symbol_db;
|
||||||
|
|
||||||
@ -106,6 +104,4 @@ void Clear()
|
|||||||
lines.clear();
|
lines.clear();
|
||||||
line_counter = 0;
|
line_counter = 0;
|
||||||
}
|
}
|
||||||
|
} // namespace DSP::Symbols
|
||||||
} // namespace Symbols
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -9,9 +9,7 @@
|
|||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/SymbolDB.h"
|
#include "Common/SymbolDB.h"
|
||||||
|
|
||||||
namespace DSP
|
namespace DSP::Symbols
|
||||||
{
|
|
||||||
namespace Symbols
|
|
||||||
{
|
{
|
||||||
class DSPSymbolDB : public Common::SymbolDB
|
class DSPSymbolDB : public Common::SymbolDB
|
||||||
{
|
{
|
||||||
@ -31,6 +29,4 @@ int Addr2Line(u16 address);
|
|||||||
int Line2Addr(int line); // -1 for not found
|
int Line2Addr(int line); // -1 for not found
|
||||||
|
|
||||||
const char* GetLineText(int line);
|
const char* GetLineText(int line);
|
||||||
|
} // namespace DSP::Symbols
|
||||||
} // namespace Symbols
|
|
||||||
} // namespace DSP
|
|
||||||
|
@ -15,23 +15,23 @@ namespace DiscIO
|
|||||||
{
|
{
|
||||||
struct Partition;
|
struct Partition;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace DVDInterface
|
namespace DVDInterface
|
||||||
{
|
{
|
||||||
enum class ReplyType : u32;
|
enum class ReplyType : u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace DiscIO
|
namespace DiscIO
|
||||||
{
|
{
|
||||||
enum class Platform;
|
enum class Platform;
|
||||||
class Volume;
|
class Volume;
|
||||||
} // namespace DiscIO
|
} // namespace DiscIO
|
||||||
namespace IOS
|
|
||||||
{
|
namespace IOS::ES
|
||||||
namespace ES
|
|
||||||
{
|
{
|
||||||
class TMDReader;
|
class TMDReader;
|
||||||
class TicketReader;
|
class TicketReader;
|
||||||
} // namespace ES
|
} // namespace IOS::ES
|
||||||
} // namespace IOS
|
|
||||||
|
|
||||||
namespace DVDThread
|
namespace DVDThread
|
||||||
{
|
{
|
||||||
|
@ -11,17 +11,14 @@
|
|||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
namespace IOS
|
namespace IOS::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
namespace FS
|
namespace FS
|
||||||
{
|
{
|
||||||
class FileSystem;
|
class FileSystem;
|
||||||
}
|
}
|
||||||
class IOSC;
|
class IOSC;
|
||||||
} // namespace HLE
|
} // namespace IOS::HLE
|
||||||
} // namespace IOS
|
|
||||||
|
|
||||||
namespace WiiSave
|
namespace WiiSave
|
||||||
{
|
{
|
||||||
|
@ -15,11 +15,7 @@
|
|||||||
#include "Core/HW/SystemTimers.h"
|
#include "Core/HW/SystemTimers.h"
|
||||||
#include "Core/IOS/FS/FileSystem.h"
|
#include "Core/IOS/FS/FileSystem.h"
|
||||||
|
|
||||||
namespace IOS
|
namespace IOS::HLE::Device
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
|
||||||
namespace Device
|
|
||||||
{
|
{
|
||||||
using namespace IOS::HLE::FS;
|
using namespace IOS::HLE::FS;
|
||||||
|
|
||||||
@ -587,6 +583,4 @@ IPCCommandResult FS::Shutdown(const Handle& handle, const IOCtlRequest& request)
|
|||||||
INFO_LOG(IOS_FS, "Shutdown");
|
INFO_LOG(IOS_FS, "Shutdown");
|
||||||
return GetFSReply(IPC_SUCCESS);
|
return GetFSReply(IPC_SUCCESS);
|
||||||
}
|
}
|
||||||
} // namespace Device
|
} // namespace IOS::HLE::Device
|
||||||
} // namespace HLE
|
|
||||||
} // namespace IOS
|
|
||||||
|
@ -15,11 +15,7 @@
|
|||||||
|
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
namespace IOS
|
namespace IOS::HLE::Device
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
|
||||||
namespace Device
|
|
||||||
{
|
{
|
||||||
constexpr IOS::HLE::FS::Fd INVALID_FD = 0xffffffff;
|
constexpr IOS::HLE::FS::Fd INVALID_FD = 0xffffffff;
|
||||||
|
|
||||||
@ -90,6 +86,4 @@ private:
|
|||||||
u16 m_cache_chain_index = 0;
|
u16 m_cache_chain_index = 0;
|
||||||
bool m_dirty_cache = false;
|
bool m_dirty_cache = false;
|
||||||
};
|
};
|
||||||
} // namespace Device
|
} // namespace IOS::HLE::Device
|
||||||
} // namespace HLE
|
|
||||||
} // namespace IOS
|
|
||||||
|
@ -57,9 +57,7 @@
|
|||||||
#include "Core/PowerPC/PowerPC.h"
|
#include "Core/PowerPC/PowerPC.h"
|
||||||
#include "Core/WiiRoot.h"
|
#include "Core/WiiRoot.h"
|
||||||
|
|
||||||
namespace IOS
|
namespace IOS::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
static std::unique_ptr<EmulationKernel> s_ios;
|
static std::unique_ptr<EmulationKernel> s_ios;
|
||||||
|
|
||||||
@ -801,5 +799,4 @@ EmulationKernel* GetIOS()
|
|||||||
{
|
{
|
||||||
return s_ios.get();
|
return s_ios.get();
|
||||||
}
|
}
|
||||||
} // namespace HLE
|
} // namespace IOS::HLE
|
||||||
} // namespace IOS
|
|
||||||
|
@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
namespace IOS
|
namespace IOS::HLE
|
||||||
{
|
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
namespace FS
|
namespace FS
|
||||||
{
|
{
|
||||||
@ -146,5 +144,4 @@ void Init();
|
|||||||
void Shutdown();
|
void Shutdown();
|
||||||
EmulationKernel* GetIOS();
|
EmulationKernel* GetIOS();
|
||||||
|
|
||||||
} // namespace HLE
|
} // namespace IOS::HLE
|
||||||
} // namespace IOS
|
|
||||||
|
@ -17,13 +17,11 @@ namespace DiscIO
|
|||||||
{
|
{
|
||||||
class WiiWAD;
|
class WiiWAD;
|
||||||
}
|
}
|
||||||
namespace IOS
|
|
||||||
{
|
namespace IOS::HLE
|
||||||
namespace HLE
|
|
||||||
{
|
{
|
||||||
class Kernel;
|
class Kernel;
|
||||||
}
|
}
|
||||||
} // namespace IOS
|
|
||||||
|
|
||||||
namespace WiiUtils
|
namespace WiiUtils
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user