Remove unused variable in gbagame addon and sort

initialization order in firmware class to shut up
gcc warnings.
This commit is contained in:
riccardom 2009-12-28 13:48:40 +00:00
parent bc53cc5a22
commit c1b4ad4ea2
2 changed files with 1 additions and 2 deletions

View File

@ -216,7 +216,6 @@ static u8 gbaReadFlash(u32 adr)
static u8 getSaveTypeGBA(const u8 *data, const u32 size)
{
u8 type = 0;
u8 *dat = (u8 *)data;
for (u32 i = 0; i < (size / 4); i++)

View File

@ -44,7 +44,7 @@ private:
u32 decompress(const u8 *in, u8* &out);
public:
CFIRMWARE(): ARM9bootAddr(0), ARM7bootAddr(0), size9(0), size7(0), patched(0) {};
CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0) {};
bool load();