Pass offset onto patch function.

This commit is contained in:
BearOso 2023-03-05 19:23:42 -06:00
parent 790962f2bb
commit 925c8ff2ea
1 changed files with 1 additions and 1 deletions

View File

@ -3887,7 +3887,7 @@ void CMemory::CheckForAnyPatch(const char *rom_filename, bool8 header, int32 &ro
printf("Using %s patch %s", type, filename.c_str());
Stream *s = new fStream(patch_file);
ret = read_patch_func(s, 0, rom_size);
ret = read_patch_func(s, offset, rom_size);
s->closeStream();
if (ret)