Mercurial > repos > blastem
comparison blastem.c @ 422:642b2f8aee32
Change default resolution to 640x480
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 25 Jun 2013 23:03:25 -0700 |
parents | d0cacb4ade0b |
children | 7e8e179116af |
comparison
equal
deleted
inserted
replaced
421:d0cacb4ade0b | 422:642b2f8aee32 |
---|---|
1744 } else if (height < 0) { | 1744 } else if (height < 0) { |
1745 height = atoi(argv[i]); | 1745 height = atoi(argv[i]); |
1746 } | 1746 } |
1747 } | 1747 } |
1748 update_title(); | 1748 update_title(); |
1749 width = width < 320 ? 320 : width; | 1749 width = width < 320 ? 640 : width; |
1750 height = height < 240 ? (width/320) * 240 : height; | 1750 height = height < 240 ? (width/320) * 240 : height; |
1751 uint32_t fps = 60; | 1751 uint32_t fps = 60; |
1752 if (version_reg & 0x40) { | 1752 if (version_reg & 0x40) { |
1753 mclks_per_frame = MCLKS_LINE * LINES_PAL; | 1753 mclks_per_frame = MCLKS_LINE * LINES_PAL; |
1754 fps = 50; | 1754 fps = 50; |