Skip to content

Commit 602e9a6

Browse files
committed
Remove incorrect merge change.
1 parent 1524691 commit 602e9a6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/menu/menu.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333

3434

3535
static menu_t *menu;
36-
static tv_type_t tv_type;
3736

38-
extern tv_type_t __boot_tvtype;
3937

4038
static void menu_init (boot_params_t *boot_params) {
4139
menu = calloc(1, sizeof(menu_t));
@@ -84,14 +82,8 @@ static void menu_init (boot_params_t *boot_params) {
8482
.width = 640,
8583
.height = 480,
8684
.interlaced = INTERLACED ? INTERLACE_HALF : INTERLACE_OFF,
85+
.pal60 = menu->settings.pal60_enabled
8786
};
88-
89-
tv_type = get_tv_type();
90-
if (tv_type == TV_PAL && menu->settings.pal60_enabled) {
91-
// HACK: Set TV type to NTSC, so PAL console would output 60 Hz signal instead.
92-
__boot_tvtype = TV_NTSC;
93-
}
94-
9587
display_init(resolution, DEPTH_16_BPP, 2, GAMMA_NONE, INTERLACED ? FILTERS_DISABLED : FILTERS_RESAMPLE);
9688
display_set_fps_limit(FPS_LIMIT);
9789

@@ -117,7 +109,6 @@ static void menu_init (boot_params_t *boot_params) {
117109
}
118110

119111
static void menu_deinit (menu_t *menu) {
120-
__boot_tvtype = tv_type;
121112
hdmi_send_game_id(menu->boot_params);
122113

123114
ui_components_background_free();

0 commit comments

Comments
 (0)