mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-06 09:55:11 -04:00
Reorganize library code into libs/ (#3119)
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "JSystem/JKernel/JKRAssertHeap.h"
|
||||
#include <dolphin/os.h>
|
||||
#include <os.h>
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Memory Card Control
|
||||
*/
|
||||
|
||||
#include <dolphin/card.h>
|
||||
#include <card.h>
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
#include "JSystem/JKernel/JKRAssertHeap.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "JSystem/JUtility/JUTGamePad.h"
|
||||
#include "JSystem/JUtility/JUTXfb.h"
|
||||
#include "SSystem/SComponent/c_API_controller_pad.h"
|
||||
#include <dolphin/gx.h>
|
||||
#include <gx.h>
|
||||
#include "m_Do/m_Do_audio.h"
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
#include "d/dolzel.h" // IWYU pragma: keep
|
||||
|
||||
#include <dolphin/gf/GFPixel.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <gf/GFPixel.h>
|
||||
#include <gx.h>
|
||||
#include "JSystem/J3DGraphAnimator/J3DMaterialAnm.h"
|
||||
#include "JSystem/J3DGraphBase/J3DDrawBuffer.h"
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "d/d_menu_collect.h"
|
||||
#include "d/d_jcam_editor.h"
|
||||
#include "d/d_jpreviewer.h"
|
||||
#include <dolphin/base/PPCArch.h>
|
||||
#include <base/PPCArch.h>
|
||||
#include "f_ap/f_ap_game.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#include "m_Do/m_Do_hostIO.h"
|
||||
#include "JSystem/JHostIO/JORServer.h"
|
||||
#include <dolphin/dolphin.h>
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution.h>
|
||||
#else
|
||||
#include <dolphin.h>
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "JSystem/J3DGraphBase/J3DMatBlock.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
u32 mDoLib_setResTimgObj(ResTIMG const* i_img, GXTexObj* o_texObj, u32 tlut_name,
|
||||
GXTlutObj* o_tlutObj) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "m_Do/m_Do_printf.h"
|
||||
#include <cstdio>
|
||||
#include <dolphin/base/PPCArch.h>
|
||||
#include <base/PPCArch.h>
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
u8 __OSReport_disable;
|
||||
|
||||
Reference in New Issue
Block a user