Updates to the recent OSystem API changes

svn-id: r33719
This commit is contained in:
Andre Heider 2008-08-09 18:37:18 +00:00
parent 71f4a15e4e
commit f098b2817f
2 changed files with 7 additions and 3 deletions

View File

@ -89,8 +89,12 @@ OSystem_Wii::~OSystem_Wii() {
void OSystem_Wii::initBackend() {
_startup_time = gettime();
char buf[MAXPATHLEN];
if (!getcwd(buf, MAXPATHLEN))
strcpy(buf, "/");
_savefile = new DefaultSaveFileManager();
_savefile = new DefaultSaveFileManager(buf);
_mixer = new Audio::MixerImpl(this);
_timer = new DefaultTimerManager();

View File

@ -22,9 +22,9 @@
#ifndef _WII_OSYSTEM_H_
#define _WII_OSYSTEM_H_
#include "common/system.h"
#include "base/main.h"
#include "common/system.h"
#include "common/fs.h"
#include "common/rect.h"
#include "common/events.h"