Fix pokitto

This commit is contained in:
Miloslav Číž 2020-09-07 18:41:30 +02:00
parent c2a9de42e2
commit 03032c8489
2 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -25,14 +25,14 @@
#define SFG_RAYCASTING_MAX_HITS 6
#define SFG_RAYCASTING_SUBSAMPLE 2
#include "Pokitto.h"
#include "clock_11u6x.h"
#include "timer_11u6x.h"
#include "palette.h"
#include "game.h"
#include "sounds.h"
#include "../PokittoLib/Pokitto/POKITTO_HW/clock_11u6x.h"
#include "../PokittoLib/Pokitto/POKITTO_HW/timer_11u6x.h"
#include "../PokittoLib/Pokitto/Pokitto.h"
Pokitto::Core pokitto;
uint8_t *pokittoScreen;
@ -140,6 +140,7 @@ void SFG_playSound(uint8_t soundIndex, uint8_t volume)
int main()
{
pokitto.begin();
timerInit(8000);
for (uint16_t i = 0; i < SFG_SFX_SAMPLE_COUNT; ++i)