Cleaned the project a little

This commit is contained in:
2024-06-14 11:06:53 +02:00
parent a2274a354f
commit 9c7b21d83d
10 changed files with 16 additions and 12 deletions
+3
View File
@@ -21,6 +21,9 @@ void InitTimer();
void InitAudio();
void ClearTimer0();
void SetAudio(int value);
#endif
+1
View File
@@ -41,5 +41,6 @@ void Resize_Window(Rectangle area);
void Refresh_Area(Rectangle area);
void DrawPlayer(Player player, Rectangle areaToDraw);
void DrawText(Point starting_point,char text[],Size charSize);
void Refresh_Player_Area(Rectangle area,Rectangle Hitbox);
#endif /* SPI_H_ */
+1 -1
View File
@@ -37,7 +37,7 @@ void TIMER0_IRQHandler(void){
//8000HZ smaple rate
ClearTimer0();
audioValue ++;
if(audioValue >= 96000-1)
if(audioValue >= 886724-1)
audioValue = 0;
SetAudio(AllMyFellas_wav[audioValue]);
}