This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert) | |
# Read the video output mode and set it for emuelec to avoid video flicking. | |
# This file sets the hdmi output and frame buffer to the argument in pixel width. | |
# Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DSP] | |
DSPThread = True | |
Backend = ALSA | |
[General] | |
ShowLag = False | |
ShowFrameCount = False | |
ISOPaths = 0 | |
WirelessMac = | |
GDBSocket = | |
GDBPort = -1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check_guid() { | |
JSI="$1" | |
DEVICE_GUID="$2" | |
#echo "DEVICE_GUID=$DEVICE_GUID" | |
#v=${DEVICE_GUID:0:8} | |
#part1=$(echo ${v:6:2}${v:4:2}${v:2:2}${v:0:2}) # Bus, generally not needed | |
v=${DEVICE_GUID:8:8} | |
part2=$(echo ${v:6:2}${v:4:2}${v:2:2}${v:0:2}) # Vendor | |
v=${DEVICE_GUID:16:8} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/sx05re/emuelec/bin/set_advmame_joy.sh b/packages/sx05re/emuelec/bin/set_advmame_joy.sh | |
index 7fa5e23965..10521f7785 100755 | |
--- a/packages/sx05re/emuelec/bin/set_advmame_joy.sh | |
+++ b/packages/sx05re/emuelec/bin/set_advmame_joy.sh | |
@@ -14,6 +14,7 @@ PAD_FOUND=0 | |
EE_DEV="js0" | |
GPFILE="" | |
GAMEPAD="" | |
+ROMNAME="$1" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var baseTempLuck = 50; | |
var maxTempLuck = 100; | |
var TempLuckPerLevel = 5; | |
var eliteTempLuckMod = 2; | |
Number.prototype.clamp = function(min, max) { | |
return Math.min(Math.max(this, min), max); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function reverse(s){ | |
return s.split("").reverse().join(""); | |
} | |
function BinToHex(uint8array) { | |
var len = Math.ceil(uint8array.length/8); | |
var tmpArr = new Uint32Array(len); | |
for (var i=0; i < tmpArr.length; ++i) { | |
for (var j=0; j < 8; ++j) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This file sets the hdmi output and frame buffer to the argument in pixel width. | |
# Allowed argument example ./display.sh 1080p60hz <-- For height 1080 pixels. | |
# set -x #echo on | |
# 1080p60hz | |
# 1080i60hz | |
# 720p60hz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp | |
index 462d0be5..aad46993 100644 | |
--- a/es-app/src/FileData.cpp | |
+++ b/es-app/src/FileData.cpp | |
@@ -444,6 +444,8 @@ bool FileData::launchGame(Window* window, LaunchGameOptions options) | |
const std::string rom = Utils::FileSystem::getEscapedPath(getPath()); | |
const std::string basename = Utils::FileSystem::getStem(getPath()); | |
const std::string rom_raw = Utils::FileSystem::getPreferredPath(getPath()); | |
+ const std::string video_emu = SystemConf::getInstance()->get(system->getName() + ".videomode"); | |
+ const std::string video_global = SystemConf::getInstance()->get("global.videomode"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This file sets the hdmi output and frame buffer to the argument in pixel width. | |
# Allowed argument example ./hdmi.sh 720 <-- For width 720 pixels. | |
# set -x #echo on | |
bpp=32 | |
hz=60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Source/Core/CMakeLists.txt b/Source/Core/CMakeLists.txt | |
index d176fcbf25..7fc17c9807 100644 | |
--- a/Source/Core/CMakeLists.txt | |
+++ b/Source/Core/CMakeLists.txt | |
@@ -7,6 +7,8 @@ add_subdirectory(UICommon) | |
add_subdirectory(VideoCommon) | |
add_subdirectory(VideoBackends) | |
+add_subdirectory(DolphinConvert) | |
+ |