start this from scratch

This commit is contained in:
Simone
2024-01-18 12:31:53 +01:00
parent c4f021cb9d
commit af7a6c004b
24 changed files with 116 additions and 921 deletions

View File

@@ -1,4 +1,8 @@
file(GLOB SOURCES *.cpp)
file(GLOB HEADERS *.hpp)
add_library(backend ${SOURCES} ${HEADERS})
add_subdirectory(core)
add_subdirectory(netplay)
add_library(backend ${SOURCES} ${HEADERS})
target_link_libraries(backend PRIVATE core netplay)

View File

@@ -1,4 +1,11 @@
file(GLOB SOURCES *.cpp)
file(GLOB HEADERS *.hpp)
add_library(core ${SOURCES} ${HEADERS})
add_subdirectory(interpreter)
add_subdirectory(mem)
add_subdirectory(mmio)
add_subdirectory(registers)
add_subdirectory(rsp)
add_library(core ${SOURCES} ${HEADERS})
target_link_libraries(core PRIVATE interpreter mem mmio unarr registers rsp)

View File

@@ -2,7 +2,7 @@
#include <log.hpp>
#include <core/Mem.hpp>
#include <core/registers/Registers.hpp>
#include <core/Audio.hpp>
#include <Audio.hpp>
namespace n64 {
void AI::Reset() {

View File

@@ -1,5 +1,5 @@
#include <PIF.hpp>
#include <MupenMovie.hpp>
#include <PIF/MupenMovie.hpp>
#include <Netplay.hpp>
#include <log.hpp>
#include <SDL2/SDL_keyboard.h>

View File

@@ -1,4 +1,4 @@
#include <MupenMovie.hpp>
#include <PIF/MupenMovie.hpp>
#include <log.hpp>
struct TASMovieHeader {

View File

@@ -2,3 +2,4 @@ file(GLOB_RECURSE SOURCES *.cpp)
file(GLOB_RECURSE HEADERS *.cpp)
add_library(registers ${SOURCES} ${HEADERS})
target_link_libraries(registers PRIVATE interpreter)