Move TP-specific OSReport functions elsewhere

This commit is contained in:
PJB3005
2026-03-02 13:47:19 +01:00
parent d762e1d8ec
commit 199f2da4e7
31 changed files with 65 additions and 0 deletions
@@ -6,6 +6,7 @@
#include "JSystem/J2DGraph/J2DAnmLoader.h"
#include "JSystem/JSupport/JSupport.h"
#include "os_report.h"
J2DAnmBase* J2DAnmLoaderDataBase::load(void const* p_data) {
const J3DAnmDataHeader* hdr = (const J3DAnmDataHeader*)p_data;
@@ -5,6 +5,7 @@
#include "JSystem/JKernel/JKRHeap.h"
#include "JSystem/JUtility/JUTPalette.h"
#include "JSystem/JUtility/JUTTexture.h"
#include "os_report.h"
J2DMaterial::J2DMaterial() {
field_0x4 = 0;
+1
View File
@@ -3,6 +3,7 @@
#include "JSystem/JAudio2/dspproc.h"
#include "JSystem/JAudio2/dsptask.h"
#include "JSystem/JAudio2/JASDSPInterface.h"
#include "os_report.h"
void DSPReleaseHalt2(u32 msg) {
u32 msgs[2];
+1
View File
@@ -3,6 +3,7 @@
#include "JSystem/JAudio2/dsptask.h"
#include "JSystem/JAudio2/osdsp.h"
#include "global.h"
#include "os_report.h"
static void DspInitWork();
static void DspHandShake(void* param_0);
@@ -9,6 +9,7 @@
#include "JSystem/JUtility/JUTException.h"
#include <cmath>
#include <cstring>
#include "os_report.h"
JKRAramArchive::JKRAramArchive() {}
+1
View File
@@ -4,6 +4,7 @@
#include "JSystem/JKernel/JKRHeap.h"
#include "global.h"
#include <climits>
#include "os_report.h"
JSUList<JKRAramBlock> JKRAramHeap::sAramList;
@@ -10,6 +10,7 @@
#include <cstring>
#include "global.h"
#include <stdint.h>
#include "os_report.h"
JKRDvdArchive::JKRDvdArchive(s32 entryNum, JKRArchive::EMountDirection mountDirection)
: JKRArchive(entryNum, MOUNT_DVD) {
+1
View File
@@ -22,6 +22,7 @@
#endif
#include <cstring>
#include <dolphin/os.h>
#include "os_report.h"
#if DEBUG
u8 JKRValue_DEBUGFILL_NOTUSE = 0xFD;
@@ -8,6 +8,7 @@
#include <cstring>
#include "global.h"
#include <stdint.h>
#include "os_report.h"
JKRMemArchive::JKRMemArchive(s32 entryNum, JKRArchive::EMountDirection mountDirection)
: JKRArchive(entryNum, MOUNT_MEM) {
@@ -11,6 +11,7 @@
#include "JSystem/JParticle/JPAKeyBlock.h"
#include "JSystem/JParticle/JPAResource.h"
#include "JSystem/JParticle/JPAResourceManager.h"
#include "os_report.h"
static void dummy1() {
JUT_WARN(0, "JPA : wrong version file %s\n");
@@ -7,6 +7,7 @@
#else
#include <dolphin.h>
#endif
#include "os_report.h"
JSUInputStream::~JSUInputStream() {
if (!isGood()) {
@@ -8,6 +8,7 @@
#include <dolphin.h>
#endif
#include <cstring>
#include "os_report.h"
JSUOutputStream::~JSUOutputStream() {
if (!isGood()) {
+1
View File
@@ -2,6 +2,7 @@
#include "JSystem/JUtility/JUTGamePad.h"
#include <cmath>
#include "os_report.h"
u32 JUTGamePad::CRumble::sChannelMask[4] = {
PAD_CHAN0_BIT,
+1
View File
@@ -3,6 +3,7 @@
#include "JSystem/JUtility/JUTTexture.h"
#include "JSystem/JUtility/JUTPalette.h"
#include <gx.h>
#include "os_report.h"
JUTTexture::~JUTTexture() {
if (getCaptureFlag()) {