diff --git a/desmume/src/cocoa/DefaultUserPrefs.plist b/desmume/src/cocoa/DefaultUserPrefs.plist
index 9c0a0db5b..143c166b1 100644
--- a/desmume/src/cocoa/DefaultUserPrefs.plist
+++ b/desmume/src/cocoa/DefaultUserPrefs.plist
@@ -708,6 +708,8 @@
Render3D_FragmentSamplingHack
+ Render3D_ScalingFactor
+ 1
Render3D_HighPrecisionColorInterpolation
Render3D_LineHack
diff --git a/desmume/src/cocoa/translations/English.lproj/MainMenu.strings b/desmume/src/cocoa/translations/English.lproj/MainMenu.strings
index b5170efba..64e05e61b 100644
Binary files a/desmume/src/cocoa/translations/English.lproj/MainMenu.strings and b/desmume/src/cocoa/translations/English.lproj/MainMenu.strings differ
diff --git a/desmume/src/cocoa/translations/English.lproj/MainMenu.xib b/desmume/src/cocoa/translations/English.lproj/MainMenu.xib
index 3f801579b..44e12f052 100644
--- a/desmume/src/cocoa/translations/English.lproj/MainMenu.xib
+++ b/desmume/src/cocoa/translations/English.lproj/MainMenu.xib
@@ -2,7 +2,7 @@
1050
- 14E46
+ 14F27
7706
1348.17
758.70
@@ -3764,6 +3764,7 @@ L3d3dy5hZHZhbnNjZW5lLmNvbS9vZmZsaW5lL2RhdGFzL0FEVkFOc0NFbmVfUlRvb2xEUy56aXA
{{13, 10}, {463, 412}}
+
{{1, 1}, {364, 38}}
+
{{17, 209}, {366, 54}}
+
{0, 0}
67108864
@@ -5689,6 +5694,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{18, 15}, {180, 46}}
+
YES
NO
2
@@ -5997,10 +6003,12 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {364, 71}}
+
{{17, 16}, {366, 87}}
+
{0, 0}
67108864
@@ -6029,6 +6037,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{18, 14}, {328, 58}}
+
YES
NO
3
@@ -6282,10 +6291,12 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {364, 82}}
+
{{17, 107}, {366, 98}}
+
{0, 0}
67108864
@@ -6314,6 +6325,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{40, 13}, {246, 21}}
+
YES
67371264
@@ -6336,6 +6348,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{287, 17}, {62, 17}}
+
YES
68157504
@@ -6390,7 +6403,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
NO
YES
- %1.1f%%
+ %1.1f%
@@ -6411,6 +6424,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{18, 16}, {16, 16}}
+
YES
134217728
@@ -6430,10 +6444,12 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {364, 44}}
+
{{17, 267}, {366, 60}}
+
{0, 0}
67108864
@@ -6451,10 +6467,11 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{400, 373}
+
NSView
-
+
268
@@ -6465,6 +6482,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{13, 10}, {528, 423}}
+
@@ -6486,6 +6504,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 32}, {198, 18}}
+
YES
@@ -6510,6 +6529,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 12}, {217, 18}}
+
YES
@@ -6532,11 +6552,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {494, 58}}
+
{{6, 303}, {496, 74}}
+
{0, 0}
@@ -6566,6 +6588,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{18, 14}, {165, 38}}
+
YES
NO
@@ -6808,6 +6831,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{242, 15}, {73, 17}}
+
YES
@@ -6827,6 +6851,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{320, 13}, {50, 22}}
+
YES
@@ -6887,6 +6912,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{371, 10}, {19, 27}}
+
YES
@@ -6905,11 +6931,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {494, 62}}
+
{{6, 221}, {496, 78}}
+
{0, 0}
@@ -6939,6 +6967,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{337, 17}, {141, 18}}
+
_NS:9
YES
@@ -6965,6 +6994,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 14}, {66, 17}}
+
_NS:526
{251, 750}
@@ -6987,6 +7017,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{86, 12}, {176, 26}}
+
_NS:9
YES
@@ -7012,6 +7043,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{266, 14}, {52, 17}}
+
_NS:526
{251, 750}
@@ -7071,6 +7103,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{83, 36}, {26, 14}}
+
_NS:526
{251, 750}
@@ -7093,6 +7126,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{161, 36}, {26, 14}}
+
_NS:526
{251, 750}
@@ -7115,6 +7149,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{236, 36}, {31, 14}}
+
_NS:526
{251, 750}
@@ -7135,12 +7170,14 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {494, 60}}
+
_NS:11
{{6, 141}, {496, 76}}
+
_NS:9
{0, 0}
@@ -7171,6 +7208,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 12}, {462, 18}}
+
YES
@@ -7193,11 +7231,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {494, 38}}
+
{{6, 83}, {496, 54}}
+
{0, 0}
@@ -7227,6 +7267,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 32}, {146, 18}}
+
YES
@@ -7251,6 +7292,8 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 12}, {118, 18}}
+
+
YES
67108864
@@ -7272,11 +7315,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {494, 58}}
+
{{6, 5}, {496, 74}}
+
{0, 0}
@@ -7296,6 +7341,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{10, 33}, {508, 377}}
+
General Settings
@@ -7518,7 +7564,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
- {{6, 198}, {496, 159}}
+ {{6, 183}, {496, 159}}
{0, 0}
@@ -7682,7 +7728,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
- {{6, 59}, {496, 135}}
+ {{6, 44}, {496, 135}}
{0, 0}
@@ -7701,7 +7747,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
NO
- {{10, 33}, {508, 374}}
+ {{10, 33}, {508, 377}}
BIOS and Firmware
@@ -8051,7 +8097,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
- {{101, 95}, {312, 153}}
+ {{101, 60}, {312, 153}}
{0, 0}
@@ -8072,7 +8118,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
3D Rendering
@@ -8335,6 +8484,8 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{554, 447}
+
+
NSView
@@ -21036,14 +21187,14 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
279
2
- {{149, 201}, {301, 467}}
+ {{149, 201}, {301, 493}}
-461896704
3D Rendering Settings
NSPanel
-
+
256
@@ -21059,6 +21210,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 109}, {206, 18}}
+
YES
@@ -21083,6 +21235,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{185, 39}, {45, 19}}
+
YES
@@ -21146,6 +21299,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 41}, {165, 14}}
+
YES
@@ -21165,6 +21319,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 15}, {109, 14}}
+
YES
@@ -21184,6 +21339,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{231, 34}, {19, 27}}
+
YES
@@ -21202,6 +21358,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 89}, {115, 18}}
+
YES
@@ -21226,6 +21383,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 69}, {195, 18}}
+
YES
@@ -21250,6 +21408,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{126, 10}, {124, 22}}
+
_NS:791
YES
@@ -21360,11 +21519,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {265, 134}}
+
- {{17, 99}, {267, 150}}
+ {{17, 100}, {267, 150}}
+
{0, 0}
@@ -21384,8 +21545,10 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
- {{69, 18}, {162, 19}}
+ {{69, 19}, {162, 19}}
+
+
YES
-2080374784
@@ -21415,6 +21578,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{18, 14}, {107, 58}}
+
YES
NO
@@ -21669,11 +21833,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {265, 82}}
+
- {{17, 349}, {267, 98}}
+ {{17, 375}, {267, 98}}
+
{0, 0}
@@ -21703,6 +21869,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 51}, {108, 18}}
+
YES
@@ -21727,6 +21894,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 31}, {135, 18}}
+
YES
@@ -21751,6 +21919,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{15, 11}, {82, 18}}
+
YES
@@ -21770,14 +21939,122 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
NO
+
+
+ 268
+ {{16, 76}, {112, 14}}
+
+
+
+ _NS:526
+ {251, 750}
+ YES
+
+ 68157504
+ 272761856
+ GPU Scaling Factor:
+
+ _NS:526
+
+
+
+
+ NO
+ 1
+
+
+
+ 268
+ {{134, 74}, {48, 19}}
+
+
+
+ _NS:9
+ YES
+
+ -1804599231
+ 71435264
+
+
+
+
+
+
+
+
+
+ -∞
+
+
+ +∞
+
+
+ #0.###
+ #0.###
+
+
+
+
+
+
+
+ NaN
+
+
+
+
+
+ 3
+ YES
+ YES
+ YES
+
+ .
+ ,
+ NO
+ NO
+ NO
+
+ _NS:9
+
+ YES
+
+
+
+ NO
+ 1
+
+
+
+ 268
+ {{187, 70}, {19, 27}}
+
+
+
+ _NS:1592
+ YES
+
+ 0
+ 0
+ _NS:1592
+
+ 1
+ 1
+ 16
+ 1
+
+ NO
+
- {{1, 1}, {265, 76}}
+ {{1, 1}, {265, 101}}
-
+
+
- {{17, 253}, {267, 92}}
+ {{17, 254}, {267, 117}}
+
{0, 0}
@@ -21807,6 +22084,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
268
{{16, 12}, {192, 18}}
+
YES
@@ -21829,11 +22107,13 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
{{1, 1}, {265, 38}}
+
- {{17, 41}, {267, 54}}
+ {{17, 42}, {267, 54}}
+
{0, 0}
@@ -21851,7 +22131,9 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
NO
- {301, 467}
+ {301, 493}
+
+
{{0, 0}, {1920, 1177}}
@@ -22101,6 +22383,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
_NS:21
{{0, 0}, {1920, 1177}}
+ {10000000000000, 10000000000000}
StylusSettingsPanel
YES
@@ -23654,7 +23937,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
NO
YES
- %1.1f%%
+ %1.1f%
@@ -39809,6 +40092,70 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
10107
+
+
+ value: selection.cdsGPU.gpuScale
+
+
+
+
+
+ value: selection.cdsGPU.gpuScale
+ value
+ selection.cdsGPU.gpuScale
+ 2
+
+
+ 10125
+
+
+
+ value: selection.cdsGPU.gpuScale
+
+
+
+
+
+ value: selection.cdsGPU.gpuScale
+ value
+ selection.cdsGPU.gpuScale
+ 2
+
+
+ 10127
+
+
+
+ value: values.Render3D_ScalingFactor
+
+
+
+
+
+ value: values.Render3D_ScalingFactor
+ value
+ values.Render3D_ScalingFactor
+ 2
+
+
+ 10129
+
+
+
+ value: values.Render3D_ScalingFactor
+
+
+
+
+
+ value: values.Render3D_ScalingFactor
+ value
+ values.Render3D_ScalingFactor
+ 2
+
+
+ 10131
+
@@ -42204,6 +42551,9 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
+
+
+
@@ -53046,6 +53396,9 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
+
+
+
@@ -53674,6 +54027,100 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
+
+ 10108
+
+
+
+
+
+
+
+ 10109
+
+
+
+
+ 10110
+
+
+
+
+
+
+
+ 10111
+
+
+
+
+
+
+
+ 10112
+
+
+
+
+ 10113
+
+
+
+
+
+
+
+ 10114
+
+
+
+
+ 10115
+
+
+
+
+
+
+
+ 10116
+
+
+
+
+ 10117
+
+
+
+
+
+
+
+ 10118
+
+
+
+
+
+
+
+ 10119
+
+
+
+
+ 10120
+
+
+
+
+
+
+
+ 10121
+
+
+
@@ -53785,6 +54232,40 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+
+ ToolTip
+
+ ToolTip
+
+ Requests the GPU to render 3D at a resolution that is the native resolution multiplied by this value.
+
+
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+
+
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+
+ ToolTip
+
+ ToolTip
+
+ By default, requests the GPU to render at a resolution that is the native resolution multiplied by this value.
+
+
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+
+
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
@@ -53870,7 +54351,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
- {1026.5, 1076.5}
+ {796.5, 896.5}
com.apple.InterfaceBuilder.CocoaPlugin
InitialTabViewItem
@@ -53955,6 +54436,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
com.apple.InterfaceBuilder.CocoaPlugin
Sound
+ {668, 408.5}
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
@@ -54033,7 +54515,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
com.apple.InterfaceBuilder.CocoaPlugin
- {225, 928.5}
+ {686, 460.5}
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
Emulation
@@ -54495,7 +54977,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
- {153.5, 729.5}
+ {193.5, 488.5}
com.apple.InterfaceBuilder.CocoaPlugin
{{84, 481}, {301, 467}}
@@ -54672,6 +55154,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
+
com.apple.InterfaceBuilder.CocoaPlugin
ToolTip
@@ -57015,7 +57498,7 @@ y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2
- 10107
+ 10131
diff --git a/desmume/src/cocoa/userinterface/EmuControllerDelegate.mm b/desmume/src/cocoa/userinterface/EmuControllerDelegate.mm
index d40f6fccc..7d3e837a9 100644
--- a/desmume/src/cocoa/userinterface/EmuControllerDelegate.mm
+++ b/desmume/src/cocoa/userinterface/EmuControllerDelegate.mm
@@ -953,6 +953,7 @@
[[NSUserDefaults standardUserDefaults] setBool:[[cdsCore cdsGPU] render3DLineHack] forKey:@"Render3D_LineHack"];
[[NSUserDefaults standardUserDefaults] setBool:[[cdsCore cdsGPU] render3DMultisample] forKey:@"Render3D_Multisample"];
[[NSUserDefaults standardUserDefaults] setBool:[[cdsCore cdsGPU] render3DFragmentSamplingHack] forKey:@"Render3D_FragmentSamplingHack"];
+ [[NSUserDefaults standardUserDefaults] setInteger:[[cdsCore cdsGPU] gpuScale] forKey:@"Render3D_ScalingFactor"];
}
- (IBAction) writeDefaultsEmulationSettings:(id)sender
@@ -2194,6 +2195,8 @@
[[cdsCore cdsGPU] setRender3DLineHack:[[NSUserDefaults standardUserDefaults] boolForKey:@"Render3D_LineHack"]];
[[cdsCore cdsGPU] setRender3DMultisample:[[NSUserDefaults standardUserDefaults] boolForKey:@"Render3D_Multisample"]];
[[cdsCore cdsGPU] setRender3DFragmentSamplingHack:[[NSUserDefaults standardUserDefaults] boolForKey:@"Render3D_FragmentSamplingHack"]];
+ [[cdsCore cdsGPU] setGpuScale:(NSUInteger)[[NSUserDefaults standardUserDefaults] integerForKey:@"Render3D_ScalingFactor"]];
+ GPU_FillScreenWithBGRA5551(0x8000); // Fill the GPU framebuffer with black after the GPU scaling factor is set.
// Set the stylus options per user preferences.
[[cdsCore cdsController] setStylusPressure:[[NSUserDefaults standardUserDefaults] integerForKey:@"Emulation_StylusPressure"]];