Skip to content

Commit f9fbda3

Browse files
committed
[GUI] Change some GL code [SIO] Remove debug printf
1 parent ac181e8 commit f9fbda3

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/core/sio.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,6 @@ void PCSX::SIO::GetMcdBlockInfo(int mcd, int block, McdBlock *Info) {
812812
Info->Flags = directoryFrame[0];
813813
std::strncpy(Info->ID, (const char*) &directoryFrame[0xa], 12);
814814
std::strncpy(Info->Name, (const char*) &directoryFrame[0x16], 16);
815-
g_system->printf("ID: %s\nName: %s\n", Info->ID, Info->Name);
816815

817816
const uint32_t fileSize =
818817
directoryFrame[0x4] | (directoryFrame[0x5] << 8) | (directoryFrame[0x6] << 16) | (directoryFrame[0x7] << 24);

src/gui/gui.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,15 +631,10 @@ void PCSX::GUI::flip() {
631631

632632
glClearColor(0, 0, 0, 0);
633633
glClearDepthf(0.f);
634-
635634
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
636635

637-
glFrontFace(GL_CW);
638-
glCullFace(GL_BACK);
639-
glEnable(GL_CULL_FACE);
640-
641636
glDisable(GL_CULL_FACE);
642-
m_currentTexture = m_currentTexture ? 0 : 1;
637+
m_currentTexture ^= 1;
643638
}
644639

645640
void PCSX::GUI::endFrame() {

0 commit comments

Comments
 (0)