Move VideoRep var declarations to top of function.

This commit is contained in:
TomAwezome 2022-10-15 01:26:23 -04:00
parent dde5566910
commit 7ac0ce5285

View file

@ -1,6 +1,8 @@
public I64 VideoRep() public I64 VideoRep()
{ // List available screen resolutions. { // List available screen resolutions, show current resolution.
I64 i, count = 0, div, aspect_w, aspect_h;
CVideoInfo *info;
"\n"; "\n";
if (!IsRaw) if (!IsRaw)
@ -8,9 +10,6 @@ public I64 VideoRep()
else else
"Framebuffer pointer: 0x%8X \n", sys_framebuffer_addr; "Framebuffer pointer: 0x%8X \n", sys_framebuffer_addr;
I64 i, count = 0, div, aspect_w, aspect_h;
CVideoInfo *info;
"\nAll modes shown are 32-bit color.\n\n"; "\nAll modes shown are 32-bit color.\n\n";
if (!IsRaw) if (!IsRaw)