summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-05-05 00:47:42 +0200
committerarchshift <admin@archshift.com>2014-05-05 00:47:42 +0200
commitbd316ca0c0e244baf8f77b635eae85f744a62cf1 (patch)
tree419ef0082c522a1cfd5ba4e24440dbaa71d4a8c4 /src
parentCheck arg count before attempting to access it. (diff)
downloadyuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.tar
yuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.tar.gz
yuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.tar.bz2
yuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.tar.lz
yuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.tar.xz
yuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.tar.zst
yuzu-bd316ca0c0e244baf8f77b635eae85f744a62cf1.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra/citra.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp
index d8325772e..80896505f 100644
--- a/src/citra/citra.cpp
+++ b/src/citra/citra.cpp
@@ -25,13 +25,13 @@ int __cdecl main(int argc, char **argv) {
System::Init(emu_window);
std::string boot_filename;
-
- if (argc < 2) {
- ERROR_LOG(BOOT, "Failed to load ROM: No ROM specified");
- }
- else {
- boot_filename = argv[1];
- }
+
+ if (argc < 2) {
+ ERROR_LOG(BOOT, "Failed to load ROM: No ROM specified");
+ }
+ else {
+ boot_filename = argv[1];
+ }
std::string error_str;
bool res = Loader::LoadFile(boot_filename, &error_str);