view render.h @ 354:15dd6418fe67

Initial PSG support. Mostly works, noise channel is borked though.
author Mike Pavone <pavone@retrodev.com>
date Thu, 23 May 2013 23:42:42 -0700
parents 13f994c88c34
children 62177cc39049
line wrap: on
line source

#ifndef RENDER_SDL_H_
#define RENDER_SDL_H_

#include "vdp.h"
#include "psg.h"
void render_init(int width, int height, char * title, uint32_t fps);
void render_context(vdp_context * context);
void render_wait_quit(vdp_context * context);
void render_wait_audio(psg_context * context);
int wait_render_frame(vdp_context * context, int frame_limit);
void render_fps(uint32_t fps);
uint32_t render_audio_buffer();
uint32_t render_sample_rate();

#endif //RENDER_SDL_H_