aiie/vmdisplay.h
2017-02-19 18:55:54 -05:00

21 lines
338 B
C++

#ifndef __VMDISPLAY_H
#define __VMDISPLAY_H
class MMU;
class VMDisplay {
public:
VMDisplay(uint8_t *vb) { videoBuffer = vb; }
virtual ~VMDisplay() { videoBuffer = NULL; };
virtual void SetMMU(MMU *m) { mmu = m; }
virtual bool needsRedraw() = 0;
virtual void didRedraw() = 0;
MMU *mmu;
uint8_t *videoBuffer;
};
#endif