De-header SNES games with headers submultiple of 512 bytes correctly
This commit is contained in:
parent
4c6338888d
commit
b5f3e543d8
1 changed files with 1 additions and 2 deletions
|
@ -26,8 +26,7 @@ namespace
|
|||
uint64_t calculate_headersize(uint64_t f, uint64_t h)
|
||||
{
|
||||
if(!h) return 0;
|
||||
if(f % (2 * h) == h) return h;
|
||||
return 0;
|
||||
return f % (2 * h);
|
||||
}
|
||||
|
||||
void* thread_trampoline(hash* h)
|
||||
|
|
Loading…
Add table
Reference in a new issue