Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(memcmp(&buffer_2[0], &non_byteswap, 4) == 0){
- // non-byteswapped rom
- game_byteswap = 0;
- } else if(memcmp(&buffer_2[0], &byteswap, 4) == 0){
- // byteswapped rom
- game_byteswap = 1;
- } else {
- // not a rom!
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement