Restructure

This commit is contained in:
CocoSimone
2022-12-22 22:33:43 +01:00
parent ba62db8f12
commit 4adb7a46f8
70 changed files with 554 additions and 582 deletions

View File

@@ -1,8 +1,6 @@
#pragma once
#include <cstdint>
#include <bitset>
#include <fmt/format.h>
#include <fmt/color.h>
using u8 = uint8_t;
using u16 = uint16_t;
@@ -15,9 +13,6 @@ using s64 = int64_t;
using u128 = __uint128_t;
using s128 = __int128_t;
#define KiB * 1024
#define MiB ((KiB) * 1024)
#define GiB ((MiB) * 1024)
#define N64_CPU_FREQ 93750000
#define N64_CYCLES_PER_FRAME ((N64_CPU_FREQ) / 60)
#define HALF_ADDRESS(addr) ((addr) ^ 2)