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
3b83c797
Commit
3b83c797
authored
Jul 14, 2011
by
CeRiAl
Committed by
CeRiAl
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation fixes
parent
b7074843
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
43 deletions
+82
-43
sdlgfx.c
src/gfx-sdl/sdlgfx.c
+32
-32
sysconfig.h.in
src/sysconfig.h.in
+50
-11
No files found.
src/gfx-sdl/sdlgfx.c
View file @
3b83c797
...
...
@@ -1057,6 +1057,38 @@ static int graphics_subinit_gl (void)
#endif
/* USE_GL */
void
setmaintitle
(
void
)
{
TCHAR
txt
[
1000
],
txt2
[
500
];
const
char
*
title
=
PACKAGE_NAME
;
txt
[
0
]
=
0
;
#ifdef INPREC
inprec_getstatus
(
txt
);
#endif
if
(
currprefs
.
config_window_title
[
0
])
{
_tcscat
(
txt
,
currprefs
.
config_window_title
);
_tcscat
(
txt
,
" - "
);
}
else
if
(
config_filename
[
0
])
{
_tcscat
(
txt
,
"["
);
_tcscat
(
txt
,
config_filename
);
_tcscat
(
txt
,
"] - "
);
}
_tcscat
(
txt
,
title
);
txt2
[
0
]
=
0
;
/* if (mouseactive > 0) {
WIN32GUI_LoadUIString (currprefs.win32_middle_mouse ? IDS_WINUAETITLE_MMB : IDS_WINUAETITLE_NORMAL,
txt2, sizeof (txt2) / sizeof (TCHAR));
}
*/
if
(
txt2
[
0
])
{
_tcscat
(
txt
,
" - "
);
_tcscat
(
txt
,
txt2
);
}
SDL_WM_SetCaption
(
txt
,
txt
);
}
static
int
graphics_subinit
(
void
)
{
#ifdef USE_GL
...
...
@@ -2227,35 +2259,3 @@ int target_checkcapslock (int scancode, int *state)
// *state = host_scrolllockstate;
return
1
;
}
void
setmaintitle
(
void
)
{
TCHAR
txt
[
1000
],
txt2
[
500
];
const
char
*
title
=
PACKAGE_NAME
;
txt
[
0
]
=
0
;
#ifdef INPREC
inprec_getstatus
(
txt
);
#endif
if
(
currprefs
.
config_window_title
[
0
])
{
_tcscat
(
txt
,
currprefs
.
config_window_title
);
_tcscat
(
txt
,
" - "
);
}
else
if
(
config_filename
[
0
])
{
_tcscat
(
txt
,
"["
);
_tcscat
(
txt
,
config_filename
);
_tcscat
(
txt
,
"] - "
);
}
_tcscat
(
txt
,
title
);
txt2
[
0
]
=
0
;
/* if (mouseactive > 0) {
WIN32GUI_LoadUIString (currprefs.win32_middle_mouse ? IDS_WINUAETITLE_MMB : IDS_WINUAETITLE_NORMAL,
txt2, sizeof (txt2) / sizeof (TCHAR));
}
*/
if
(
txt2
[
0
])
{
_tcscat
(
txt
,
" - "
);
_tcscat
(
txt
,
txt2
);
}
SDL_WM_SetCaption
(
txt
,
txt
);
}
src/sysconfig.h.in
View file @
3b83c797
/* src/sysconfig.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* CPU is 64bit */
#undef CPU_64_BIT
...
...
@@ -168,7 +171,7 @@
/* Define to 1 if you have the `strstr' function. */
#undef HAVE_STRSTR
/* Define to 1 if `st_blocks' is member of `struct stat'. */
/* Define to 1 if `st_blocks' is
a
member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BLOCKS
/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
...
...
@@ -303,6 +306,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
...
...
@@ -374,29 +380,62 @@
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif
/* Version number of package */
#undef VERSION
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* Define to 1 if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to 1 if on MINIX. */
#undef _MINIX
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
...
...
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