diff --git a/src/cpu.c b/src/cpu.c index 63ca70e..f4942cf 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -270,7 +270,7 @@ static void ExecBUSCB( void ) static void ExecBUSCC( void ) { debug1( DEBUG_C_TRACE, CPU_I_CALLED, "ExecBUSCC" ); -// 49g bugs here + // 49g bugs here ChfCondition CPU_F_INTERR, CHF_WARNING, "BUSCC" ChfEnd; ChfSignal(); } diff --git a/src/ui4x/sdl2.c b/src/ui4x/sdl2.c index 031a74d..ec171fc 100644 --- a/src/ui4x/sdl2.c +++ b/src/ui4x/sdl2.c @@ -619,7 +619,7 @@ static SDL_Texture* create_button_texture( int hpkey, bool is_up ) __draw_pixel( 1, BUTTONS[ hpkey ].h - 2, FRAME ); // bottom-right __draw_pixel( BUTTONS[ hpkey ].w - 2, BUTTONS[ hpkey ].h - 2, FRAME ); - if ( hpkey == HP48_KEY_ON ) { + if ( ( config.model == MODEL_49G && hpkey == HP49_KEY_ON) || hpkey == HP48_KEY_ON ) { // top __draw_line( 2, 1, BUTTONS[ hpkey ].w - 3, 1, FRAME ); // top-left