view blastem.h @ 1797:5ff8f0d28188

Make sure there are no races between main thread and audio thread around mix_buf. Fix lack of proper termination in shader loading code
author Mike Pavone <pavone@retrodev.com>
date Sun, 24 Mar 2019 13:31:22 -0700
parents 7121daaa48c2
children 30f2821ffd65
line wrap: on
line source

#ifndef BLASTEM_H_
#define BLASTEM_H_

#include "tern.h"
#include "system.h"

extern int headless;
extern int exit_after;
extern int z80_enabled;
extern int frame_limit;

extern tern_node * config;
extern system_header *current_system;

extern char *save_state_path;
extern char *save_filename;
extern uint8_t use_native_states;
void reload_media(void);
void lockon_media(char *lock_on_path);
void init_system_with_media(const char *path, system_type force_stype);
void apply_updated_config(void);

#endif //BLASTEM_H_