Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
11 lines
257 B
C++
11 lines
257 B
C++
#include "stdafx.h"
|
|
#include "File.h"
|
|
#include "InputOutputStream.h"
|
|
#include "InputStream.h"
|
|
|
|
InputStream *InputStream::getResourceAsStream(const wstring &fileName)
|
|
{
|
|
File file( fileName );
|
|
|
|
return file.exists() ? new FileInputStream( file ) : nullptr;
|
|
} |