Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
a68440c4
Commit
a68440c4
authored
1 year ago
by
Alam Ed Arias
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into next
parents
b86e77e5
662e1e06
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2355
fix newer versions of mixerx
Pipeline
#910
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/dummy/i_system.c
+11
-4
11 additions, 4 deletions
src/dummy/i_system.c
src/sdl/i_system.c
+5
-5
5 additions, 5 deletions
src/sdl/i_system.c
with
16 additions
and
9 deletions
src/dummy/i_system.c
+
11
−
4
View file @
a68440c4
...
...
@@ -14,13 +14,18 @@ size_t I_GetFreeMem(size_t *total)
return
0
;
}
void
I_Sleep
(
UINT32
ms
){}
void
I_Sleep
(
UINT32
ms
)
{
(
void
)
ms
;
}
precise_t
I_GetPreciseTime
(
void
)
{
precise_t
I_GetPreciseTime
(
void
)
{
return
0
;
}
UINT64
I_GetPrecisePrecision
(
void
)
{
UINT64
I_GetPrecisePrecision
(
void
)
{
return
1000000
;
}
...
...
@@ -182,6 +187,8 @@ const char *I_ClipboardPaste(void)
size_t
I_GetRandomBytes
(
char
*
destination
,
size_t
amount
)
{
(
void
)
destination
;
(
void
)
amount
;
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
src/sdl/i_system.c
+
5
−
5
View file @
a68440c4
...
...
@@ -3035,11 +3035,11 @@ size_t I_GetFreeMem(size_t *total)
#ifdef FREEBSD
u_int
v_free_count
,
v_page_size
,
v_page_count
;
size_t
size
=
sizeof
(
v_free_count
);
sysctlbyname
(
"vm.stat.vm.v_free_count"
,
&
v_free_count
,
&
size
,
NULL
,
0
);
size_t
size
=
sizeof
(
v_page_size
);
sysctlbyname
(
"vm.stat.vm.v_page_size"
,
&
v_page_size
,
&
size
,
NULL
,
0
);
size_t
size
=
sizeof
(
v_page_count
);
sysctlbyname
(
"vm.stat.vm.v_page_count"
,
&
v_page_count
,
&
size
,
NULL
,
0
);
sysctlbyname
(
"vm.stat
s
.vm.v_free_count"
,
&
v_free_count
,
&
size
,
NULL
,
0
);
size
=
sizeof
(
v_page_size
);
sysctlbyname
(
"vm.stat
s
.vm.v_page_size"
,
&
v_page_size
,
&
size
,
NULL
,
0
);
size
=
sizeof
(
v_page_count
);
sysctlbyname
(
"vm.stat
s
.vm.v_page_count"
,
&
v_page_count
,
&
size
,
NULL
,
0
);
if
(
total
)
*
total
=
v_page_count
*
v_page_size
;
...
...
This diff is collapsed.
Click to expand it.
candelavla
@lavla
mentioned in merge request
!2187 (merged)
·
1 year ago
mentioned in merge request
!2187 (merged)
mentioned in merge request !2187
Toggle commit list
candelavla
@lavla
mentioned in commit
bitten2up/SRB2-Android@b658a962
·
1 year ago
mentioned in commit
bitten2up/SRB2-Android@b658a962
mentioned in commit bitten2up/SRB2-Android@b658a9629ebd4799bb971fd4ba8c05fdee04f101
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment