Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
330e7c01
Commit
330e7c01
authored
6 years ago
by
Nagy Tibor
Browse files
Options
Downloads
Patches
Plain Diff
dosbox: Fix keyboard input
parent
ea4e29ae
No related branches found
No related tags found
1 merge request
!152
dosbox: Fix keyboard input
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes/dosbox/01_redox.patch
+17
-4
17 additions, 4 deletions
recipes/dosbox/01_redox.patch
with
17 additions
and
4 deletions
recipes/dosbox/01_redox.patch
+
17
−
4
View file @
330e7c01
--- source/include/cross_orig.h 2017-10-25 01:51:53.148610915 +0200
diff -rupNw source-original/include/cross.h source/include/cross.h
+++ source/include/cross.h 2017-10-25 00:56:43.896422986 +0200
--- source-original/include/cross.h 2010-05-10 19:43:54.000000000 +0200
+++ source/include/cross.h 2018-05-04 21:14:40.397157710 +0200
@@ -64,7 +64,7 @@
@@ -64,7 +64,7 @@
//Solaris maybe others
//Solaris maybe others
#if defined (DB_HAVE_NO_POWF)
#if defined (DB_HAVE_NO_POWF)
...
@@ -7,5 +8,17 @@
...
@@ -7,5 +8,17 @@
-static inline float powf (float x, float y) { return (float) pow (x,y); }
-static inline float powf (float x, float y) { return (float) pow (x,y); }
+//static inline float powf (float x, float y) { return (float) pow (x,y); }
+//static inline float powf (float x, float y) { return (float) pow (x,y); }
#endif
#endif
class Cross {
class Cross {
diff -rupNw source-original/src/gui/sdlmain.cpp source/src/gui/sdlmain.cpp
--- source-original/src/gui/sdlmain.cpp 2010-05-10 19:43:54.000000000 +0200
+++ source/src/gui/sdlmain.cpp 2018-05-04 21:15:31.937672555 +0200
@@ -1518,7 +1518,7 @@
void Config_Add_SDL() {
Pstring = sdl_sec->Add_path("mapperfile",Property::Changeable::Always,MAPPERFILE);
Pstring->Set_help("File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.");
- Pbool = sdl_sec->Add_bool("usescancodes",Property::Changeable::Always,true);
+ Pbool = sdl_sec->Add_bool("usescancodes",Property::Changeable::Always,false);
Pbool->Set_help("Avoid usage of symkeys, might not work on all operating systems.");
}
This diff is collapsed.
Click to expand it.
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