first commit
This commit is contained in:
commit
528f89a79b
90 changed files with 13567 additions and 0 deletions
30
games-emulation/dosbox-x/files/dosbox-x-invert-1624f04.patch
Normal file
30
games-emulation/dosbox-x/files/dosbox-x-invert-1624f04.patch
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
--- b/src/output/output_opengl.cpp
|
||||
+++ a/src/output/output_opengl.cpp
|
||||
@@ -199,11 +199,7 @@
|
||||
|
||||
#if DOSBOXMENU_TYPE == DOSBOXMENU_SDLDRAW
|
||||
/* scale the menu bar if the window is large enough */
|
||||
+ {
|
||||
- /* SDL drawn menus cannot coexist with 3Dfx emulation. In fact, there is a serious
|
||||
- * bug in SDL1 builds that rapidly expands the vertical size of the menu every frame. */
|
||||
- if (Voodoo_OGL_GetWidth() != 0 && Voodoo_OGL_GetHeight() != 0 && Voodoo_OGL_Active() && sdl.desktop.prevent_fullscreen) {
|
||||
- }
|
||||
- else {
|
||||
int cw = fixedWidth, ch = fixedHeight;
|
||||
int scale = 1;
|
||||
|
||||
@@ -259,12 +255,8 @@
|
||||
#if DOSBOXMENU_TYPE == DOSBOXMENU_SDLDRAW
|
||||
if (mainMenu.isVisible() && !sdl.desktop.fullscreen)
|
||||
{
|
||||
+ windowHeight += mainMenu.menuBox.h;
|
||||
+ sdl.clip.y += mainMenu.menuBox.h;
|
||||
- if (Voodoo_OGL_GetWidth() != 0 && Voodoo_OGL_GetHeight() != 0 && Voodoo_OGL_Active() && sdl.desktop.prevent_fullscreen) {
|
||||
- }
|
||||
- else {
|
||||
- windowHeight += mainMenu.menuBox.h;
|
||||
- sdl.clip.y += mainMenu.menuBox.h;
|
||||
- }
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue