Mercurial > repos > blastem
comparison vgmplay.c @ 1103:22e87b739ad6
WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 09 Dec 2016 09:48:48 -0800 |
parents | 8d032a368dd5 |
children | 74e77aec9004 |
comparison
equal
deleted
inserted
replaced
1102:c15896605bf2 | 1103:22e87b739ad6 |
---|---|
87 uint32_t seek_offset; | 87 uint32_t seek_offset; |
88 uint32_t block_offset; | 88 uint32_t block_offset; |
89 | 89 |
90 uint32_t fps = 60; | 90 uint32_t fps = 60; |
91 config = load_config(argv[0]); | 91 config = load_config(argv[0]); |
92 render_init(320, 240, "vgm play", 60, 0); | 92 render_init(320, 240, "vgm play", 0); |
93 | 93 |
94 uint32_t opts = 0; | 94 uint32_t opts = 0; |
95 if (argc >= 3 && !strcmp(argv[2], "-y")) { | 95 if (argc >= 3 && !strcmp(argv[2], "-y")) { |
96 opts |= YM_OPT_WAVE_LOG; | 96 opts |= YM_OPT_WAVE_LOG; |
97 } | 97 } |