mirror of
https://github.com/RocketRobz/SuperAllStarPhotoStudio.git
synced 2025-06-18 17:15:35 -04:00
Add *Savvy Manager* menu music
This commit is contained in:
parent
cde8a630ed
commit
c58cdfd9b9
BIN
3ds/romfs/music/savvyManager/menu_loop.wav
Normal file
BIN
3ds/romfs/music/savvyManager/menu_loop.wav
Normal file
Binary file not shown.
BIN
3ds/romfs/music/savvyManager/menu_start.wav
Normal file
BIN
3ds/romfs/music/savvyManager/menu_start.wav
Normal file
Binary file not shown.
@ -89,6 +89,10 @@ void loadMusic(int num) {
|
||||
startName = "romfs:/music/jimPower3D_gen/mutantsForest_start.wav";
|
||||
loopName = "romfs:/music/jimPower3D_gen/mutantsForest_loop.wav";
|
||||
break;
|
||||
case 19: // Savvy Manager - Menu
|
||||
startName = "romfs:/music/savvyManager/menu_start.wav";
|
||||
loopName = "romfs:/music/savvyManager/menu_loop.wav";
|
||||
break;
|
||||
}
|
||||
|
||||
if (access(startName, F_OK) == 0) {
|
||||
|
9
include/savvyMgrBgmNames.h
Normal file
9
include/savvyMgrBgmNames.h
Normal file
@ -0,0 +1,9 @@
|
||||
const char* savvyMgrBgmNames[] = {
|
||||
"Menu",
|
||||
"",
|
||||
"",
|
||||
};
|
||||
|
||||
int savvyMgrBgmNums[] = {
|
||||
19,
|
||||
};
|
@ -105,6 +105,12 @@ void loadMusic(int num) {
|
||||
sampleRate = 48000;
|
||||
stereo = false;
|
||||
break;
|
||||
case 19: // Savvy Manager - Menu
|
||||
startName = "nitro:/music/savvyManager/menu_start.raw";
|
||||
loopName = "nitro:/music/savvyManager/menu_loop.raw";
|
||||
sampleRate = 48000;
|
||||
stereo = false;
|
||||
break;
|
||||
}
|
||||
snd().loadStream(startName, loopName, sampleRate, stereo, true);
|
||||
}
|
||||
|
BIN
nds/nitrofiles/music/savvyManager/menu_loop.raw
Normal file
BIN
nds/nitrofiles/music/savvyManager/menu_loop.raw
Normal file
Binary file not shown.
BIN
nds/nitrofiles/music/savvyManager/menu_start.raw
Normal file
BIN
nds/nitrofiles/music/savvyManager/menu_start.raw
Normal file
Binary file not shown.
@ -34,6 +34,7 @@
|
||||
#include "marioGolfAdvanceTourBgmNames.h"
|
||||
#include "mmBattleAndChaseBgmNames.h"
|
||||
#include "pkmnStadiumBgmNames.h"
|
||||
#include "savvyMgrBgmNames.h"
|
||||
#include "sonicManiaBgmNames.h"
|
||||
#include "ss1BgmNames.h"
|
||||
#include "tetrisPartyBgmNames.h"
|
||||
@ -121,6 +122,7 @@ static u8 bgmPageOrder[] = {
|
||||
2, // Mario Golf: Advance Tour
|
||||
1, // MegaMan: Battle and Chase
|
||||
0, // Pokemon Stadium
|
||||
7, // Savvy Manager
|
||||
4, // Sonic Mania
|
||||
5, // Style Savvy
|
||||
3, // Tetris Party
|
||||
@ -171,6 +173,9 @@ void PhotoStudio::getMaxChars() {
|
||||
case 6:
|
||||
import_totalCharacters = 0;
|
||||
break;
|
||||
case 7:
|
||||
import_totalCharacters = 0;
|
||||
break;
|
||||
}
|
||||
} else if (subScreenMode == 1) {
|
||||
// Locations
|
||||
@ -720,6 +725,8 @@ const char* PhotoStudio::bgmGameTitle(void) const {
|
||||
return ss1Title();
|
||||
case 6:
|
||||
return "Jim Power";
|
||||
case 7:
|
||||
return "Savvy Manager";
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
@ -804,6 +811,8 @@ const char* PhotoStudio::bgmName(int i) const {
|
||||
return ss1BgmNames[i];
|
||||
case 6:
|
||||
return jimPowerBgmNames[i];
|
||||
case 7:
|
||||
return savvyMgrBgmNames[i];
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
@ -844,6 +853,8 @@ int PhotoStudio::getBgmNum(void) const {
|
||||
return ss1BgmNums[bgmList_cursorPosition];
|
||||
case 6:
|
||||
return jimPowerBgmNums[bgmList_cursorPosition];
|
||||
case 7:
|
||||
return savvyMgrBgmNums[bgmList_cursorPosition];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user