From 082bf803aba518f7e8dfce2c0e344ebadb5b9f46 Mon Sep 17 00:00:00 2001
From: Yuri Kunde Schlesner <yuriks@yuriks.net>
Date: Tue, 16 Dec 2014 01:37:13 -0200
Subject: [PATCH] Comment out empty arrays causing compile errors in MSVC

---
 src/core/hle/service/am_app.cpp | 7 ++++---
 src/core/hle/service/cecd_u.cpp | 7 ++++---
 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 05c34832b7..b8b06418c1 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 d72f1da3f3..25d9035165 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