lsnes/include/core/instance.hpp

28 lines
572 B
C++
Raw Normal View History

2014-05-10 11:09:28 +03:00
#ifndef _instance__hpp__included__
#define _instance__hpp__included__
2014-05-10 13:12:42 +03:00
#include "core/inthread.hpp"
2014-05-10 11:22:31 +03:00
#include "core/movie.hpp"
#include "core/memorywatch.hpp"
2014-05-10 11:32:48 +03:00
#include "library/lua-base.hpp"
2014-05-10 11:22:31 +03:00
#include "library/memoryspace.hpp"
2014-05-10 11:54:15 +03:00
#include "library/settingvar.hpp"
2014-05-10 11:09:28 +03:00
struct emulator_instance
{
2014-05-10 11:54:15 +03:00
emulator_instance();
2014-05-10 11:09:28 +03:00
movie_logic mlogic;
2014-05-10 11:22:31 +03:00
memory_space memory;
2014-05-10 11:32:48 +03:00
lua::state lua;
lsnes_memorywatch_set mwatch;
2014-05-10 11:54:15 +03:00
settingvar::cache setcache;
2014-05-10 13:12:42 +03:00
voice_commentary commentary;
2014-05-10 13:36:00 +03:00
subtitle_commentary subtitles;
2014-05-10 11:09:28 +03:00
};
extern emulator_instance lsnes_instance;
2014-05-10 13:55:07 +03:00
emulator_instance& CORE();
2014-05-10 11:09:28 +03:00
#endif