02-04-2018, 11:42 PM
(02-04-2018, 11:41 PM)JosJuice Wrote: [ -> ]I think the error with Auto (Window Size) and possibly also the mipmap distance fluctuations are caused by a problem on this line:
https://github.com/Tinob/Ishiiruka/blob/404a07ffd9340546252f4d44d363745b457d69dc/Source/Core/VideoCommon/VertexManagerBase.cpp#L200
iEFBScale isn't actually equal to the EFB scale, it's an arbitrary enum. For instance, it's set to 6 when using 3x IR, and it's set to 0 when using Auto (Window Size). This problem was solved in Dolphin by adding a function in RenderBase that VertexManagerBase can use for getting the current EFB scale:
https://github.com/dolphin-emu/dolphin/commit/a310cbec8e7dfa18b22d53dc45a47757a97c827d
But I suppose this function is a bit less straightforward to add in Ishiiruka, since Ishiiruka still supports having different scales horizontally and vertically.
your are completly rigth, forget that 0 was a valid value

![[Image: VL3aQYo.jpg]](https://i.imgur.com/VL3aQYo.jpg)