started work on the CHIP-8 interpreter

This commit is contained in:
2024-11-26 06:52:49 -05:00
parent 3e5da27250
commit 7069e0ae49
7 changed files with 270 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#include <iostream>
#include <SDL2/SDL.h>
#include "Buzzer.hpp"
#include "BuzzerSDL.hpp"
int main(int argc, char* args[]) {
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
@@ -9,7 +9,7 @@ int main(int argc, char* args[]) {
return 1;
}
Buzzer buzzer(440);
BuzzerSDL buzzer(440);
buzzer.on();
SDL_Event event;