1
0
Fork 0
forked from Miroirs/x49gp

gdk_beep and gdk_flush are deprecated

This commit is contained in:
Gwenhael Le Moine 2024-11-06 13:42:20 +01:00
parent 453fa5e09a
commit f201e44082
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -135,7 +135,7 @@ uint32_t do_arm_semihosting( CPUState* env )
printf( "%s: BEEP: frequency %u, time %u, override %u\n", __FUNCTION__, env->regs[ 1 ], env->regs[ 2 ],
env->regs[ 3 ] );
gdk_beep();
gdk_display_beep( gdk_display_get_default() );
env->regs[ 0 ] = 0;
return 1;
@ -205,7 +205,7 @@ void x49gp_lcd_timer( void* data )
int64_t now, expires;
gui_update_lcd( x49gp );
gdk_flush();
gdk_display_flush( gdk_display_get_default() );
now = x49gp_get_clock();
expires = now + X49GP_LCD_REFRESH_INTERVAL;