there were 3 hidden stars in the game you could only find by doing weird stuff but i can't remember if that does it...
*plays the game again*
it looks like only the yellow star needs to be found for that.
you can also add this to galleryunlock.ini
[ending]
unlocked=1
[gallery]
unlocked=1