Skip to content

Commit

Permalink
Added missing RESOLUTION variables for vic20.
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlessmind1975 committed Sep 10, 2023
1 parent 9248818 commit b68a6c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ugbc/src/hw/vic1.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,11 @@ void vic1_initialization( Environment * _environment ) {
variable_import( _environment, "ORIGINY", VT_POSITION, 0 );
variable_global( _environment, "ORIGINY" );

variable_import( _environment, "RESOLUTIONX", VT_POSITION, 0 );
variable_global( _environment, "RESOLUTIONX" );
variable_import( _environment, "RESOLUTIONY", VT_POSITION, 0 );
variable_global( _environment, "RESOLUTIONY" );

cpu_move_16bit( _environment, "CURRENTWIDTH", "RESOLUTIONX" );
cpu_move_16bit( _environment, "CURRENTHEIGHT", "RESOLUTIONY" );

Expand Down

0 comments on commit b68a6c3

Please sign in to comment.