2011-09-13 17:50:18 +03:00
|
|
|
#ifndef _memorymanip__hpp__included__
|
|
|
|
#define _memorymanip__hpp__included__
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <list>
|
|
|
|
#include <vector>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <stdexcept>
|
2014-05-31 17:16:45 +03:00
|
|
|
|
|
|
|
class memory_space;
|
|
|
|
class movie_logic;
|
2014-06-08 04:15:01 +03:00
|
|
|
class loaded_rom;
|
2011-09-13 17:50:18 +03:00
|
|
|
|
2014-05-18 01:58:05 +03:00
|
|
|
class cart_mappings_refresher
|
|
|
|
{
|
|
|
|
public:
|
2014-06-08 04:15:01 +03:00
|
|
|
cart_mappings_refresher(memory_space& _mspace, movie_logic& _mlogic, loaded_rom& _rom);
|
2014-05-18 01:58:05 +03:00
|
|
|
void operator()() throw(std::bad_alloc);
|
|
|
|
private:
|
|
|
|
memory_space& mspace;
|
2014-05-31 17:16:45 +03:00
|
|
|
movie_logic& mlogic;
|
2014-06-08 04:15:01 +03:00
|
|
|
loaded_rom& rom;
|
2014-05-18 01:58:05 +03:00
|
|
|
};
|
2011-09-13 17:50:18 +03:00
|
|
|
|
|
|
|
#endif
|