Skip to content

Commit

Permalink
removed sceKerneldelay
Browse files Browse the repository at this point in the history
  • Loading branch information
inthecatsdreams committed Aug 1, 2019
1 parent 280f7c3 commit e48d57e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ void increaseVolume(int vol){
psvDebugScreenClear();
if (vol == 30){
psvDebugScreenPrintf("You are alredy at the maxium.");
sceKernelDelayThread(1000000);
main();
}
else {
int ret = sceRegMgrSetKeyInt("/CONFIG/SOUND/", "main_volume", vol + 1);
printf("Volume has been increased.");
sceKernelDelayThread(1000000);
main();
}
}
Expand All @@ -35,13 +32,11 @@ void decreaseVolume(int vol){
psvDebugScreenClear();
if (vol == 5){
psvDebugScreenPrintf("You are alredy at the minimum.");
sceKernelDelayThread(1000000);
main();
}
else {
int ret = sceRegMgrSetKeyInt("/CONFIG/SOUND/", "main_volume", vol - 1);
printf("Volume has been decreased.");
sceKernelDelayThread(1000000);
main();
}
}
Expand Down

0 comments on commit e48d57e

Please sign in to comment.