one less ifdef
This commit is contained in:
parent
48cc5e941c
commit
58a77bde4b
1 changed files with 6 additions and 9 deletions
15
src/x48.c
15
src/x48.c
|
@ -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 ) {
|
void exit_x48( int tell_x11 ) {
|
||||||
exit_emulator();
|
exit_emulator();
|
||||||
|
@ -4927,6 +4918,12 @@ int get_ui_event( void ) {
|
||||||
|
|
||||||
#elif defined( GUI_IS_SDL1 )
|
#elif defined( GUI_IS_SDL1 )
|
||||||
|
|
||||||
|
void adjust_contrast( int contrast ) {
|
||||||
|
SDLCreateColors();
|
||||||
|
SDLCreateAnnunc();
|
||||||
|
redraw_display();
|
||||||
|
}
|
||||||
|
|
||||||
void exit_x48( int tell_x11 ) {
|
void exit_x48( int tell_x11 ) {
|
||||||
exit_emulator();
|
exit_emulator();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue