aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-02-13 02:07:54 +0100
committerStapleButter <thetotalworm@gmail.com>2017-02-13 02:07:54 +0100
commit361ddd7595671a907ebdecfaf6b0fcba499c9e07 (patch)
tree2151088760e39fa328507b81d8db51b870ff6ed4 /main.cpp
parent15c8d59e2b0f1aada8804b363515dcd146c702d7 (diff)
* fix GXFIFO decoding
* proper SwapBuffers implementation * fix polygon clipping * misc fixes
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 600cdbf..7600102 100644
--- a/main.cpp
+++ b/main.cpp
@@ -85,6 +85,8 @@ LRESULT CALLBACK derpo(HWND window, UINT msg, WPARAM wparam, LPARAM lparam)
case VK_RIGHT: NDS::PressKey(4); break;
case 'A': NDS::PressKey(0); break;
case 'B': NDS::PressKey(1); break;
+ case 'L': NDS::PressKey(9); break;
+ case 'R': NDS::PressKey(8); break;
case 'D': NDS::debug(0); break;
}
return 0;
@@ -100,6 +102,8 @@ LRESULT CALLBACK derpo(HWND window, UINT msg, WPARAM wparam, LPARAM lparam)
case VK_RIGHT: NDS::ReleaseKey(4); break;
case 'A': NDS::ReleaseKey(0); break;
case 'B': NDS::ReleaseKey(1); break;
+ case 'L': NDS::ReleaseKey(9); break;
+ case 'R': NDS::ReleaseKey(8); break;
}
return 0;