Apply code formatting changes.

This commit is contained in:
Jean-Philip Desjardins 2023-08-18 11:39:36 -04:00
parent a73b97f0be
commit 310efb0a97
8 changed files with 27 additions and 20 deletions

View file

@ -5,7 +5,8 @@
struct INTEGER64
{
union {
union
{
uint64 q;
struct
{

View file

@ -28,7 +28,8 @@ typedef float fp_t;
static rep_t toRep(fp_t x)
{
union {
union
{
fp_t f;
rep_t i;
} rep;
@ -38,7 +39,8 @@ static rep_t toRep(fp_t x)
static fp_t fromRep(rep_t x)
{
union {
union
{
fp_t f;
rep_t i;
} rep;

View file

@ -571,7 +571,7 @@ inline void convertColumn4(uint8* dest, const int destStride, uint8* src, int co
// If we have a platform that does not have SIMD then implement the basic case here.
void convertColumn8(uint8* dest, const int destStride, uint8* src, int colNum)
{
}
*/
#endif

View file

@ -66,7 +66,8 @@ namespace Iop
struct CHANNEL_VOLUME : public convertible<uint16>
{
union {
union
{
struct
{
unsigned int unused0 : 15;

View file

@ -19,10 +19,12 @@ CVu1Vm::CVu1Vm()
m_vu1.m_executor = std::make_unique<CVuExecutor>(m_vu1, PS2::MICROMEM1SIZE);
m_vu1.m_pMemoryMap->InsertReadMap(0x00000000, 0x00003FFF, m_vuMem1, 0x00);
m_vu1.m_pMemoryMap->InsertReadMap(0x00008000, 0x00008FFF, [&](uint32 address, uint32 value) { return Vu1IoPortReadHandler(address); }, 0x01);
m_vu1.m_pMemoryMap->InsertReadMap(
0x00008000, 0x00008FFF, [&](uint32 address, uint32 value) { return Vu1IoPortReadHandler(address); }, 0x01);
m_vu1.m_pMemoryMap->InsertWriteMap(0x00000000, 0x00003FFF, m_vuMem1, 0x00);
m_vu1.m_pMemoryMap->InsertWriteMap(0x00008000, 0x00008FFF, [&](uint32 address, uint32 value) { return Vu1IoPortWriteHandler(address, value); }, 0x01);
m_vu1.m_pMemoryMap->InsertWriteMap(
0x00008000, 0x00008FFF, [&](uint32 address, uint32 value) { return Vu1IoPortWriteHandler(address, value); }, 0x01);
m_vu1.m_pMemoryMap->InsertInstructionMap(0x00000000, 0x00003FFF, m_microMem1, 0x01);

View file

@ -6,7 +6,8 @@
struct uint128
{
union {
union
{
struct
{
uint32 nV[4];

View file

@ -160,15 +160,15 @@ void CVideoDecoder::DecoderThreadProc(std::string path)
/*
if(!g_soundStream.IsEOF())
{
switch(g_soundStreamInfo.subStreamNumber)
{
case 0xFF:
XaSoundStreamProcessor();
break;
//case 0x80:
// Ac3SoundStreamProcessor();
// break;
}
switch(g_soundStreamInfo.subStreamNumber)
{
case 0xFF:
XaSoundStreamProcessor();
break;
//case 0x80:
// Ac3SoundStreamProcessor();
// break;
}
}
*/
CVideoContainer::STATUS status = container->Read();

View file

@ -64,15 +64,15 @@ void CMainWindow::OnFileOpen()
std::wstring fileExtension = filePath.extension().wstring();
if(!wcsicmp(fileExtension.c_str(), PLAYLIST_EXTENSION))
{
LoadPlaylist(filePath);
LoadPlaylist(filePath);
}
else if(!wcsicmp(fileExtension.c_str(), L".rar") || !wcsicmp(fileExtension.c_str(), L".zip"))
{
LoadArchive(filePath);
LoadArchive(filePath);
}
else
{
LoadSingleFile(filePath);
LoadSingleFile(filePath);
}
*/
}