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
c566c09a
Commit
c566c09a
authored
May 14, 2010
by
Mustafa 'GnoStiC' TUFAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
14.05.2010
parent
097f1969
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
54 additions
and
0 deletions
+54
-0
main.c
src/main.c
+1
-0
misc.c
src/misc.c
+24
-0
main.c
src/od-amiga/main.c
+6
-0
main.cpp
src/od-beos/main.cpp
+6
-0
main.c
src/od-generic/main.c
+5
-0
main.m
src/od-macosx/main.m
+6
-0
main.c
src/od-win32/main.c
+6
-0
No files found.
src/main.c
View file @
c566c09a
...
@@ -910,6 +910,7 @@ static int real_main2 (int argc, char **argv)
...
@@ -910,6 +910,7 @@ static int real_main2 (int argc, char **argv)
init_m68k
();
/* must come after reset_frame_rate_hack (); */
init_m68k
();
/* must come after reset_frame_rate_hack (); */
gui_update
();
gui_update
();
target_startup_sequence
(
&
currprefs
);
if
(
graphics_init
())
{
if
(
graphics_init
())
{
#ifdef DEBUGGER
#ifdef DEBUGGER
...
...
src/misc.c
View file @
c566c09a
...
@@ -763,3 +763,27 @@ uae_u8 *save_log (int bootlog, int *len)
...
@@ -763,3 +763,27 @@ uae_u8 *save_log (int bootlog, int *len)
}
}
return
dst
;
return
dst
;
}
}
// --- win32gui.c
#define MAX_ROM_PATHS 10
int
scan_roms
(
int
show
)
{
TCHAR
path
[
MAX_DPATH
];
static
int
recursive
;
int
id
,
i
,
ret
,
keys
,
cnt
;
TCHAR
*
paths
[
MAX_ROM_PATHS
];
if
(
recursive
)
return
0
;
recursive
++
;
//FIXME:
cnt
=
0
;
ret
=
0
;
for
(
i
=
0
;
i
<
MAX_ROM_PATHS
;
i
++
)
paths
[
i
]
=
NULL
;
end:
recursive
--
;
return
ret
;
}
src/od-amiga/main.c
View file @
c566c09a
...
@@ -146,3 +146,9 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
...
@@ -146,3 +146,9 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
void
target_default_options
(
struct
uae_prefs
*
p
)
void
target_default_options
(
struct
uae_prefs
*
p
)
{
{
}
}
void
target_startup_sequence
(
struct
uae_prefs
*
p
)
{
scan_roms
(
1
);
}
src/od-beos/main.cpp
View file @
c566c09a
...
@@ -115,3 +115,9 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
...
@@ -115,3 +115,9 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
void
target_default_options
(
struct
uae_prefs
*
p
)
void
target_default_options
(
struct
uae_prefs
*
p
)
{
{
}
}
void
target_startup_sequence
(
struct
uae_prefs
*
p
)
{
scan_roms
(
1
);
}
src/od-generic/main.c
View file @
c566c09a
...
@@ -64,3 +64,8 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
...
@@ -64,3 +64,8 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
void
target_default_options
(
struct
uae_prefs
*
p
)
void
target_default_options
(
struct
uae_prefs
*
p
)
{
{
}
}
void
target_startup_sequence
(
struct
uae_prefs
*
p
)
{
scan_roms
(
1
);
}
src/od-macosx/main.m
View file @
c566c09a
...
@@ -404,3 +404,9 @@ void target_default_options (struct uae_prefs *p)
...
@@ -404,3 +404,9 @@ void target_default_options (struct uae_prefs *p)
{
{
p
->
use_gl
=
1
;
p
->
use_gl
=
1
;
}
}
void
target_startup_sequence
(
struct
uae_prefs
*
p
)
{
scan_roms
(
1
);
}
src/od-win32/main.c
View file @
c566c09a
...
@@ -244,3 +244,9 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
...
@@ -244,3 +244,9 @@ int target_parse_option (struct uae_prefs *p, const char *option, const char *va
void
target_default_options
(
struct
uae_prefs
*
p
)
void
target_default_options
(
struct
uae_prefs
*
p
)
{
{
}
}
void
target_startup_sequence
(
struct
uae_prefs
*
p
)
{
scan_roms
(
1
);
}
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