mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Bonk
This commit is contained in:
parent
79457d2b62
commit
42bb581cc1
1 changed files with 2 additions and 1 deletions
|
@ -120,6 +120,7 @@ void MainWindow::emuThreadMainLoop() {
|
|||
|
||||
emu->runFrame();
|
||||
pollControllers();
|
||||
|
||||
if (emu->romType != ROMType::None) {
|
||||
emu->getServiceManager().getHID().updateInputs(emu->getTicks());
|
||||
}
|
||||
|
@ -459,8 +460,8 @@ void MainWindow::pollControllers() {
|
|||
|
||||
SDL_Event event;
|
||||
while (SDL_PollEvent(&event)) {
|
||||
using namespace HID;
|
||||
HIDService& hid = emu->getServiceManager().getHID();
|
||||
using namespace HID;
|
||||
|
||||
switch (event.type) {
|
||||
case SDL_CONTROLLERDEVICEADDED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue