mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 15:10:10 +00:00
changed paddr_buttons to vaddr
This commit is contained in:
parent
6682f9173b
commit
3285b3c168
@ -15,7 +15,7 @@ inline void Write(u32 addr, const T data) {
|
|||||||
|
|
||||||
//TODO: replace with an interface that doesnt suck (bravia)
|
//TODO: replace with an interface that doesnt suck (bravia)
|
||||||
void SetButtonReg(u32 buttonData) {
|
void SetButtonReg(u32 buttonData) {
|
||||||
Memory::Write32(PADDR_BUTTONS, buttonData);
|
Memory::Write32(VADDR_BUTTONS, buttonData);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Update hardware
|
/// Update hardware
|
||||||
|
@ -13,7 +13,7 @@ struct Registers {
|
|||||||
extern Registers g_regs;
|
extern Registers g_regs;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PADDR_BUTTONS = 0x1000001c, //TODO: it works using the shared mem mapping with all homebrew tested, however the wiki states 0x10146000 as the paddr
|
VADDR_BUTTONS = 0x1000001c, //TODO: it works using the shared mem mapping with all homebrew tested, however the wiki states 0x10146000 as the paddr
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user