forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uae-0.8.26-uae_reset_args.diff
86 lines (80 loc) · 3.14 KB
/
uae-0.8.26-uae_reset_args.diff
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
diff -Naur uae-0.8.26.orig/src/ncurses.c uae-0.8.26/src/ncurses.c
--- uae-0.8.26.orig/src/ncurses.c 2007-08-05 20:01:58.000000000 +0400
+++ uae-0.8.26/src/ncurses.c 2007-08-12 18:36:33.000000000 +0400
@@ -595,7 +595,7 @@
if (ch == 16) --lastmy; /* ^P */
if (ch == 11) {buttonstate[0] = keydelay;ch = 0;} /* ^K */
if (ch == 25) {buttonstate[2] = keydelay;ch = 0;} /* ^Y */
- if (ch == 15) uae_reset (); /* ^O */
+ if (ch == 15) uae_reset (0); /* ^O */
if (ch == 17) uae_quit (); /* ^Q */
if (ch == KEY_F(1)) {
curses_insert_disk();
diff -Naur uae-0.8.26.orig/src/NeXTwin.m uae-0.8.26/src/NeXTwin.m
--- uae-0.8.26.orig/src/NeXTwin.m 1997-10-18 17:39:04.000000000 +0400
+++ uae-0.8.26/src/NeXTwin.m 2007-08-12 18:36:33.000000000 +0400
@@ -86,7 +86,7 @@
@implementation AmigaView
-reset:sender
{
- uae_reset();
+ uae_reset(0);
//m68k_reset();
return self;
}
diff -Naur uae-0.8.26.orig/src/od-beos/beos.cpp uae-0.8.26/src/od-beos/beos.cpp
--- uae-0.8.26.orig/src/od-beos/beos.cpp 2001-02-19 23:59:11.000000000 +0300
+++ uae-0.8.26/src/od-beos/beos.cpp 2007-08-12 18:36:33.000000000 +0400
@@ -719,7 +719,7 @@
uint32 mouse_buttons;
if (reset_thyself) {
- uae_reset();
+ uae_reset(0);
reset_thyself = false;
}
diff -Naur uae-0.8.26.orig/src/od-win32/keyboard.c uae-0.8.26/src/od-win32/keyboard.c
--- uae-0.8.26.orig/src/od-win32/keyboard.c 2007-08-06 00:23:08.000000000 +0400
+++ uae-0.8.26/src/od-win32/keyboard.c 2007-08-12 18:36:33.000000000 +0400
@@ -488,8 +488,8 @@
record_key ((akey << 1) + 1);
/* "Affengriff" */
- if( (keystate[AK_CTRL] || keystate[AK_RCTRL] ) && keystate[AK_LAMI] && keystate[AK_RAMI])uae_reset();
- //if( (keystate[AK_CTRL] || keystate[AK_RCTRL] ) && keystate[AK_RAMI])uae_reset();
+ if( (keystate[AK_CTRL] || keystate[AK_RCTRL] ) && keystate[AK_LAMI] && keystate[AK_RAMI])uae_reset(0);
+ //if( (keystate[AK_CTRL] || keystate[AK_RCTRL] ) && keystate[AK_RAMI])uae_reset(0);
return 0;
}
diff -Naur uae-0.8.26.orig/src/od-win32/win32gui.c uae-0.8.26/src/od-win32/win32gui.c
--- uae-0.8.26.orig/src/od-win32/win32gui.c 2007-08-06 00:23:08.000000000 +0400
+++ uae-0.8.26/src/od-win32/win32gui.c 2007-08-12 18:36:33.000000000 +0400
@@ -2260,7 +2260,7 @@
}
break;
case IDC_RESETAMIGA:
- uae_reset();
+ uae_reset(0);
break;
case IDC_QUITEMU:
uae_quit();
diff -Naur uae-0.8.26.orig/src/svga.c uae-0.8.26/src/svga.c
--- uae-0.8.26.orig/src/svga.c 2007-08-05 20:01:58.000000000 +0400
+++ uae-0.8.26/src/svga.c 2007-08-12 18:36:33.000000000 +0400
@@ -438,7 +438,7 @@
/* "Affengriff" */
if ((keystate[AK_CTRL] || keystate[AK_RCTRL]) && keystate[AK_LAMI] && keystate[AK_RAMI])
- uae_reset ();
+ uae_reset (0);
}
static void leave_graphics_mode (void)
diff -Naur uae-0.8.26.orig/src/tui.c uae-0.8.26/src/tui.c
--- uae-0.8.26.orig/src/tui.c 2007-08-12 18:35:41.000000000 +0400
+++ uae-0.8.26/src/tui.c 2007-08-12 18:36:33.000000000 +0400
@@ -683,7 +683,7 @@
case 0: DiskOptions (); break;
case 1: OtherOptions (); break;
case 2: save_settings (); break;
- case 3: uae_reset (); break;
+ case 3: uae_reset (0); break;
case 4: uae_quit (); break;
}
}