Fix menu renderer to use the 854x480 framebuffer space

RCO menu objects are authored in the PSP movie player's 854x480 FWVGA
framebuffer, not the 480x272 LCD. The renderer was laying everything out in
the wrong coordinate space, which is why no menu items were visible.
This commit is contained in:
2026-09-16 00:17:58 -04:00
parent 9a1e048264
commit 4d66cc73db
2 changed files with 10 additions and 10 deletions
@@ -475,7 +475,7 @@ public final class Main {
};
String resourceName = rcoPath.substring(rcoPath.lastIndexOf('/') + 1).replace(".RCO", "");
VsmxNativeObject globals = GlobalVariables.create(interpreter, 854, 480);
VsmxNativeObject globals = GlobalVariables.create(interpreter, 480, 272);
VsmxNativeObject controller = Controller.create(interpreter, menuHost, resourceName);
VsmxNativeObject movieplayer = MoviePlayer.create(interpreter, menuHost, controller);
VsmxNativeObject resource = Resource.create(interpreter, null, controller, rco);