@drog1998 There might have been a misunderstanding about my suggestions, they were to either :
use a recent version of retroarch with the "Core provided" aspect ratio (aspect_ratio_index = 22) which is the default and recommended value
if you are stuck with an older version of retroarch, use mame's TATE mode if it's available in mame2010 (instead of manually rotating through Setting > Video > Output > Video Rotation)
if you are stuck with an older version of retroarch and TATE mode is not available, set the aspect ratio manually to 3:4 (alongside the manual rotation from Setting > Video > Output > Video Rotation)
If setting the aspect ratio manually to 640:480 (which is equal to 4:3) ends up with retroarch displaying it as 3:4, then you are using a recent version of retroarch (older retroarch wouldn't rotate it to 3:4 automatically, which is the bug i mentioned).
In that case, my recommendation is to let the core decide the correct aspect ratio by using "Core provided". The problem with enforcing an aspect ratio as you are doing is that some games are not meant to be played with a 4:3 (rotated to 3:4 or not) aspect ratio.