Compile fixes for GCC

This commit is contained in:
Connor McLaughlin
2019-10-22 23:07:51 +10:00
parent dc7b72b156
commit a76ec6fc19
19 changed files with 47 additions and 52 deletions

View File

@ -4,6 +4,7 @@
#include "types.h"
#include <array>
#include <deque>
#include <memory>
#include <vector>
class StateWrapper;
@ -355,7 +356,7 @@ protected:
private:
using GP0CommandHandler = bool (GPU::*)(const u32*&, u32);
using GP0CommandHandlerTable = std::array<GP0CommandHandler, 256>;
static constexpr GP0CommandHandlerTable GenerateGP0CommandHandlerTable();
static GP0CommandHandlerTable GenerateGP0CommandHandlerTable();
// Rendering commands, returns false if not enough data is provided
bool HandleUnknownGP0Command(const u32*& command_ptr, u32 command_size);