diff options
| author | 2014-12-16 01:37:13 -0200 | |
|---|---|---|
| committer | 2014-12-16 01:37:13 -0200 | |
| commit | 082bf803aba518f7e8dfce2c0e344ebadb5b9f46 (patch) | |
| tree | 03b2a5c4ada7593d2ca66e09b552b1796263fb19 | |
| parent | Merge pull request #283 from yuriks/archive-refactor (diff) | |
| download | yuzu-082bf803aba518f7e8dfce2c0e344ebadb5b9f46.tar.gz yuzu-082bf803aba518f7e8dfce2c0e344ebadb5b9f46.tar.xz yuzu-082bf803aba518f7e8dfce2c0e344ebadb5b9f46.zip | |
Comment out empty arrays causing compile errors in MSVC
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/am_app.cpp | 7 | ||||
| -rw-r--r-- | 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 05c34832b..b8b06418c 100644 --- a/src/core/hle/service/am_app.cpp +++ b/src/core/hle/service/am_app.cpp | |||
| @@ -11,13 +11,14 @@ | |||
| 11 | 11 | ||
| 12 | namespace AM_APP { | 12 | namespace AM_APP { |
| 13 | 13 | ||
| 14 | const Interface::FunctionInfo FunctionTable[] = { | 14 | // Empty arrays are illegal -- commented out until an entry is added. |
| 15 | }; | 15 | //const Interface::FunctionInfo FunctionTable[] = { }; |
| 16 | |||
| 16 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 17 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 17 | // Interface class | 18 | // Interface class |
| 18 | 19 | ||
| 19 | Interface::Interface() { | 20 | Interface::Interface() { |
| 20 | Register(FunctionTable, ARRAY_SIZE(FunctionTable)); | 21 | //Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
| 21 | } | 22 | } |
| 22 | 23 | ||
| 23 | } // namespace | 24 | } // namespace |
diff --git a/src/core/hle/service/cecd_u.cpp b/src/core/hle/service/cecd_u.cpp index d72f1da3f..25d903516 100644 --- a/src/core/hle/service/cecd_u.cpp +++ b/src/core/hle/service/cecd_u.cpp | |||
| @@ -11,13 +11,14 @@ | |||
| 11 | 11 | ||
| 12 | namespace CECD_U { | 12 | namespace CECD_U { |
| 13 | 13 | ||
| 14 | const Interface::FunctionInfo FunctionTable[] = { | 14 | // Empty arrays are illegal -- commented out until an entry is added. |
| 15 | }; | 15 | //const Interface::FunctionInfo FunctionTable[] = { }; |
| 16 | |||
| 16 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 17 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 17 | // Interface class | 18 | // Interface class |
| 18 | 19 | ||
| 19 | Interface::Interface() { | 20 | Interface::Interface() { |
| 20 | Register(FunctionTable, ARRAY_SIZE(FunctionTable)); | 21 | //Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
| 21 | } | 22 | } |
| 22 | 23 | ||
| 23 | } // namespace | 24 | } // namespace |