I overread the fact that there is a psx-place forum dedicated to OPL in the Github Readme. Think it's better to ask questions here.
So I'll just copy the one I asked on Github 1:1 and close the question there:
I am wondering if one of the devs could answer a specific question about file access behavior.
Many PS2 games are optimized for disc sector (2048 byte) accesses. I am asking myself what happens under the hood when a game requests a sector aligned fread of less than a DVD sector size, say 1024 bytes.
Does OPL in that case intercept some kind of a DVD read command and read a full DVD sector of 2048 bytes (four HDD 512 byte sectors) or does it read two HDD sectors of 512 bytes?
Thanks in advance.
So I'll just copy the one I asked on Github 1:1 and close the question there:
I am wondering if one of the devs could answer a specific question about file access behavior.
Many PS2 games are optimized for disc sector (2048 byte) accesses. I am asking myself what happens under the hood when a game requests a sector aligned fread of less than a DVD sector size, say 1024 bytes.
Does OPL in that case intercept some kind of a DVD read command and read a full DVD sector of 2048 bytes (four HDD 512 byte sectors) or does it read two HDD sectors of 512 bytes?
Thanks in advance.