mirror of
https://github.com/open-goal/jak-project
synced 2026-07-01 04:10:32 -04:00
26 lines
488 B
C++
26 lines
488 B
C++
#include "basefilesystem.h"
|
|
|
|
#include "common/util/Assert.h"
|
|
|
|
#include "game/sce/iop.h"
|
|
|
|
using namespace iop;
|
|
namespace jak3 {
|
|
void jak3_overlord_init_globals_basefilesystem() {}
|
|
|
|
CBaseFileSystem::CBaseFileSystem() {
|
|
for (auto& sema : m_Sema) {
|
|
sema = -1;
|
|
|
|
SemaParam param;
|
|
param.max_count = 1;
|
|
param.attr = 0;
|
|
param.init_count = 1;
|
|
param.option = 0;
|
|
sema = CreateSema(¶m);
|
|
if (sema < 0) {
|
|
ASSERT_NOT_REACHED();
|
|
}
|
|
}
|
|
}
|
|
} // namespace jak3
|