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)
|
static u8 getSaveTypeGBA(const u8 *data, const u32 size)
|
||||||
{
|
{
|
||||||
u8 type = 0;
|
|
||||||
u8 *dat = (u8 *)data;
|
u8 *dat = (u8 *)data;
|
||||||
|
|
||||||
for (u32 i = 0; i < (size / 4); i++)
|
for (u32 i = 0; i < (size / 4); i++)
|
||||||
|
|
|
@ -44,7 +44,7 @@ private:
|
||||||
u32 decompress(const u8 *in, u8* &out);
|
u32 decompress(const u8 *in, u8* &out);
|
||||||
|
|
||||||
public:
|
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();
|
bool load();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue