mirror of
https://github.com/dborth/fceugx.git
synced 2024-11-01 06:55:05 +01:00
overscan setting saved in preferences
This commit is contained in:
parent
73e3c60762
commit
2e4206c833
@ -1,5 +1,5 @@
|
|||||||
#include "share.h"
|
#include "share.h"
|
||||||
#include "fceuconfig.h"
|
#include "fceugx.h"
|
||||||
|
|
||||||
static uint8 GunSight[]={
|
static uint8 GunSight[]={
|
||||||
0,0,0,0,0,0,1,0,0,0,0,0,0,
|
0,0,0,0,0,0,1,0,0,0,0,0,0,
|
||||||
|
@ -173,6 +173,7 @@ preparePrefsData (int method)
|
|||||||
createXMLSetting("ZoomLevel", "Zoom Level", FtoStr(GCSettings.ZoomLevel));
|
createXMLSetting("ZoomLevel", "Zoom Level", FtoStr(GCSettings.ZoomLevel));
|
||||||
createXMLSetting("render", "Video Filtering", toStr(GCSettings.render));
|
createXMLSetting("render", "Video Filtering", toStr(GCSettings.render));
|
||||||
createXMLSetting("widescreen", "Aspect Ratio Correction", toStr(GCSettings.widescreen));
|
createXMLSetting("widescreen", "Aspect Ratio Correction", toStr(GCSettings.widescreen));
|
||||||
|
createXMLSetting("hideoverscan", "Video Cropping", toStr(GCSettings.hideoverscan));
|
||||||
|
|
||||||
createXMLSection("Controller", "Controller Settings");
|
createXMLSection("Controller", "Controller Settings");
|
||||||
|
|
||||||
@ -294,15 +295,17 @@ decodePrefsData (int method)
|
|||||||
|
|
||||||
loadXMLSettingInt(&GCSettings.currpal, "currpal");
|
loadXMLSettingInt(&GCSettings.currpal, "currpal");
|
||||||
loadXMLSettingInt(&GCSettings.timing, "timing");
|
loadXMLSettingInt(&GCSettings.timing, "timing");
|
||||||
loadXMLSettingInt(&GCSettings.FSDisable, "FSDisable");
|
|
||||||
loadXMLSettingInt(&GCSettings.slimit, "slimit");
|
loadXMLSettingInt(&GCSettings.slimit, "slimit");
|
||||||
loadXMLSettingInt(&GCSettings.Zoom, "Zoom");
|
loadXMLSettingInt(&GCSettings.Zoom, "Zoom");
|
||||||
loadXMLSettingFloat(&GCSettings.ZoomLevel, "ZoomLevel");
|
loadXMLSettingFloat(&GCSettings.ZoomLevel, "ZoomLevel");
|
||||||
loadXMLSettingInt(&GCSettings.render, "render");
|
loadXMLSettingInt(&GCSettings.render, "render");
|
||||||
loadXMLSettingInt(&GCSettings.widescreen, "widescreen");
|
loadXMLSettingInt(&GCSettings.widescreen, "widescreen");
|
||||||
|
loadXMLSettingInt(&GCSettings.hideoverscan, "hideoverscan");
|
||||||
|
|
||||||
|
// Controller Settings
|
||||||
|
loadXMLSettingInt(&GCSettings.FSDisable, "FSDisable");
|
||||||
loadXMLSettingInt(&GCSettings.zapper, "zapper");
|
loadXMLSettingInt(&GCSettings.zapper, "zapper");
|
||||||
loadXMLSettingInt(&GCSettings.crosshair, "crosshair");
|
loadXMLSettingInt(&GCSettings.crosshair, "crosshair");
|
||||||
// Controller Settings
|
|
||||||
|
|
||||||
loadXMLController(gcpadmap, "gcpadmap");
|
loadXMLController(gcpadmap, "gcpadmap");
|
||||||
loadXMLController(wmpadmap, "wmpadmap");
|
loadXMLController(wmpadmap, "wmpadmap");
|
||||||
|
Loading…
Reference in New Issue
Block a user