comparison vgmplay.c @ 719:019d27995e32

Upgrade to SDL 2.0 and drop support for the non-OpenGL render path
author Michael Pavone <pavone@retrodev.com>
date Wed, 20 May 2015 19:05:11 -0700
parents 16ee0937c676
children 724bbec47f86
comparison
equal deleted inserted replaced
718:eaba6789f316 719:019d27995e32
140 uint32_t seek_offset; 140 uint32_t seek_offset;
141 uint32_t block_offset; 141 uint32_t block_offset;
142 142
143 uint32_t fps = 60; 143 uint32_t fps = 60;
144 config = load_config(argv[0]); 144 config = load_config(argv[0]);
145 render_init(320, 240, "vgm play", 60, 0, 0); 145 render_init(320, 240, "vgm play", 60, 0);
146 146
147 uint32_t opts = 0; 147 uint32_t opts = 0;
148 if (argc >= 3 && !strcmp(argv[2], "-y")) { 148 if (argc >= 3 && !strcmp(argv[2], "-y")) {
149 opts |= YM_OPT_WAVE_LOG; 149 opts |= YM_OPT_WAVE_LOG;
150 } 150 }