gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > Ways to trimFF at the end of Gba ROMs...

#4810 - ragefan - Thu Apr 10, 2003 2:43 pm

Hello,

In some commercial roms, there i have seen that there is space that is filled with FF to make the size of the rom be a multiple of 4mb ...

A way to reduce the size is to remove those FF.

How to know the exact size of a rom without those fill blocks ? Is there somewhere in the rom where it is put the size of it ? Is a Gba rom always finishing the same blocks ?

Thx