mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 18:27:26 +00:00
DREAMWEB: Remove now unused sound interrupt related functions.
All are empty and unused, except for soundStartup() which was called but was empty and soundCheckInt which unconditionally set kTestResult to 1 (assumed to be "Test Pass"), but this value is not used anywhere and the function was not called anyway, so safe to remove.
This commit is contained in:
parent
b017c9317b
commit
39f2b24f11
@ -200,6 +200,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'checkifperson',
|
||||
'checkifset',
|
||||
'checkone',
|
||||
'checksoundint',
|
||||
'checkspeed',
|
||||
'chewy',
|
||||
'clearbeforeload',
|
||||
@ -233,6 +234,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'delthisone',
|
||||
'destselect',
|
||||
'disablepath',
|
||||
'disablesoundint',
|
||||
'dmaend',
|
||||
'doblocks',
|
||||
'dochange',
|
||||
@ -261,6 +263,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'eden',
|
||||
'edeninbath',
|
||||
'edenscdplayer',
|
||||
'enablesoundint',
|
||||
'endpaltostart',
|
||||
'entercode',
|
||||
'entersymbol',
|
||||
@ -348,6 +351,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'initman',
|
||||
'initrain',
|
||||
'input',
|
||||
'interupttest',
|
||||
'intro',
|
||||
'intro1text',
|
||||
'intro2text',
|
||||
@ -576,7 +580,9 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'slabdoorf',
|
||||
'smokebloke',
|
||||
'sortoutmap',
|
||||
'soundend',
|
||||
'soundonreels',
|
||||
'soundstartup',
|
||||
'sparky',
|
||||
'sparkydrip',
|
||||
'splitintolines',
|
||||
|
@ -576,7 +576,6 @@ public:
|
||||
void keyboardRead();
|
||||
void getOpenedSize();
|
||||
void resetKeyboard();
|
||||
void soundStartup();
|
||||
void adjustUp();
|
||||
void fadeScreenDownHalf();
|
||||
void mouseCall();
|
||||
@ -599,7 +598,6 @@ public:
|
||||
void runTap();
|
||||
void talk();
|
||||
void dumpDiaryKeys();
|
||||
void disableSoundInt();
|
||||
void checkForExit();
|
||||
void lookInInterface();
|
||||
void inToInv();
|
||||
@ -640,8 +638,8 @@ public:
|
||||
void useCooker();
|
||||
void receptionist();
|
||||
void selectSlot();
|
||||
void openFileNoCheck();
|
||||
void fadeUpMon();
|
||||
void soundEnd();
|
||||
void clearChanges();
|
||||
void introMagic2();
|
||||
void introMagic3();
|
||||
@ -657,7 +655,6 @@ public:
|
||||
void diaryKeyN();
|
||||
void set16ColPalette();
|
||||
void purgeAnItem();
|
||||
void enableSoundInt();
|
||||
void purgeALocation();
|
||||
void notHeldError();
|
||||
void getSetAd();
|
||||
@ -675,15 +672,13 @@ public:
|
||||
void bossMan();
|
||||
void searchForSame();
|
||||
void fadeFromWhite();
|
||||
void checkSoundInt();
|
||||
void rollEm();
|
||||
void poolGuard();
|
||||
void lookAtPlace();
|
||||
void useAxe();
|
||||
void findAllOpen();
|
||||
void quitSymbol();
|
||||
void readFromFile();
|
||||
void interruptTest();
|
||||
void quitSymbol();
|
||||
void findSetObject();
|
||||
void useDiary();
|
||||
void deleteExObject();
|
||||
@ -715,7 +710,6 @@ public:
|
||||
void swapWithOpen();
|
||||
void dreamweb();
|
||||
void dropError();
|
||||
void openFileNoCheck();
|
||||
void checkInside();
|
||||
void findPathOfPoint();
|
||||
void getBack1();
|
||||
|
@ -472,7 +472,7 @@ void DreamGenContext::dreamweb() {
|
||||
}
|
||||
|
||||
seeCommandTail();
|
||||
soundStartup();
|
||||
// soundStartup used to be done here...
|
||||
setKeyboardInt();
|
||||
allocateBuffers();
|
||||
setMouse();
|
||||
@ -1063,15 +1063,6 @@ void DreamGenContext::deallocateMem(uint16 segment) {
|
||||
}
|
||||
}
|
||||
|
||||
void DreamGenContext::soundStartup() {}
|
||||
void DreamGenContext::soundEnd() {}
|
||||
void DreamGenContext::interruptTest() {}
|
||||
void DreamGenContext::disableSoundInt() {}
|
||||
void DreamGenContext::enableSoundInt() {}
|
||||
void DreamGenContext::checkSoundInt() {
|
||||
data.byte(kTestresult) = 1;
|
||||
}
|
||||
|
||||
void DreamGenContext::loadSpeech() {
|
||||
cancelCh1();
|
||||
data.byte(kSpeechloaded) = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user