mirror of
https://github.com/tribes2/engine.git
synced 2026-01-21 20:24:46 +00:00
23 lines
582 B
C++
23 lines
582 B
C++
//-----------------------------------------------------------------------------
|
|
// V12 Engine
|
|
//
|
|
// Copyright (c) 2001 GarageGames.Com
|
|
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "PlatformPPC/platformPPC.h"
|
|
#include "PlatformPPC/ppcUtils.h"
|
|
|
|
void ppcGetWorkingDirectory()
|
|
{
|
|
WDPBRec rec;
|
|
rec.ioCompletion = NULL;
|
|
rec.ioNamePtr = NULL;
|
|
|
|
// get the current vRefNum and dirID
|
|
PBHGetVolSync( &rec );
|
|
|
|
ppcState.volRefNum = rec.ioWDVRefNum;
|
|
ppcState.dirID = rec.ioWDDirID;
|
|
}
|