scummvm/test/null_osystem.cpp
2021-06-23 21:29:53 +02:00

27 lines
541 B
C++

#define USE_NULL_DRIVER 1
#define NULL_DRIVER_USE_FOR_TEST 1
#include "null_osystem.h"
#include "../backends/platform/null/null.cpp"
void Common::install_null_g_system() {
g_system = OSystem_NULL_create();
}
bool BaseBackend::setScaler(const char *name, int factor) {
return false;
}
void BaseBackend::displayMessageOnOSD(const Common::U32String &msg) {
}
void BaseBackend::initBackend() {
OSystem::initBackend();
}
void BaseBackend::fillScreen(uint32 col) {
}
void EventsBaseBackend::initBackend() {
BaseBackend::initBackend();
}