<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Android/jni/NativeConfig.cpp, branch master</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Android: Use JNI for getting post-processsing shaders</title>
<updated>2021-05-20T14:43:03+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2021-05-20T14:34:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=b7ba126db0d796348ba884333b341e50252433ad'/>
<id>b7ba126db0d796348ba884333b341e50252433ad</id>
<content type='text'>
The Java implementation of getting the list of post-processing
shaders only looked in the Sys folder and not the User folder.
This could be fixed in the Java implementation, but it's
simpler to just call the C++ implementation instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Java implementation of getting the list of post-processing
shaders only looked in the Sys folder and not the User folder.
This could be fixed in the Java implementation, but it's
simpler to just call the C++ implementation instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Remove #ifdef __cplusplus checks</title>
<updated>2021-03-04T21:47:23+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2021-03-03T22:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d99d72f5a6bdd3b3b8b3b09f4bdf3997ec02e3cb'/>
<id>d99d72f5a6bdd3b3b8b3b09f4bdf3997ec02e3cb</id>
<content type='text'>
A C compiler would very much be unable to build this code anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A C compiler would very much be unable to build this code anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Fix in-game settings changes not getting saved</title>
<updated>2021-01-18T14:27:16+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2021-01-18T14:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5978550b2f2f728dccf9e28878a4b96ea8bac5cf'/>
<id>5978550b2f2f728dccf9e28878a4b96ea8bac5cf</id>
<content type='text'>
EmulationActivity has an instance of Settings. If you go to
SettingsActivity from EmulationActivity and change some settings,
the changes get saved to disk, but EmulationActivity's Settings
instance still contains the old settings in its map of all
settings (assuming the EmulationActivity was not killed by the
system to save memory). Then, once you're done playing your
game and exit EmulationActivity, EmulationActivity calls
Settings.saveSettings. This call to saveSettings first overwrites
the entire INI file with its map of all settings (which is
outdated) in order to save any legacy settings that have changed
(which they haven't, since the GUI doesn't let you change legacy
settings while a game is running). Then, it asks the new config
system to write the most up-to-date values available for non-legacy
settings, which should make all the settings be up-to-date again.
The problem here is that the new config system would skip writing
to disk if no settings changes had been made since the last time
we asked it to write to disk (i.e. since SettingsActivity exited).

NB: Calling Settings.loadSettings in EmulationActivity.onResume
is not a working solution. I assume this is because
SettingsActivity saves its settings in onStop and not onPause.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
EmulationActivity has an instance of Settings. If you go to
SettingsActivity from EmulationActivity and change some settings,
the changes get saved to disk, but EmulationActivity's Settings
instance still contains the old settings in its map of all
settings (assuming the EmulationActivity was not killed by the
system to save memory). Then, once you're done playing your
game and exit EmulationActivity, EmulationActivity calls
Settings.saveSettings. This call to saveSettings first overwrites
the entire INI file with its map of all settings (which is
outdated) in order to save any legacy settings that have changed
(which they haven't, since the GUI doesn't let you change legacy
settings while a game is running). Then, it asks the new config
system to write the most up-to-date values available for non-legacy
settings, which should make all the settings be up-to-date again.
The problem here is that the new config system would skip writing
to disk if no settings changes had been made since the last time
we asked it to write to disk (i.e. since SettingsActivity exited).

NB: Calling Settings.loadSettings in EmulationActivity.onResume
is not a working solution. I assume this is because
SettingsActivity saves its settings in onStop and not onPause.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Correctly save in-game settings changes to disk</title>
<updated>2020-12-24T12:37:33+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-12-24T12:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=6f05c400130052cdc92319c4e04c3acfbf9f643f'/>
<id>6f05c400130052cdc92319c4e04c3acfbf9f643f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add caching to Config::Info</title>
<updated>2020-12-12T12:58:50+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-12-05T17:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d8744e6db8f97e4d721d098010d1b1115e31403f'/>
<id>d8744e6db8f97e4d721d098010d1b1115e31403f</id>
<content type='text'>
The goal of this change is to make Config::Get(const Info&lt;T&gt;&amp;)
fast so that we can use it in hot paths.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The goal of this change is to make Config::Get(const Info&lt;T&gt;&amp;)
fast so that we can use it in hot paths.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Don't name unused JNIEnv/jobject/jclass parameters</title>
<updated>2020-11-07T11:08:48+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-11-07T10:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e4793cfb39677adc698fbfab8d4c7d6f9eb18737'/>
<id>e4793cfb39677adc698fbfab8d4c7d6f9eb18737</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Fix setting read during play with local game layer active</title>
<updated>2020-10-13T14:35:33+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-10-13T14:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=286124852064acafd9c4225ae6facc33b40f9637'/>
<id>286124852064acafd9c4225ae6facc33b40f9637</id>
<content type='text'>
During emulation, when LocalGame has a value but CurrentRun
doesn't, we want to read from LocalGame, not CurrentRun. This
change exposes a LAYER_ACTIVE option that handles this correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During emulation, when LocalGame has a value but CurrentRun
doesn't, we want to read from LocalGame, not CurrentRun. This
change exposes a LAYER_ACTIVE option that handles this correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Add Wii SYSCONF settings to GUI</title>
<updated>2020-09-16T10:49:55+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-09-16T09:49:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=6e6446be83f6c2bc9f0ce74edf0669d1a7cd63a6'/>
<id>6e6446be83f6c2bc9f0ce74edf0669d1a7cd63a6</id>
<content type='text'>
Now that PR 8975 is merged, we can finally add this without hacks.

https://bugs.dolphin-emu.org/issues/11605
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that PR 8975 is merged, we can finally add this without hacks.

https://bugs.dolphin-emu.org/issues/11605
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Show overridden game settings in bold</title>
<updated>2020-09-15T17:10:56+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-07-22T15:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=736505f020a8e1b637a7a84a294b30bde558ebde'/>
<id>736505f020a8e1b637a7a84a294b30bde558ebde</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Hook up game settings to the new config system</title>
<updated>2020-09-15T17:10:56+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2020-07-22T14:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e24d50e881128f944fa76f15c7d3fd6f6c43e0d5'/>
<id>e24d50e881128f944fa76f15c7d3fd6f6c43e0d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
