mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-03 21:45:32 +02:00
Null PhysFS handle after closing
This commit is contained in:
parent
0253b6ed2b
commit
4a945f8d6c
1 changed files with 2 additions and 0 deletions
|
@ -706,6 +706,8 @@ static int SDL_RWopsClose(SDL_RWops *ops)
|
||||||
|
|
||||||
int result = PHYSFS_close(f);
|
int result = PHYSFS_close(f);
|
||||||
|
|
||||||
|
f = 0;
|
||||||
|
|
||||||
return (result != 0) ? 0 : -1;
|
return (result != 0) ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue