mirror of
https://github.com/SMGCommunity/Petari.git
synced 2025-02-23 23:52:20 +00:00
more compile error fixes
This commit is contained in:
parent
519ab934db
commit
e11133ef6e
@ -5,6 +5,7 @@
|
||||
|
||||
class Layout;
|
||||
class Nerve;
|
||||
class LayoutActor;
|
||||
|
||||
namespace MR {
|
||||
void setEffectRate(LayoutActor *, const char *, f32);
|
||||
|
@ -1,19 +0,0 @@
|
||||
#ifndef SCPRIVATE_H
|
||||
#define SCPRIVATE_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef u8 SCType;
|
||||
|
||||
#define SC_TYPE_MASK ((SCType)0xe0)
|
||||
#define SC_NAME_LENGTH_MASK ((SCType)~SC_TYPE_MASK)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // SCPRIVATE_H
|
@ -2,7 +2,6 @@
|
||||
#define SC_H
|
||||
|
||||
#include <revolution/os.h>
|
||||
#include <private/scprivate.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -10,6 +9,11 @@ extern "C" {
|
||||
|
||||
typedef u8 SCType;
|
||||
|
||||
typedef struct {
|
||||
u8 mode;
|
||||
u8 led;
|
||||
} SCIdleModeInfo;
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
u8 type_u8;
|
||||
@ -35,28 +39,6 @@ typedef struct {
|
||||
typedef void (*SCReloadConfFileCallback)(s32 result);
|
||||
typedef void (*SCFlushCallback)(u32 result);
|
||||
|
||||
typedef struct {
|
||||
/*union {
|
||||
u8 u8;
|
||||
s8 s8;
|
||||
u16 u16;
|
||||
s16 s16;
|
||||
u32 u32;
|
||||
s32 s32;
|
||||
u64 u64;
|
||||
s64 s64;
|
||||
u8 longPrecision64[sizeof(u64)];
|
||||
} integer;*/
|
||||
|
||||
SCType typeInteger;
|
||||
SCType typeByteArray;
|
||||
u32 nameLen;
|
||||
u32 dataSize;
|
||||
char* name;
|
||||
u8* data;
|
||||
u32 packedSize;
|
||||
} SCItem;
|
||||
|
||||
typedef enum {
|
||||
SC_ITEM_ID_IPL_COUNTER_BIAS,
|
||||
SC_ITEM_ID_IPL_ASPECT_RATIO,
|
||||
|
Loading…
x
Reference in New Issue
Block a user