RPM Request update and testing request: Dolphin-emu

General conversations about MIB project
Forum rules
Image
Before you post, please read forum rules:
Software requests - How to
Tag [SOLVED] in topics
Post Reply
User avatar
ZombieRyushu
Utente junior
Utente junior
Posts: 66
Joined: 7 March 2011, 6:17
OpenMandriva: 2010.2
Kernel: 2.6.33.7
Desktop: KDE

RPM Request update and testing request: Dolphin-emu

Post by ZombieRyushu »

There exists a bug in Dolphin emu where it will not load a user configuration from anywhere but the user it was built in. This is a problem because dolphin emu will crash otherwise.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: RPM Request update and testing request: Dolphin-emu

Post by NicCo »

ZombieRyushu wrote:There exists a bug in Dolphin emu where it will not load a user configuration from anywhere but the user it was built in. This is a problem because dolphin emu will crash otherwise.
ANSWER:
I don't know this problem.
I have not this problem, in MIB dolphin-emu, the user config folder seems working, so when I start the emu, it starst using previous saved parameters

The code responsible for path is:

Source/Core/Common/Src/FileUtil.cpp

===cut===
if (File::Exists(ROOT_DIR DIR_SEP USERDATA_DIR))
snprintf(UserDir, sizeof(UserDir), ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP);
else
snprintf(UserDir, sizeof(UserDir), "%s" DIR_SEP DOLPHIN_DATA_DIR DIR_SEP, getenv("HOME"));
===cut===

As you can see, the path for config is either current dir
+ .dolphin-emu or user home dir + .dolphin-emu. And user home dir is
not a built-in constant path but an enviromental variable.

for your Topic title request: RPM Request update and testing request: Dolphin-emu
ANSWER:
Next days, I'll port new svn version, I'll advice you here!



bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

Post Reply