added more presets and fixed memory bug yay

This commit is contained in:
AArt1256 2024-08-15 14:36:58 +03:00
parent 8480e31430
commit ce9d510076
4 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,6 @@
// THIS IS A MODIFIED VERSION OF POTATOR'S SOUND EMULATION CORE
// MODIFIED BY AART1256 IN 2024
#include "supervision.h"
#include <string.h>

View file

@ -1,3 +1,6 @@
// SOME CODE IS TAKEN FROM MAME'S EMULATION OF THE UPD1771C
// MADE BY AART1256 IN 2024
#include "upd1771c.h"
#include <string.h>

View file

@ -281,7 +281,7 @@ void DivPlatformUPD1771c::muteChannel(int ch, bool mute) {
}
void DivPlatformUPD1771c::forceIns() {
for (int i=0; i<4; i++) {
for (int i=0; i<1; i++) {
chan[i].insChanged=true;
chan[i].freqChanged=true;
//chwrite(i,0x05,isMuted[i]?0:chan[i].pan);

View file

@ -320,6 +320,11 @@ void FurnaceGUI::initSystemPresets() {
CH(DIV_SYSTEM_NDS, 1.0f, 0, "")
}
);
ENTRY(
"Watara Supervision", {
CH(DIV_SYSTEM_SUPERVISION, 1.0f, 0, "")
}
);
CATEGORY_END;
CATEGORY_BEGIN("Computers","let's get to work on chiptune today.");
@ -1284,6 +1289,11 @@ void FurnaceGUI::initSystemPresets() {
)
}
);
ENTRY(
"Epoch Super Cassette Vision", {
CH(DIV_SYSTEM_UPD1771C, 1.0f, 0, "")
}
);
CATEGORY_END;
CATEGORY_BEGIN("Arcade systems","INSERT COIN");