openMSX
Main Page
Namespaces
Classes
Files
File List
File Members
memory
RomSynthesizer.hh
Go to the documentation of this file.
1
#ifndef ROMSYNTHESIZER_HH
2
#define ROMSYNTHESIZER_HH
3
4
#include "
RomBlocks.hh
"
5
6
namespace
openmsx {
7
8
class
DACSound8U;
9
10
class
RomSynthesizer
:
public
Rom16kBBlocks
11
{
12
public
:
13
RomSynthesizer
(
const
DeviceConfig
& config, std::unique_ptr<Rom>
rom
);
14
virtual
~RomSynthesizer
();
15
16
virtual
void
reset
(
EmuTime::param
time);
17
virtual
void
writeMem
(
word
address,
byte
value,
EmuTime::param
time);
18
virtual
byte
*
getWriteCacheLine
(
word
address)
const
;
19
20
template
<
typename
Archive>
21
void
serialize
(Archive& ar,
unsigned
version);
22
23
private
:
24
const
std::unique_ptr<DACSound8U> dac;
25
};
26
27
}
// namespace openmsx
28
29
#endif
Generated on Mon Jun 17 2013 22:18:17 for openMSX by
1.8.1.2