Add primary MultiPCM support

Partially revert previous commit
Add notifyInsAddition in dispatch for instrument addition
Refresh sample memory when instrument type changed
Fix naming for consistency
Also, this commit fixes a some possible issue in MultiPCM on openMSX core.
Chip ID: Already determined
This commit is contained in:
cam900 2025-08-29 16:24:32 +09:00
parent bd8d9a56a0
commit 957b57f3d9
19 changed files with 1085 additions and 55 deletions

View file

@ -917,6 +917,11 @@ class DivDispatch {
*/
virtual void notifyWaveChange(int wave);
/**
* notify addition of an instrument.
*/
virtual void notifyInsAddition(int sysID);
/**
* notify deletion of an instrument.
*/
@ -1001,7 +1006,7 @@ class DivDispatch {
* @param index the memory index.
* @return whether it did.
*/
virtual bool hasSampleInstHeader(int index=0);
virtual bool hasSampleInsHeader(int index=0);
/**
* check whether sample has been loaded in memory.