Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PUAE
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
PUAE
Commits
358777a3
Commit
358777a3
authored
Nov 21, 2010
by
Mustafa 'GnoStiC' TUFAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
puae 2.3.1
parent
7d9b7ea8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
cfgfile.c
src/cfgfile.c
+1
-1
xwin.c
src/gfx-x11/xwin.c
+13
-13
No files found.
src/cfgfile.c
View file @
358777a3
src/gfx-x11/xwin.c
View file @
358777a3
...
...
@@ -813,7 +813,7 @@ static void graphics_subinit (void)
if
(
need_dither
)
{
gfxvidinfo
.
maxblocklines
=
0
;
gfxvidinfo
.
rowbytes
=
gfxvidinfo
.
pixbytes
*
currprefs
.
gfx_
width_win
;
gfxvidinfo
.
rowbytes
=
gfxvidinfo
.
pixbytes
*
currprefs
.
gfx_
size_win
.
width
;
gfxvidinfo
.
linemem
=
malloc
(
gfxvidinfo
.
rowbytes
);
gfxvidinfo
.
flush_line
=
x11_flush_line_dither
;
}
else
if
(
!
dgamode
)
{
...
...
@@ -907,10 +907,10 @@ int graphics_init (void)
fixup_prefs_dimensions
(
&
currprefs
);
gfxvidinfo
.
width
=
currprefs
.
gfx_
width_win
;
gfxvidinfo
.
height
=
currprefs
.
gfx_
height_win
;
current_width
=
currprefs
.
gfx_
width_win
;
current_height
=
currprefs
.
gfx_
height_win
;
gfxvidinfo
.
width
=
currprefs
.
gfx_
size_win
.
width
;
gfxvidinfo
.
height
=
currprefs
.
gfx_
size_win
.
height
;
current_width
=
currprefs
.
gfx_
size_win
.
width
;
current_height
=
currprefs
.
gfx_
size_win
.
height
;
cmap
=
XCreateColormap
(
display
,
rootwin
,
vis
,
AllocNone
);
cmap2
=
XCreateColormap
(
display
,
rootwin
,
vis
,
AllocNone
);
...
...
@@ -1215,12 +1215,12 @@ void handle_events (void)
int
check_prefs_changed_gfx
(
void
)
{
if
(
changed_prefs
.
gfx_
width_win
!=
currprefs
.
gfx_width_win
||
changed_prefs
.
gfx_
height_win
!=
currprefs
.
gfx_height_win
)
if
(
changed_prefs
.
gfx_
size_win
.
width
!=
currprefs
.
gfx_size_win
.
width
||
changed_prefs
.
gfx_
size_win
.
height
!=
currprefs
.
gfx_size_win
.
height
)
fixup_prefs_dimensions
(
&
changed_prefs
);
if
(
changed_prefs
.
gfx_
width_win
==
currprefs
.
gfx_width_win
&&
changed_prefs
.
gfx_
height_win
==
currprefs
.
gfx_height_win
if
(
changed_prefs
.
gfx_
size_win
.
width
==
currprefs
.
gfx_size_win
.
width
&&
changed_prefs
.
gfx_
size_win
.
height
==
currprefs
.
gfx_size_win
.
height
&&
changed_prefs
.
gfx_vresolution
==
currprefs
.
gfx_vresolution
&&
changed_prefs
.
gfx_xcenter
==
currprefs
.
gfx_xcenter
&&
changed_prefs
.
gfx_ycenter
==
currprefs
.
gfx_ycenter
...
...
@@ -1229,8 +1229,8 @@ int check_prefs_changed_gfx (void)
return
0
;
graphics_subshutdown
();
currprefs
.
gfx_
width_win
=
changed_prefs
.
gfx_width_win
;
currprefs
.
gfx_
height_win
=
changed_prefs
.
gfx_height_win
;
currprefs
.
gfx_
size_win
.
width
=
changed_prefs
.
gfx_size_win
.
width
;
currprefs
.
gfx_
size_win
.
height
=
changed_prefs
.
gfx_size_win
.
height
;
currprefs
.
gfx_vresolution
=
changed_prefs
.
gfx_vresolution
;
currprefs
.
gfx_xcenter
=
changed_prefs
.
gfx_xcenter
;
currprefs
.
gfx_ycenter
=
changed_prefs
.
gfx_ycenter
;
...
...
@@ -1447,7 +1447,7 @@ static void set_window_for_picasso (void)
#endif
}
void
gfx_set_picasso_modeinfo
(
uae_u32
w
,
uae_u32
h
,
uae_u32
depth
,
int
rgbfmt
)
void
gfx_set_picasso_modeinfo
(
uae_u32
w
,
uae_u32
h
,
uae_u32
depth
,
RGBFTYPE
rgbfmt
)
{
picasso_vidinfo
.
width
=
w
;
picasso_vidinfo
.
height
=
h
;
...
...
@@ -1695,7 +1695,7 @@ static int init_kb (void)
{
if
(
currprefs
.
map_raw_keys
)
{
if
(
rawkeys_available
)
{
inputdevice_setkeytranslation
(
raw_keyboard
,
kbmaps
);
//
inputdevice_setkeytranslation (raw_keyboard, kbmaps);
set_default_hotkeys
(
x11pc_hotkeys
);
write_log
(
"X11GFX: Enabling raw key-mapping.
\n
"
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment