lsnes/include/core/instance.hpp

20 lines
368 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 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:09:28 +03:00
struct emulator_instance
{
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:09:28 +03:00
};
extern emulator_instance lsnes_instance;
#endif