disable pal filter and region messages for sdl
This commit is contained in:
parent
dbae9cddb2
commit
8f99ba3b5a
|
@ -969,7 +969,7 @@ void openVideoConfig()
|
||||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "prescale2x");
|
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "prescale2x");
|
||||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "prescale3x");
|
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "prescale3x");
|
||||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "prescale4x");
|
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "prescale4x");
|
||||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "pal");
|
//gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(scalerCombo), "pal");
|
||||||
|
|
||||||
// sync with cfg
|
// sync with cfg
|
||||||
int buf;
|
int buf;
|
||||||
|
|
|
@ -964,29 +964,35 @@ int FCEUI_GetCurrentVidSystem(int *slstart, int *slend) {
|
||||||
return(PAL);
|
return(PAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: make use on SDL
|
|
||||||
void FCEUI_SetRegion(int region) {
|
void FCEUI_SetRegion(int region) {
|
||||||
switch (region) {
|
switch (region) {
|
||||||
case 0: // NTSC
|
case 0: // NTSC
|
||||||
normalscanlines = 240;
|
normalscanlines = 240;
|
||||||
pal_emulation = 0;
|
pal_emulation = 0;
|
||||||
dendy = 0;
|
dendy = 0;
|
||||||
|
// until it's fixed on sdl. see issue #740
|
||||||
|
#ifdef WIN32
|
||||||
FCEU_DispMessage("NTSC mode set", 0);
|
FCEU_DispMessage("NTSC mode set", 0);
|
||||||
FCEUI_printf("NTSC mode set");
|
FCEUI_printf("NTSC mode set");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case 1: // PAL
|
case 1: // PAL
|
||||||
normalscanlines = 240;
|
normalscanlines = 240;
|
||||||
pal_emulation = 1;
|
pal_emulation = 1;
|
||||||
dendy = 0;
|
dendy = 0;
|
||||||
|
#ifdef WIN32
|
||||||
FCEU_DispMessage("PAL mode set", 0);
|
FCEU_DispMessage("PAL mode set", 0);
|
||||||
FCEUI_printf("PAL mode set");
|
FCEUI_printf("PAL mode set");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case 2: // Dendy
|
case 2: // Dendy
|
||||||
normalscanlines = 290;
|
normalscanlines = 290;
|
||||||
pal_emulation = 0;
|
pal_emulation = 0;
|
||||||
dendy = 1;
|
dendy = 1;
|
||||||
|
#ifdef WIN32
|
||||||
FCEU_DispMessage("Dendy mode set", 0);
|
FCEU_DispMessage("Dendy mode set", 0);
|
||||||
FCEUI_printf("Dendy mode set");
|
FCEUI_printf("Dendy mode set");
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
normalscanlines += newppu;
|
normalscanlines += newppu;
|
||||||
|
|
Loading…
Reference in New Issue