Loader of one permanent bank, bound to a synthesiser bank slot.
More...
#include <bankloader.h>
|
| | PermBankLoader (unsigned short nSlot, const char *pszFile) |
| | Construct a loader and query the size of the bank from the synthesiser.
|
| | ~PermBankLoader () |
| | Unload the bank when Load() was called.
|
| void | Load () |
| | Start loading the bank into its slot.
|
| bool | IsLoaded () const |
| | Report whether the bank finished loading.
|
| unsigned short | GetSlot () const |
| int | GetBlockCount () const |
Loader of one permanent bank, bound to a synthesiser bank slot.
The RTTI includes the nested name. The class is not polymorphic.
◆ PermBankLoader()
| BankLoader::PermBankLoader::PermBankLoader |
( |
unsigned short | nSlot, |
|
|
const char * | pszFile ) |
Construct a loader and query the size of the bank from the synthesiser.
- Parameters
-
| nSlot | The synthesiser bank slot. |
| pszFile | The bank file. |
- Ghidra address:
- NTSC-U/C: 0x00151898
- Ghidra address:
- PAL: 0x001530e0
◆ ~PermBankLoader()
| BankLoader::PermBankLoader::~PermBankLoader |
( |
| ) |
|
Unload the bank when Load() was called.
- Ghidra address:
- NTSC-U/C: 0x00151908
- Ghidra address:
- PAL: 0x00153150
◆ Load()
| void BankLoader::PermBankLoader::Load |
( |
| ) |
|
Start loading the bank into its slot.
- Ghidra address:
- NTSC-U/C: 0x00151980
- Ghidra address:
- PAL: 0x001531c8
◆ IsLoaded()
| bool BankLoader::PermBankLoader::IsLoaded |
( |
| ) |
const |
Report whether the bank finished loading.
- Returns
- Whether Load() was called and the synthesiser reports the slot loaded.
- Ghidra address:
- NTSC-U/C: 0x001519c8
- Ghidra address:
- PAL: 0x00153210
◆ GetSlot()
| unsigned short BankLoader::PermBankLoader::GetSlot |
( |
| ) |
const |
|
inline |
- Returns
- The synthesiser bank slot.
◆ GetBlockCount()
| int BankLoader::PermBankLoader::GetBlockCount |
( |
| ) |
const |
|
inline |
- Returns
- The size the synthesiser reports for the file, or -1.
The documentation for this class was generated from the following file: