Skip to content

Commit 3ed8cf9

Browse files
authored
Fix
1 parent 1efaa7a commit 3ed8cf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/video/ogc/SDL_ogcvideo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ static void add_supported_modes(SDL_VideoDisplay *display, u32 tv_format)
179179

180180
/* Now add all the "standard" modes from libogc */
181181
while (*gx_modes) {
182-
init_display_mode(&mode, *gx_modes, *gx_modes->fbWidth);
182+
init_display_mode(&mode, *gx_modes, (*gx_modes)->fbWidth);
183183
SDL_AddDisplayMode(display, &mode);
184184
gx_modes++;
185185
}

0 commit comments

Comments
 (0)