GameList: use wut's ACP definition

This fixes building on the latest wut, since nn_acp_types.h includes title.h which redefines the function
This commit is contained in:
rw-r-r-0644 2020-05-02 21:55:04 +02:00
parent 36c92744b7
commit 58ae6ca1bf
No known key found for this signature in database
GPG Key ID: 9F89C03279187405

View File

@ -3,6 +3,7 @@
#include <string.h> #include <string.h>
#include <coreinit/mcp.h> #include <coreinit/mcp.h>
#include <nn/acp/nn_acp_types.h> #include <nn/acp/nn_acp_types.h>
#include <nn/acp/title.h>
#include <coreinit/cache.h> #include <coreinit/cache.h>
#include "utils/AsyncExecutor.h" #include "utils/AsyncExecutor.h"
@ -52,7 +53,6 @@ gameInfo * GameList::getGameInfo(uint64_t titleId){
return result; return result;
} }
extern "C" int ACPGetTitleMetaXml(uint64_t titleid, ACPMetaXml*);
int32_t GameList::readGameList() { int32_t GameList::readGameList() {
// Clear list // Clear list
for (auto const& x : fullGameList) { for (auto const& x : fullGameList) {