openMSX
Classes | Enumerations | Functions | Variables
openmsx::YM2413NukeYKT Namespace Reference

Classes

struct  Rom
 
class  YM2413
 

Enumerations

enum  RmNum : uint8_t {
  rm_num_bd0 = 0, rm_num_hh = 1, rm_num_tom = 2, rm_num_bd1 = 3,
  rm_num_sd = 4, rm_num_tc = 5
}
 

Functions

constexpr bool is_rm_cycle (int cycle)
 
constexpr RmNum rm_for_cycle (int cycle)
 
constexpr Rom makeRomTables ()
 

Variables

constexpr Rom rom = makeRomTables()
 

Enumeration Type Documentation

◆ RmNum

Enumerator
rm_num_bd0 
rm_num_hh 
rm_num_tom 
rm_num_bd1 
rm_num_sd 
rm_num_tc 

Definition at line 41 of file YM2413NukeYKT.cc.

Function Documentation

◆ is_rm_cycle()

constexpr bool openmsx::YM2413NukeYKT::is_rm_cycle ( int  cycle)
constexpr

Definition at line 49 of file YM2413NukeYKT.cc.

◆ makeRomTables()

constexpr Rom openmsx::YM2413NukeYKT::makeRomTables ( )
constexpr

Definition at line 62 of file YM2413NukeYKT.cc.

References M_PI, cstd::round(), and t.

◆ rm_for_cycle()

constexpr RmNum openmsx::YM2413NukeYKT::rm_for_cycle ( int  cycle)
constexpr

Definition at line 53 of file YM2413NukeYKT.cc.

Variable Documentation

◆ rom

constexpr Rom openmsx::YM2413NukeYKT::rom = makeRomTables()
constexpr