mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-21 13:39:11 +00:00
@@ -1,3 +1,5 @@
|
||||
#include "dolphin/os/OSReset.h"
|
||||
|
||||
volatile u8 DAT_800030e2 : 0x800030e2;
|
||||
typedef struct Unk {
|
||||
u8 pad[0x24];
|
||||
@@ -17,6 +19,8 @@ typedef struct OSResetQueue {
|
||||
OSResetFunctionInfo* last;
|
||||
} OSResetQueue;
|
||||
|
||||
OSResetQueue ResetFunctionQueue;
|
||||
|
||||
void OSRegisterResetFunction(OSResetFunctionInfo* func) {
|
||||
OSResetFunctionInfo* tmp;
|
||||
OSResetFunctionInfo* iter;
|
||||
|
||||
@@ -20,7 +20,7 @@ struct GXData {
|
||||
extern GXData* __GXData;
|
||||
|
||||
static inline void write_bp_cmd(u32 cmd) {
|
||||
GXWGFifo.uchar = GX_LOAD_BP_REG;
|
||||
GXWGFifo.u8 = GX_LOAD_BP_REG;
|
||||
GXWGFifo.u32 = cmd;
|
||||
__GXData->cpCRreg = 0;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ unkptr gpDefaultFont;
|
||||
unkptr lbl_805A8C50;
|
||||
unkptr lbl_805A8C54;
|
||||
bool COsContext::mProgressiveMode;
|
||||
uint sARAMMemArray[2];
|
||||
u32 sARAMMemArray[2];
|
||||
float sInfiniteLoopTime;
|
||||
|
||||
#define GRAPHICS_FIFO_SIZE 0x60000
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "WorldFormat/CWorldLight.hpp"
|
||||
|
||||
#include "Kyoto/Streams/CInputStream.hpp"
|
||||
#include <hacks.h>
|
||||
// #include <hacks.h>
|
||||
#include <rstl/math.hpp>
|
||||
|
||||
const CVector3f CWorldLight::kDefaultPosition = CVector3f(0.f, 0.f, 0.f);
|
||||
FORCEPADDING(sizeof(CVector3f)) kPadding;
|
||||
// FORCEPADDING(sizeof(CVector3f)) kPadding;
|
||||
const CVector3f CWorldLight::kDefaultDirection = CVector3f(0.f, 1.f, 0.f);
|
||||
|
||||
CWorldLight::CWorldLight(CInputStream& in)
|
||||
@@ -18,7 +18,7 @@ CWorldLight::CWorldLight(CInputStream& in)
|
||||
, x30_(in.Get< float >())
|
||||
, x34_castShadows(in.Get< bool >())
|
||||
, x38_(in.Get< float >())
|
||||
, x3c_falloff((EFalloffType)in.Get< uint >())
|
||||
, x3c_falloff((EFallofType)in.Get< uint >())
|
||||
, x40_(in.Get< float >()) {}
|
||||
|
||||
CLight CWorldLight::GetAsCGraphicsLight() const {
|
||||
|
||||
Reference in New Issue
Block a user