Skip to content

Commit

Permalink
raster_skip double was missing from max_border_h
Browse files Browse the repository at this point in the history
  • Loading branch information
randyrossi committed Feb 14, 2020
1 parent 21809b8 commit 339958d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions third_party/vice-3.3/src/arch/raspi/vice_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,10 +1026,15 @@ void emux_load_additional_settings() {
set_canvas_borders(VIC_INDEX,
&canvas_state[VIC_INDEX].max_border_w,
&canvas_state[VIC_INDEX].max_border_h);
canvas_state[VIC_INDEX].max_border_h *=
canvas_state[VIC_INDEX].raster_skip;

if (machine_class == VICE_MACHINE_C128) {
set_canvas_borders(VDC_INDEX,
&canvas_state[VDC_INDEX].max_border_w,
&canvas_state[VDC_INDEX].max_border_h);
canvas_state[VDC_INDEX].max_border_h *=
canvas_state[VDC_INDEX].raster_skip;
}
}

Expand Down

0 comments on commit 339958d

Please sign in to comment.