Improve compiler compatibility (#743)

* fix returns

* use standard C headers

* struct/class mismatch

* explicit this in template

* switch variable scope

* C standard compliance

* & l-value
This commit is contained in:
Jcw87
2025-04-29 09:49:09 -07:00
committed by GitHub
parent eef20535ac
commit 5e7b59f2fe
57 changed files with 113 additions and 106 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "dolphin/types.h"
class Vec;
struct Vec;
class JAISound;
class JAIBasic;
namespace JAInter {
+1 -1
View File
@@ -5,7 +5,7 @@
namespace JASystem {
class TInstEffect;
class TInstParam;
struct TInstParam;
class TDrumSet : public TInst {
public:
+1 -1
View File
@@ -3,6 +3,6 @@
#include "dolphin/dsp.h"
void DSPAddPriorTask(STRUCT_DSP_TASK*);
void DSPAddPriorTask(DSPTaskInfo*);
#endif /* OSDSP_H */
+4
View File
@@ -8,7 +8,11 @@ typedef struct OSContext OSContext;
extern DSPTaskInfo* DSP_prior_task;
#ifdef __cplusplus
extern "C" void __DSPHandler(int, OSContext*);
#else
void __DSPHandler(int, OSContext*);
#endif
void DsyncFrame2(u32, u32, u32);
void Dsp_Update_Request();
BOOL Dsp_Running_Check();