mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes proper `extern` wrappers.
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
namespace ObjectFactory
|
||||
{
|
||||
void ReadObjectLegacy(Object * object, IReadObjectContext * context, IStream * stream)
|
||||
static void ReadObjectLegacy(Object * object, IReadObjectContext * context, IStream * stream)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -102,7 +102,7 @@ namespace ObjectFactory
|
||||
}
|
||||
}
|
||||
|
||||
MemoryStream * GetDecodedChunkStream(IReadObjectContext * context, SDL_RWops * file)
|
||||
static MemoryStream * GetDecodedChunkStream(IReadObjectContext * context, SDL_RWops * file)
|
||||
{
|
||||
size_t bufferSize = 0x600000;
|
||||
void * buffer = Memory::Allocate<void>(bufferSize);
|
||||
|
||||
Reference in New Issue
Block a user