GUI: prepare for new chip picker
This commit is contained in:
parent
be9385f701
commit
daf176e197
7 changed files with 115 additions and 21 deletions
|
|
@ -627,6 +627,9 @@ class DivEngine {
|
|||
// get japanese system name
|
||||
const char* getSystemNameJ(DivSystem sys);
|
||||
|
||||
// get sys definition
|
||||
const DivSysDef* getSystemDef(DivSystem sys);
|
||||
|
||||
// convert sample rate format
|
||||
int fileToDivRate(int frate);
|
||||
int divToFileRate(int drate);
|
||||
|
|
|
|||
|
|
@ -284,6 +284,10 @@ const char* DivEngine::getSystemNameJ(DivSystem sys) {
|
|||
*/
|
||||
}
|
||||
|
||||
const DivSysDef* DivEngine::getSystemDef(DivSystem sys) {
|
||||
return sysDefs[sys];
|
||||
}
|
||||
|
||||
bool DivEngine::isFMSystem(DivSystem sys) {
|
||||
if (sysDefs[sys]==NULL) return false;
|
||||
return sysDefs[sys]->isFM;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue