summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorChin <chin.bimbo@gmail.com>2014-12-20 04:16:34 +0100
committerChin <chin.bimbo@gmail.com>2014-12-20 16:03:36 +0100
commite7956926147d2d2ac6741aee8a150466a5438ca3 (patch)
tree8a06a500c34248c12fff47998131742c4ca72390 /src/core/loader
parentMerge pull request #309 from chinhodado/patch-1 (diff)
downloadyuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar
yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.gz
yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.bz2
yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.lz
yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.xz
yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.tar.zst
yuzu-e7956926147d2d2ac6741aee8a150466a5438ca3.zip
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/3dsx.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/loader/3dsx.cpp b/src/core/loader/3dsx.cpp
index 0437e5374..3d84fc5da 100644
--- a/src/core/loader/3dsx.cpp
+++ b/src/core/loader/3dsx.cpp
@@ -223,9 +223,7 @@ int THREEDSXReader::Load3DSXFile(const std::string& filename, u32 base_addr)
LOG_INFO(Loader, "Loading 3DSX file %s...", filename.c_str());
FileUtil::IOFile file(filename, "rb");
if (file.IsOpen()) {
-
- THREEDSXReader reader;
- reader.Load3DSXFile(filename, 0x00100000);
+ THREEDSXReader::Load3DSXFile(filename, 0x00100000);
Kernel::LoadExec(0x00100000);
} else {
return ResultStatus::Error;