summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-30 17:34:51 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-30 18:02:41 +0200
commit691a42fe98954c247a8b7e9305a3e9ca5c04d40c (patch)
tree52b6a286b6609675cbc69c63b3aa9f695ea95f0f /src/video_core/pica.cpp
parentLCD: Remove unneeded #undef with no matching #define. (diff)
downloadyuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.gz
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.bz2
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.lz
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.xz
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.zst
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.zip
Diffstat (limited to 'src/video_core/pica.cpp')
-rw-r--r--src/video_core/pica.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/pica.cpp b/src/video_core/pica.cpp
index ccbaf071b..be82cf4b5 100644
--- a/src/video_core/pica.cpp
+++ b/src/video_core/pica.cpp
@@ -3,10 +3,13 @@
// Refer to the license.txt file included.
#include <cstring>
+#include <iterator>
#include <unordered_map>
+#include <utility>
#include "video_core/pica.h"
#include "video_core/pica_state.h"
+#include "video_core/primitive_assembly.h"
#include "video_core/shader/shader.h"
namespace Pica {
@@ -480,7 +483,7 @@ std::string Regs::GetCommandName(int index) {
static std::unordered_map<u32, const char*> map;
if (map.empty()) {
- map.insert(begin(register_names), end(register_names));
+ map.insert(std::begin(register_names), std::end(register_names));
}
// Return empty string if no match is found