initial upload

This commit is contained in:
2024-02-05 03:09:55 -08:00
commit 5c528eb8d2
8 changed files with 745 additions and 0 deletions

18
src/main.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include <iostream>
#include <filesystem>
#include <string>
#include <optional>
#include "gameboy.hpp"
#include "defines.hpp"
namespace fs = std::filesystem;
int main(int argc, char** argv)
{
auto* gb = new GameBoy();
gb->SDL2setup();
gb->start("/home/braiden/Code/GBpp/bootrom.bin", "/home/braiden/Code/GBpp/roms/DrMario.gb");
gb->SDL2destroy();
delete gb;
return 0;
}