aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2014-12-15 22:52:35 -0500
committerGravatar bunnei <bunneidev@gmail.com>2014-12-15 22:52:35 -0500
commitcdfa7157eb1199056a5ccb8913fe4e89d3e30f68 (patch)
treeeffcafa78b587e5994d2c282a32195b6988d156c /src
parenta8098187aa4aab222e9cf511768c28649f798b8f (diff)
parent082bf803aba518f7e8dfce2c0e344ebadb5b9f46 (diff)
Merge pull request #286 from yuriks/msvc-fix
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