Fix crash if text containing \n is printed at nonzero x
[lsnes.git] / include / core / memorymanip.hpp
blob73ce51e97e54625c7cccaf437ddc7368f9d12e92
1 #ifndef _memorymanip__hpp__included__
2 #define _memorymanip__hpp__included__
4 #include <string>
5 #include <list>
6 #include <vector>
7 #include <cstdint>
8 #include <stdexcept>
10 class memory_space;
11 class movie_logic;
12 class loaded_rom;
14 class cart_mappings_refresher
16 public:
17 cart_mappings_refresher(memory_space& _mspace, movie_logic& _mlogic, loaded_rom& _rom);
18 void operator()() throw(std::bad_alloc);
19 private:
20 memory_space& mspace;
21 movie_logic& mlogic;
22 loaded_rom& rom;
25 #endif