mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
19 lines
422 B
C++
19 lines
422 B
C++
#ifndef _lua__unsaferewind__hpp__included__
|
|
#define _lua__unsaferewind__hpp__included__
|
|
|
|
#include "library/lua-base.hpp"
|
|
#include "library/string.hpp"
|
|
#include "core/moviefile.hpp"
|
|
|
|
struct lua_unsaferewind
|
|
{
|
|
lua_unsaferewind(lua::state& L);
|
|
static size_t overcommit() { return 0; }
|
|
moviefile::dynamic_state dstate;
|
|
std::string print()
|
|
{
|
|
return (stringfmt() << "to frame " << dstate.save_frame).str();
|
|
}
|
|
};
|
|
|
|
#endif
|