mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 22:43:01 +00:00
OPL: fix possible crash
This commit is contained in:
parent
4c9b172b50
commit
978b0798e5
1 changed files with 1 additions and 0 deletions
|
@ -940,6 +940,7 @@ void* DivPlatformOPL::getChanState(int ch) {
|
|||
}
|
||||
|
||||
DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
|
||||
if (ch>=18) return NULL;
|
||||
return oscBuf[ch];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue