aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-12-16 01:37:13 -0200
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-12-16 01:37:13 -0200
commit082bf803aba518f7e8dfce2c0e344ebadb5b9f46 (patch)
tree03b2a5c4ada7593d2ca66e09b552b1796263fb19 /src
parentcd2a31eaf4a35568a18840eba7d3cdac59881d2f (diff)
Comment out empty arrays causing compile errors in MSVC
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/am_app.cpp7
-rw-r--r--src/core/hle/service/cecd_u.cpp7
2 files changed, 8 insertions, 6 deletions
diff --git a/src/core/hle/service/am_app.cpp b/src/core/hle/service/am_app.cpp
index 05c34832..b8b06418 100644
--- a/src/core/hle/service/am_app.cpp
+++ b/src/core/hle/service/am_app.cpp
@@ -11,13 +11,14 @@
namespace AM_APP {
-const Interface::FunctionInfo FunctionTable[] = {
-};
+// Empty arrays are illegal -- commented out until an entry is added.
+//const Interface::FunctionInfo FunctionTable[] = { };
+
////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface class
Interface::Interface() {
- Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+ //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
}
} // namespace
diff --git a/src/core/hle/service/cecd_u.cpp b/src/core/hle/service/cecd_u.cpp
index d72f1da3..25d90351 100644
--- a/src/core/hle/service/cecd_u.cpp
+++ b/src/core/hle/service/cecd_u.cpp
@@ -11,13 +11,14 @@
namespace CECD_U {
-const Interface::FunctionInfo FunctionTable[] = {
-};
+// Empty arrays are illegal -- commented out until an entry is added.
+//const Interface::FunctionInfo FunctionTable[] = { };
+
////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface class
Interface::Interface() {
- Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+ //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
}
} // namespace