diff --git a/ugbc/src/hw/vic1.c b/ugbc/src/hw/vic1.c index d3a2809c5..8c1f125ab 100755 --- a/ugbc/src/hw/vic1.c +++ b/ugbc/src/hw/vic1.c @@ -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" );