Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/citra-emu/citra
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwei1 committed Sep 7, 2019
2 parents 005aaac + 4bc22aa commit fc979e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/core/hle/service/gsp/gsp_gpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ static_assert(sizeof(CommandBuffer) == 0x200, "CommandBuffer struct has incorrec

class GSP_GPU;

struct SessionData : public Kernel::SessionRequestHandler::SessionDataBase {
class SessionData : public Kernel::SessionRequestHandler::SessionDataBase {
public:
SessionData();
SessionData(GSP_GPU* gsp);
~SessionData();
Expand Down
2 changes: 1 addition & 1 deletion src/core/hle/service/ptm/ptm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static GameCoin ReadGameCoinData() {
LOG_ERROR(Service_PTM, "Could not open the game coin data file!");
return default_game_coin;
}
u16 result;

auto gamecoin = std::move(gamecoin_result).Unwrap();
GameCoin gamecoin_data;
gamecoin->Read(0, sizeof(GameCoin), reinterpret_cast<u8*>(&gamecoin_data));
Expand Down
1 change: 0 additions & 1 deletion src/video_core/renderer_opengl/gl_shader_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,6 @@ struct Vertex {
semantic(VSOutputAttributes::POSITION_Y) + ", " +
semantic(VSOutputAttributes::POSITION_Z) + ", " +
semantic(VSOutputAttributes::POSITION_W) + ");\n";
semantic(VSOutputAttributes::POSITION_W) + ");\n";
out += " gl_Position = vtx_pos;\n";
out += "#if !defined(CITRA_GLES) || defined(GL_EXT_clip_cull_distance)\n";
out += " gl_ClipDistance[0] = -vtx_pos.z;\n"; // fixed PICA clipping plane z <= 0
Expand Down

0 comments on commit fc979e1

Please sign in to comment.