mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-17 11:57:08 +01:00
overran array
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@628 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
2a77a45224
commit
1c167c4a34
@ -314,7 +314,7 @@ static int find_key(STREAMFILE *file, uint16_t *xor_start, uint16_t *xor_mult, u
|
||||
}
|
||||
|
||||
/* guess each of the keys */
|
||||
for (key_id=0;key_id<=key_count;key_id++) {
|
||||
for (key_id=0;key_id<key_count;key_id++) {
|
||||
/* test pre-scales */
|
||||
uint16_t xor = keys[key_id].start;
|
||||
uint16_t mult = keys[key_id].mult;
|
||||
|
Loading…
Reference in New Issue
Block a user