summaryrefslogtreecommitdiff
path: root/vgmplay.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-01-06 22:54:05 -0800
committerMichael Pavone <pavone@retrodev.com>2014-01-06 22:54:05 -0800
commite6825f6403036a874216d58fe1ac3989898e61f3 (patch)
treefcf3d642f85e1e19259a05fa2f5a06bc695d9522 /vgmplay.c
parent9507839714b1e5a1a0a8487c8cdb10d69c5de6bc (diff)
The local clone on my laptop got messed up and some changes had not been pushed. This commit represents the status of the working copy from that clone. It unfortunately contains some changes that I did not intend to commit yet, but this seems like the best option at the moment.
Diffstat (limited to 'vgmplay.c')
-rw-r--r--vgmplay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vgmplay.c b/vgmplay.c
index 81c7ae7..2bfc9da 100644
--- a/vgmplay.c
+++ b/vgmplay.c
@@ -1,6 +1,6 @@
/*
Copyright 2013 Michael Pavone
- This file is part of BlastEm.
+ This file is part of BlastEm.
BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
*/
#include "render.h"
@@ -90,6 +90,8 @@ void handle_joy_dpad(int joystick, int dpadnum, uint8_t value)
{
}
+uint8_t headless = 0;
+
#define CYCLE_LIMIT MCLKS_NTSC/60
tern_node * config;
@@ -111,7 +113,7 @@ int main(int argc, char ** argv)
{
uint32_t fps = 60;
config = load_config(argv[0]);
- render_init(320, 240, "vgm play", 60, 0);
+ render_init(320, 240, "vgm play", 60, 0, 0);
ym2612_context y_context;