mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 00:50:04 +00:00
More PR fixes
This commit is contained in:
parent
5e4b592dc6
commit
3340a3a498
@ -207,7 +207,6 @@ void GRenderWindow::keyPressEvent(QKeyEvent* event)
|
||||
|
||||
button_reg |= GetKeyBinding(event);
|
||||
HID::SetButtonReg(button_reg);
|
||||
return;
|
||||
}
|
||||
|
||||
void GRenderWindow::keyReleaseEvent(QKeyEvent* event)
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include <map>
|
||||
#include <QThread>
|
||||
#include <QGLWidget>
|
||||
#include "common/common.h"
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
inline void Write(T &var, const u32 addr);
|
||||
|
||||
u32 size;
|
||||
u8* mem_ptr = NULL;
|
||||
u8* mem_ptr;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -48,6 +48,7 @@ SharedMemory* CreateSharedMemory(Handle& handle, u32 size) {
|
||||
SharedMemory* mem = new SharedMemory;
|
||||
handle = Kernel::g_object_pool.Create(mem);
|
||||
mem->size = size;
|
||||
mem->mem_ptr = nullptr;
|
||||
return mem;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ enum {
|
||||
OFFSET_BUTTONS = 0x1c,
|
||||
};
|
||||
|
||||
const int g_num_pad_items = 12;
|
||||
static const int g_num_pad_items = 12;
|
||||
|
||||
enum PAD {
|
||||
PAD_A = (1 << 0),
|
||||
|
Loading…
Reference in New Issue
Block a user