Browse Source

Comment out empty arrays causing compile errors in MSVC

pull/15/merge
Yuri Kunde Schlesner 11 years ago
parent
commit
082bf803ab
  1. 7
      src/core/hle/service/am_app.cpp
  2. 7
      src/core/hle/service/cecd_u.cpp

7
src/core/hle/service/am_app.cpp

@ -11,13 +11,14 @@
namespace AM_APP { 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 class
Interface::Interface() { Interface::Interface() {
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
} }
} // namespace } // namespace

7
src/core/hle/service/cecd_u.cpp

@ -11,13 +11,14 @@
namespace CECD_U { 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 class
Interface::Interface() { Interface::Interface() {
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
} }
} // namespace } // namespace
Loading…
Cancel
Save