2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Various fixes and tweaks, Implement CExplosion, Add cheats

This commit is contained in:
2018-04-26 14:12:20 -07:00
parent ae48196c3f
commit 6d60ccfd04
26 changed files with 297 additions and 75 deletions

View File

@@ -18,9 +18,9 @@ struct CBitStreamReader : athena::io::MemoryReader
u32 x1c_val = 0;
u32 x20_bitOffset = 0;
public:
static s32 GetBitCount(s32 maxVal)
static u32 GetBitCount(u32 maxVal)
{
s32 ret = 0;
u32 ret = 0;
while (maxVal != 0)
{
maxVal /= 2;