diff --git a/Src/Graphics/Shader.h b/Src/Graphics/Shader.h index fd7f4ca..ea52711 100644 --- a/Src/Graphics/Shader.h +++ b/Src/Graphics/Shader.h @@ -53,8 +53,8 @@ * OKAY is successfully loaded, otherwise FAIL. Prints own error messages. */ extern bool LoadShaderProgram(GLuint *shaderProgramPtr, GLuint *vertexShaderPtr, - GLuint *fragmentShaderPtr, std::string vsFile, - std::string fsFile, const char *vsString, + GLuint *fragmentShaderPtr, const std::string& vsFile, + const std::string& fsFile, const char *vsString, const char *fsString); /* diff --git a/Src/Network/INetBoard.h b/Src/Network/INetBoard.h index cba9e3b..2a3a1fa 100644 --- a/Src/Network/INetBoard.h +++ b/Src/Network/INetBoard.h @@ -41,7 +41,7 @@ public: virtual bool Init(UINT8* netRAMPtr, UINT8* netBufferPtr) = 0; - virtual void GetGame(Game) = 0; + virtual void GetGame(const Game&) = 0; virtual UINT8 ReadCommRAM8(unsigned addr) = 0; virtual UINT16 ReadCommRAM16(unsigned addr) = 0;