LMMS
Loading...
Searching...
No Matches
Rom_Data< unit > Class Template Reference

#include <Classic_Emu.h>

Inheritance diagram for Rom_Data< unit >:
Rom_Data_

Public Member Functions

blargg_err_t load (Data_Reader &in, int header_size, void *header_out, int fill)
long file_size () const
bytebegin () const
void set_addr (long addr)
void clear ()
long size () const
byteunmapped ()
blargg_long mask_addr (blargg_long addr) const
byteat_addr (blargg_long addr)

Private Types

enum  { pad_size = unit + pad_extra }

Additional Inherited Members

Public Types inherited from Rom_Data_
typedef unsigned char byte
Protected Types inherited from Rom_Data_
enum  { pad_extra = 8 }
Protected Member Functions inherited from Rom_Data_
blargg_err_t load_rom_data_ (Data_Reader &in, int header_size, void *header_out, int fill, long pad_size)
void set_addr_ (long addr, int unit)
Protected Attributes inherited from Rom_Data_
blargg_vector< byterom
long file_size_
blargg_long rom_addr
blargg_long mask
blargg_long size_

Member Enumeration Documentation

◆ anonymous enum

template<int unit>
anonymous enum
private
Enumerator
pad_size 

Member Function Documentation

◆ at_addr()

template<int unit>
byte * Rom_Data< unit >::at_addr ( blargg_long addr)
inline

◆ begin()

template<int unit>
byte * Rom_Data< unit >::begin ( ) const
inline

◆ clear()

template<int unit>
void Rom_Data< unit >::clear ( )
inline

◆ file_size()

template<int unit>
long Rom_Data< unit >::file_size ( ) const
inline

◆ load()

template<int unit>
blargg_err_t Rom_Data< unit >::load ( Data_Reader & in,
int header_size,
void * header_out,
int fill )
inline

◆ mask_addr()

template<int unit>
blargg_long Rom_Data< unit >::mask_addr ( blargg_long addr) const
inline

◆ set_addr()

template<int unit>
void Rom_Data< unit >::set_addr ( long addr)
inline

◆ size()

template<int unit>
long Rom_Data< unit >::size ( ) const
inline

◆ unmapped()

template<int unit>
byte * Rom_Data< unit >::unmapped ( )
inline

The documentation for this class was generated from the following file: