10-15-2015, 04:47 PM
@Henrik what do you think about changing this small exception list, into something less automatic, like:
which would allow to fulfill all similar requests we had/repeatably having like:
- customizable small screen,
- square pixels even at the cost of black bars ~ recently requested here,
- original frame ratio sacrificing 2 rows of pixels for 99.9% of the people out there,
- keep the remaining 0.1% happy,
- and whatever else people requested that fits here.
If that solution is acceptable I could finish this concept later and open a pull request, just have no ideas how to name it to avoid confusion since it would allow to zoom however the user wants, not just small display or some ninja cropping.
Code:
int zoom = g_Config.iSmallDisplayZoom;
float offsetX = g_Config.fSmallDisplayOffsetX * frameW;
float offsetY = g_Config.fSmallDisplayOffsetY * frameH;
float customZoom = g_Config.fSmallDisplayCustomZoom;
if (!rotated) {
*x = ((frameW - origW * zoom * customZoom) / 2) + offsetX;
*y = ((frameH - origH * zoom * customZoom) / 2) + offsetY;
*w = origW * zoom * customZoom;
*h = origH * zoom * customZoom;
return;
} else {
*x = ((frameW - origH * zoom * customZoom) / 2) + offsetX;
*y = ((frameH - origW * zoom * customZoom) / 2) + offsetY;
*w = origH * zoom * customZoom;
*h = origW * zoom * customZoom;
return;
}- customizable small screen,
- square pixels even at the cost of black bars ~ recently requested here,
- original frame ratio sacrificing 2 rows of pixels for 99.9% of the people out there,
- keep the remaining 0.1% happy,
- and whatever else people requested that fits here.
If that solution is acceptable I could finish this concept later and open a pull request, just have no ideas how to name it to avoid confusion since it would allow to zoom however the user wants, not just small display or some ninja cropping.
http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.

