1 #ifndef _moviedata__hpp__included__
2 #define _moviedata__hpp__included__
4 #include "moviefile.hpp"
7 #define LOAD_STATE_RW 0
8 #define LOAD_STATE_RO 1
9 #define LOAD_STATE_PRESERVE 2
10 #define LOAD_STATE_MOVIE 3
11 #define LOAD_STATE_DEFAULT 4
15 extern struct moviefile our_movie
;
16 extern struct loaded_rom
* our_rom
;
17 extern bool system_corrupt
;
18 std::vector
<char>& get_host_memory();
21 void do_save_state(window
* win
, const std::string
& filename
) throw(std::bad_alloc
, std::runtime_error
);
22 void do_save_movie(window
* win
, const std::string
& filename
) throw(std::bad_alloc
, std::runtime_error
);
23 void do_load_state(window
* win
, struct moviefile
& _movie
, int lmode
);
24 void do_load_state(window
* win
, const std::string
& filename
, int lmode
);
27 extern movie_logic movb
;