mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove some unused functions.
This commit is contained in:
parent
93869cdee4
commit
0a8e6c2a06
3 changed files with 0 additions and 27 deletions
|
@ -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) {
|
int GetInternalFontIndex(Font *font) {
|
||||||
for (size_t i = 0; i < internalFonts.size(); i++) {
|
for (size_t i = 0; i < internalFonts.size(); i++) {
|
||||||
if (internalFonts[i] == font)
|
if (internalFonts[i] == font)
|
||||||
|
|
|
@ -302,11 +302,6 @@ bool __IsInInterrupt()
|
||||||
return inInterrupt;
|
return inInterrupt;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool __CanExecuteInterrupt()
|
|
||||||
{
|
|
||||||
return !inInterrupt;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InterruptState::save()
|
void InterruptState::save()
|
||||||
{
|
{
|
||||||
__KernelSaveContext(&savedCpu, true);
|
__KernelSaveContext(&savedCpu, true);
|
||||||
|
|
|
@ -116,16 +116,6 @@ void __UtilityShutdown()
|
||||||
gamedataInstallDialog.Shutdown(true);
|
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)
|
static int sceUtilitySavedataInitStart(u32 paramAddr)
|
||||||
{
|
{
|
||||||
if (currentDialogActive && currentDialogType != UTILITY_DIALOG_SAVEDATA)
|
if (currentDialogActive && currentDialogType != UTILITY_DIALOG_SAVEDATA)
|
||||||
|
|
Loading…
Add table
Reference in a new issue