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

Windows fixes

This commit is contained in:
Jack Andersen
2015-10-11 18:41:28 -10:00
parent 364f03d7e5
commit faa262b73c
10 changed files with 24 additions and 14 deletions

View File

@@ -3,7 +3,9 @@
#include "DeafBabe.hpp"
#include "../DNACommon/BabeDead.hpp"
#define _USE_MATH_DEFINES
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES 1
#endif
#include <math.h>
namespace Retro
@@ -92,7 +94,7 @@ bool MREA::Extract(const SpecBase& dataSpec,
/* Read meshes */
atUint32 curSec = 1;
for (int m=0 ; m<head.meshCount ; ++m)
for (atUint32 m=0 ; m<head.meshCount ; ++m)
{
MeshHeader mHeader;
secStart = rs.position();