Remove unused variable in gbagame addon and sort
initialization order in firmware class to shut up gcc warnings.
This commit is contained in:
parent
bc53cc5a22
commit
c1b4ad4ea2
|
@ -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++)
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue