hey, i’m writing a program and i need to know how to make it recognize if the snes rom is headerd or not.
Well maybe a sample code will help.
How to recognize if SNES ROM image headerd or not
-
- Posts: 16
- Joined: Fri Aug 21, 2020 10:55 am
Re: How to recognize if SNES ROM image headerd or not
1- Check if the file size is a multiple of 32768 bytes (not headered), or if it's 512 bytes more than that (headered).
2- Check for valid internal headers at offsets 0x7FB0, and/or plus +0x200, and/or plus +0x8000, and/or plus +0x400000.
2- Check for valid internal headers at offsets 0x7FB0, and/or plus +0x200, and/or plus +0x8000, and/or plus +0x400000.