Skip to content

Commit

Permalink
444 mhz mode, temporal fix for app resources, new default path
Browse files Browse the repository at this point in the history
  • Loading branch information
frangarcj committed Jul 28, 2016
1 parent f509373 commit 15f00a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions System_PSP/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ int InitEmulation()
cfb = Screen->Pixels;

pl_file_path background;
snprintf(background, sizeof(background) - 1, "%sbg3x.png",
pl_psp_get_app_directory());
snprintf(background, sizeof(background) - 1, "%sbg3x.png", "app0:/"
/*pl_psp_get_app_directory()*/);
BG3X = pspImageLoadPng2D(background);

pl_snd_set_callback(0, AudioCallback, NULL);
Expand Down
5 changes: 3 additions & 2 deletions System_PSP/emumenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ PL_MENU_OPTIONS_BEGIN(PspClockFreqOptions)
PL_MENU_OPTION("266 MHz", 266)
PL_MENU_OPTION("300 MHz", 300)
PL_MENU_OPTION("333 MHz", 333)
PL_MENU_OPTION("444 MHz", 444)
PL_MENU_OPTIONS_END
PL_MENU_OPTIONS_BEGIN(ControlModeOptions)
PL_MENU_OPTION("\026\242\020 cancels, \026\241\020 confirms (US)", 0)
Expand Down Expand Up @@ -357,8 +358,8 @@ int InitMenu()

/* Load the background image */
pl_file_path background;
snprintf(background, sizeof(background) - 1, "%sbackground.png",
pl_psp_get_app_directory());
snprintf(background, sizeof(background) - 1, "%sbackground.png", "app0:/"
/*pl_psp_get_app_directory()*/);
Background = pspImageLoadPng(background);

/* Init NoSaveState icon image */
Expand Down
4 changes: 2 additions & 2 deletions System_PSP/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ static void ExitCallback(void* arg)
int main(int argc, char **argv)
{
/* Initialize PSP */
pl_psp_init("cache0:/NeopopVITA/");
pl_psp_init("ux0:/data/NeopopVITA/");
pl_snd_init(512,1);
pspCtrlInit();
pspVideoInit();

show_splash();
// show_splash();
#ifdef PSP_DEBUG
FILE *debug = fopen("message.txt", "w");
fclose(debug);
Expand Down

0 comments on commit 15f00a0

Please sign in to comment.