openMSX
ResampleTrivial.cc
Go to the documentation of this file.
1 #include "ResampleTrivial.hh"
3 #include "build-info.hh"
4 #include <cassert>
5 
6 namespace openmsx {
7 
9  : input(input_)
10 {
11 }
12 
13 bool ResampleTrivial::generateOutput(int* dataOut, unsigned num,
14  EmuTime::param /*time*/)
15 {
16 #if ASM_X86
17  assert((long(dataOut) & 15) == 0); // must be 16-byte aligned
18 #endif
19  return input.generateInput(dataOut, num);
20 }
21 
22 } // namespace openmsx