mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix compiler warnings
This commit is contained in:
parent
58a7f0cf21
commit
cdda203438
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ void GeDisassembleOp(u32 pc, u32 op, u32 prev, char *buffer, int bufsize) {
|
|||
u32 cmd = op >> 24;
|
||||
u32 data = op & 0xFFFFFF;
|
||||
|
||||
static constexpr char *primTypes[8] = {
|
||||
static const char * const primTypes[8] = {
|
||||
"POINTS",
|
||||
"LINES",
|
||||
"LINE_STRIP",
|
||||
|
@ -765,7 +765,7 @@ void GeDisassembleOp(u32 pc, u32 op, u32 prev, char *buffer, int bufsize) {
|
|||
float g = (float)((data>>8) & 0xff)/255.0f;
|
||||
float b = (float)(data>>16)/255.0f;
|
||||
|
||||
static constexpr char *lightColorTypes[] = {
|
||||
static const char * const lightColorTypes[] = {
|
||||
"ambient",
|
||||
"diffuse",
|
||||
"specular",
|
||||
|
|
Loading…
Add table
Reference in a new issue