Skip to content

Commit

Permalink
Add Sharp GX 1x Series screen resolution
Browse files Browse the repository at this point in the history
120x160. Not seen very often, but used by some jars nonetheless.
  • Loading branch information
AShiningRay committed Nov 25, 2024
1 parent 016a913 commit a0b2946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/libretro/freej2me_libretro.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ struct retro_core_option_v2_definition core_options[] =
{ "101x80", NULL },
{ "128x128", NULL },
{ "130x130", NULL },
{ "120x160", NULL },
{ "128x160", NULL },
{ "132x176", NULL },
{ "176x208", NULL },
Expand Down Expand Up @@ -404,6 +405,7 @@ struct retro_core_option_definition core_options_v1 [] =
{ "101x80", NULL },
{ "128x128", NULL },
{ "130x130", NULL },
{ "120x160", NULL },
{ "128x160", NULL },
{ "132x176", NULL },
{ "176x208", NULL },
Expand Down Expand Up @@ -641,7 +643,7 @@ static const struct retro_variable vars[] =
{
{ /* Screen Resolution */
"freej2me_resolution",
"Phone Resolution (Core Restart may be required); 240x320|96x65|101x64|101x80|128x128|130x130|128x160|132x176|176x208|176x220|220x176|208x208|180x320|320x180|208x320|320x240|240x400|400x240|240x432|240x480|352x416|360x640|640x360|640x480|480x800|800x480"
"Phone Resolution (Core Restart may be required); 240x320|96x65|101x64|101x80|128x128|130x130|120x160|128x160|132x176|176x208|176x220|220x176|208x208|180x320|320x180|208x320|320x240|240x400|400x240|240x432|240x480|352x416|360x640|640x360|640x480|480x800|800x480"
},
{ /* Screen Rotation */
"freej2me_rotate",
Expand Down
2 changes: 1 addition & 1 deletion src/org/recompile/freej2me/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class Config
private String configPath = "";
private String configFile = "";

public final String[] supportedResolutions = {"96x65","101x64","101x80","128x128","130x130","128x160","132x176","176x208","176x220","220x176","208x208","180x320","320x180","208x320","240x320","320x240","240x400","400x240","240x432","240x480","352x416","360x640","640x360","640x480","480x800","800x480"};
public final String[] supportedResolutions = {"96x65","101x64","101x80","128x128","130x130","120x160","128x160","132x176","176x208","176x220","220x176","208x208","180x320","320x180","208x320","240x320","320x240","240x400","400x240","240x432","240x480","352x416","360x640","640x360","640x480","480x800","800x480"};

public Runnable onChange;

Expand Down

0 comments on commit a0b2946

Please sign in to comment.