[sd;2] fix 49G ON button offset
This commit is contained in:
parent
970274cefc
commit
ab4a4a0ea9
2 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ static void ExecBUSCB( void )
|
||||||
static void ExecBUSCC( void )
|
static void ExecBUSCC( void )
|
||||||
{
|
{
|
||||||
debug1( DEBUG_C_TRACE, CPU_I_CALLED, "ExecBUSCC" );
|
debug1( DEBUG_C_TRACE, CPU_I_CALLED, "ExecBUSCC" );
|
||||||
// 49g bugs here
|
// 49g bugs here
|
||||||
ChfCondition CPU_F_INTERR, CHF_WARNING, "BUSCC" ChfEnd;
|
ChfCondition CPU_F_INTERR, CHF_WARNING, "BUSCC" ChfEnd;
|
||||||
ChfSignal();
|
ChfSignal();
|
||||||
}
|
}
|
||||||
|
|
|
@ -619,7 +619,7 @@ static SDL_Texture* create_button_texture( int hpkey, bool is_up )
|
||||||
__draw_pixel( 1, BUTTONS[ hpkey ].h - 2, FRAME );
|
__draw_pixel( 1, BUTTONS[ hpkey ].h - 2, FRAME );
|
||||||
// bottom-right
|
// bottom-right
|
||||||
__draw_pixel( BUTTONS[ hpkey ].w - 2, BUTTONS[ hpkey ].h - 2, FRAME );
|
__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
|
// top
|
||||||
__draw_line( 2, 1, BUTTONS[ hpkey ].w - 3, 1, FRAME );
|
__draw_line( 2, 1, BUTTONS[ hpkey ].w - 3, 1, FRAME );
|
||||||
// top-left
|
// top-left
|
||||||
|
|
Loading…
Reference in a new issue