blob: 10a0df94c1ca4d27d7eb438dd0ee9b489b1838ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
Index: REminiscence-0.2.1/systemstub_sdl.cpp
===================================================================
--- REminiscence-0.2.1.orig/systemstub_sdl.cpp
+++ REminiscence-0.2.1/systemstub_sdl.cpp
@@ -403,12 +403,12 @@ while (true) {
if (ev.key.keysym.mod & KMOD_ALT) {
if (ev.key.keysym.sym == SDLK_RETURN) {
switchGfxMode(!_fullscreen, _currentScaler);
- } else if (ev.key.keysym.sym == SDLK_KP_PLUS) {
+ } else if (ev.key.keysym.sym == SDLK_PLUS) {
uint8 s = _currentScaler + 1;
if (s < NUM_SCALERS) {
switchGfxMode(_fullscreen, s);
}
- } else if (ev.key.keysym.sym == SDLK_KP_MINUS) {
+ } else if (ev.key.keysym.sym == SDLK_MINUS) {
int8 s = _currentScaler - 1;
if (_currentScaler > 0) {
switchGfxMode(_fullscreen, s);
@@ -429,9 +429,9 @@ while (true) {
_pi.save = true;
} else if (ev.key.keysym.sym == SDLK_l) {
_pi.load = true;
- } else if (ev.key.keysym.sym == SDLK_KP_PLUS) {
+ } else if (ev.key.keysym.sym == SDLK_PLUS) {
_pi.stateSlot = 1;
- } else if (ev.key.keysym.sym == SDLK_KP_MINUS) {
+ } else if (ev.key.keysym.sym == SDLK_MINUS) {
_pi.stateSlot = -1;
} else if (ev.key.keysym.sym == SDLK_r) {
_pi.inpRecord = true;
|