VERY experimental Nintendo Switch 2 emulator
C++
Comment out empty arrays causing compile errors in MSVC
Yuri Kunde Schlesner082bf803aba5
diff --git a/src/core/hle/service/am_app.cpp b/src/core/hle/service/am_app.cppindex 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 classInterface::Interface() {- Register(FunctionTable, ARRAY_SIZE(FunctionTable));+ //Register(FunctionTable, ARRAY_SIZE(FunctionTable));}} // namespacediff --git a/src/core/hle/service/cecd_u.cpp b/src/core/hle/service/cecd_u.cppindex 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 classInterface::Interface() {- Register(FunctionTable, ARRAY_SIZE(FunctionTable));+ //Register(FunctionTable, ARRAY_SIZE(FunctionTable));}} // namespace