2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

Windows fixes

This commit is contained in:
Jack Andersen
2016-12-10 15:54:08 -10:00
parent 0dc6729144
commit 3a24b35df7
17 changed files with 34 additions and 30 deletions

View File

@@ -41,7 +41,7 @@ const u8* CFBStreamedCompression::GetBitstreamPointer() const
if (m_pc)
{
for (int b=0 ; b<boneChanCount ; ++b)
for (unsigned b=0 ; b<boneChanCount ; ++b)
{
chans += 20;
@@ -53,7 +53,7 @@ const u8* CFBStreamedCompression::GetBitstreamPointer() const
}
else
{
for (int b=0 ; b<boneChanCount ; ++b)
for (unsigned b=0 ; b<boneChanCount ; ++b)
{
chans += 15;
@@ -102,7 +102,7 @@ u8* CFBStreamedCompression::ReadBoneChannelDescriptors(u8* out, CInputStream& in
if (m_pc)
{
for (int b=0 ; b<boneChanCount ; ++b)
for (unsigned b=0 ; b<boneChanCount ; ++b)
{
*reinterpret_cast<u32*>(out) = in.readUint32Big();
out += 4;
@@ -132,7 +132,7 @@ u8* CFBStreamedCompression::ReadBoneChannelDescriptors(u8* out, CInputStream& in
}
else
{
for (int b=0 ; b<boneChanCount ; ++b)
for (unsigned b=0 ; b<boneChanCount ; ++b)
{
*reinterpret_cast<u32*>(out) = in.readUint32Big();
out += 4;