engine/platformPPC/ppcUtils.cc

23 lines
582 B
C++
Raw Permalink Normal View History

2024-01-07 04:36:33 +00:00
//-----------------------------------------------------------------------------
// 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;
}