Remove some unused functions.

This commit is contained in:
Unknown W. Brackets 2014-12-14 14:04:20 -08:00
parent 93869cdee4
commit 0a8e6c2a06
3 changed files with 0 additions and 27 deletions

View File

@ -679,18 +679,6 @@ static void __LoadInternalFonts() {
}
}
static Style FontStyleFromString(const std::string &str) {
if (str == "Regular")
return FONT_STYLE_REGULAR;
else if (str == "Italic")
return FONT_STYLE_ITALIC;
else if (str == "Bold")
return FONT_STYLE_BOLD;
else if (str == "Bold Italic")
return FONT_STYLE_BOLD_ITALIC;
return FONT_STYLE_REGULAR;
}
int GetInternalFontIndex(Font *font) {
for (size_t i = 0; i < internalFonts.size(); i++) {
if (internalFonts[i] == font)

View File

@ -302,11 +302,6 @@ bool __IsInInterrupt()
return inInterrupt;
}
static bool __CanExecuteInterrupt()
{
return !inInterrupt;
}
void InterruptState::save()
{
__KernelSaveContext(&savedCpu, true);

View File

@ -116,16 +116,6 @@ void __UtilityShutdown()
gamedataInstallDialog.Shutdown(true);
}
static int __UtilityGetStatus()
{
if (currentDialogType == UTILITY_DIALOG_NONE) {
return 0;
} else {
WARN_LOG(SCEUTILITY, "__UtilityGetStatus() Faked dialog : wrong dialog type");
return SCE_ERROR_UTILITY_WRONG_TYPE;
}
}
static int sceUtilitySavedataInitStart(u32 paramAddr)
{
if (currentDialogActive && currentDialogType != UTILITY_DIALOG_SAVEDATA)