Remove use of SDL RWOps from title sequence player

This commit is contained in:
Ted John committed 2017-02-02 22:00:01 +00:00
1 parent 5d7a712672
commit fed4c248e3
13 files changed
+134 -45

No files matched your search

+2 -1
View File
@@ -14,6 +14,7 @@
*****************************************************************************/
#pragma endregion
#include <memory>
#include "../common.h"
#include "../core/Console.hpp"
#include "../core/Exception.hpp"
@@ -109,9 +110,9 @@ exitcode_t CommandLine::HandleCommandConvert(CommandLineArgEnumerator * enumerat
if (sourceFileType == FILE_EXTENSION_SV4 ||
sourceFileType == FILE_EXTENSION_SC4)
{
auto s4Importer = CreateS4Importer();
try
{
auto s4Importer = std::unique_ptr<IParkImporter>(ParkImporter::CreateS4());
if (sourceFileType == FILE_EXTENSION_SC4)
{
s4Importer->LoadScenario(sourcePath);