doc fixes, added irx load error
This commit is contained in:
@@ -44,8 +44,6 @@ private:
|
||||
Game *game;
|
||||
s32 mainThreadId;
|
||||
static void wakeup(s32 t_alarmId, u16 t_time, void *t_common);
|
||||
|
||||
// ThreadManager threadManager;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,7 +21,10 @@
|
||||
#include <draw_sampling.h>
|
||||
#include "./anim_state.hpp"
|
||||
|
||||
/** Class which have common types for all 3D objects */
|
||||
/**
|
||||
* Class which have contain 3D object data.
|
||||
* External data can be loaded via loadXXX() methods.
|
||||
*/
|
||||
class Mesh
|
||||
{
|
||||
|
||||
@@ -51,7 +54,7 @@ public:
|
||||
/** Returns material, which is a mesh "subgroup". */
|
||||
MeshMaterial &getMaterial(const u32 &i) const { return frames[0].getMaterial(i); };
|
||||
|
||||
/** Auto count of frames. Static object (not animated) will have only 1 frame. */
|
||||
/** Count of frames. Static object (not animated) will have only 1 frame. */
|
||||
const u32 &getFramesCount() const { return framesCount; };
|
||||
|
||||
/** Count of vertices. */
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
#include "./math/vector3.hpp"
|
||||
#include "./math/plane.hpp"
|
||||
|
||||
/** Class which contains draw instructions for part mesh of mesh.
|
||||
/**
|
||||
* Class which contains draw instructions for part of mesh.
|
||||
* Mesh can have many materials.
|
||||
* For example, car mesh can have three materials:
|
||||
* body, tires and windows.
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
|
||||
/**
|
||||
* Class which contains texture data.
|
||||
* Textures are paired with meshes via addUsage(),
|
||||
* removeUsage() functions which use meshId and materialId.
|
||||
* Textures are paired with meshes via addLink() and
|
||||
* removeLink() functions which use meshId and materialId.
|
||||
*/
|
||||
class MeshTexture
|
||||
{
|
||||
|
||||
@@ -78,7 +78,11 @@ void Audio::loadModules()
|
||||
{
|
||||
PRINT_LOG("Modules loading started (LIBSD, AUDSRV)");
|
||||
ret = SifLoadModule("rom0:LIBSD", 0, NULL);
|
||||
if (ret == -203)
|
||||
PRINT_ERR("LIBSD loading failed!");
|
||||
ret = SifLoadModule("host:AUDSRV.IRX", 0, NULL);
|
||||
if (ret == -203)
|
||||
PRINT_ERR("AUDSRV.IRX loading failed!");
|
||||
PRINT_LOG("Modules loaded");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user