mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 00:07:59 +00:00
IPHONE: Add logMessage() implementation
This commit is contained in:
parent
50896e6029
commit
c06ddf2e57
@ -242,6 +242,18 @@ void OSystem_IPHONE::addSysArchivesToSearchSet(Common::SearchSet &s, int priorit
|
||||
}
|
||||
}
|
||||
|
||||
void OSystem_IPHONE::logMessage(LogMessageType::Type type, const char *message) {
|
||||
FILE *output = 0;
|
||||
|
||||
if (type == LogMessageType::kInfo || type == LogMessageType::kDebug)
|
||||
output = stdout;
|
||||
else
|
||||
output = stderr;
|
||||
|
||||
fputs(message, output);
|
||||
fflush(output);
|
||||
}
|
||||
|
||||
void iphone_main(int argc, char *argv[]) {
|
||||
|
||||
//OSystem_IPHONE::migrateApp();
|
||||
|
@ -180,6 +180,8 @@ public:
|
||||
|
||||
virtual Common::String getDefaultConfigFileName();
|
||||
|
||||
virtual void logMessage(LogMessageType::Type type, const char *message);
|
||||
|
||||
protected:
|
||||
void internUpdateScreen();
|
||||
void dirtyFullScreen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user