Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix two warnings.
  • Loading branch information
jordan-woyak committed Jan 13, 2013
1 parent 65175a2 commit 6b8dc68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.cpp
Expand Up @@ -151,7 +151,7 @@ void FifoRecordAnalyzer::ProcessLoadTlut1()
void FifoRecordAnalyzer::ProcessPreloadTexture()
{
BPS_TmemConfig& tmem_cfg = m_BpMem->tmem_config;
u32 tmem_addr = tmem_cfg.preload_tmem_even * TMEM_LINE_SIZE;
//u32 tmem_addr = tmem_cfg.preload_tmem_even * TMEM_LINE_SIZE;
u32 size = tmem_cfg.preload_tile_info.count * TMEM_LINE_SIZE; // TODO: Should this be half size for RGBA8 preloads?

FifoRecorder::GetInstance().WriteMemory(tmem_cfg.preload_addr << 5, size, MemoryUpdate::TMEM);
Expand Down
Expand Up @@ -115,7 +115,6 @@ KeyboardMouse::Key::Key(Display* const display, KeyCode keycode, const char* key

ControlState KeyboardMouse::Key::GetState() const
{
const KeyCode shift = XKeysymToKeycode(m_display, XK_Shift_L);
return (m_keyboard[m_keycode / 8] & (1 << (m_keycode % 8))) != 0;
}

Expand Down

0 comments on commit 6b8dc68

Please sign in to comment.