one less ifdef

This commit is contained in:
Gwenhael Le Moine 2023-09-07 16:07:18 +02:00
parent 48cc5e941c
commit 58a77bde4b
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1883,15 +1883,6 @@ void adjust_contrast( int contrast ) {
}
}
}
#elif defined( GUI_IS_SDL1 )
void adjust_contrast( int contrast ) {
SDLCreateColors();
SDLCreateAnnunc();
redraw_display();
}
#endif
#if defined( GUI_IS_X11 )
void exit_x48( int tell_x11 ) {
exit_emulator();
@ -4927,6 +4918,12 @@ int get_ui_event( void ) {
#elif defined( GUI_IS_SDL1 )
void adjust_contrast( int contrast ) {
SDLCreateColors();
SDLCreateAnnunc();
redraw_display();
}
void exit_x48( int tell_x11 ) {
exit_emulator();