mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-03 22:51:05 +00:00
Remove some unused functions.
This commit is contained in:
parent
93869cdee4
commit
0a8e6c2a06
@ -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)
|
||||
|
@ -302,11 +302,6 @@ bool __IsInInterrupt()
|
||||
return inInterrupt;
|
||||
}
|
||||
|
||||
static bool __CanExecuteInterrupt()
|
||||
{
|
||||
return !inInterrupt;
|
||||
}
|
||||
|
||||
void InterruptState::save()
|
||||
{
|
||||
__KernelSaveContext(&savedCpu, true);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user