Bug in 5.1.x al_set_standard_file_interface
I think this is a bug...
the physfs version calls:
Which leadds to setting the actual interface:
But, setting the standard one only sets new interface:
For whatever reason, when I trace everything, the fs_interface is never set when calling al_set_standard_fs_interface.
I consider this a bug in the PhysFS addon.
Thread #613596. Printed from Allegro.cc
I'm not sure how it is all supposed to function but, the function to get the current filesystem interface resurns fs_interface and not new_fs_interface. I'm not quite sure what new_fs_interface is used for. I noticed that when setting the physfs one, it sets both new_fs_interface and fs_interface variables of the tls object while calling set standard file interface only sets new_fs_interface. That is what lead me to believe standard file interface was incorrect, but it could be PhysFS that should only be setting the new interface variable.