mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 09:09:45 +00:00
23 lines
280 B
C++
23 lines
280 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "MessageManager.h"
|
|
|
|
class BaseLoader
|
|
{
|
|
protected:
|
|
bool _checkOnly;
|
|
|
|
void Log(string message)
|
|
{
|
|
if(!_checkOnly) {
|
|
MessageManager::Log(message);
|
|
}
|
|
}
|
|
|
|
public:
|
|
BaseLoader(bool checkOnly = false)
|
|
{
|
|
_checkOnly = checkOnly;
|
|
}
|
|
};
|