view blastem.h @ 1971:80920c21bb52

Add an event log soft flush and call it twice per frame in between hard flushes to netplay latency when there are insufficient hardware updates to flush packets in the middle of a frame
author Michael Pavone <pavone@retrodev.com>
date Fri, 08 May 2020 11:40:30 -0700
parents 30f2821ffd65
children 6f8400ce7a0f
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);
const system_media *current_media(void);

#endif //BLASTEM_H_