mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Add support copying auxiliary buffers in mupen64plus settings
This commit is contained in:
parent
d8bc38e26d
commit
393e7a6a26
|
@ -51,6 +51,7 @@ void Config::resetToDefaults()
|
|||
#endif
|
||||
frameBufferEmulation.copyDepthToRDRAM = ctDisable;
|
||||
frameBufferEmulation.copyFromRDRAM = 0;
|
||||
frameBufferEmulation.copyAuxToRDRAM = 0;
|
||||
frameBufferEmulation.copyToRDRAM = ctAsync;
|
||||
frameBufferEmulation.detectCFB = 0;
|
||||
frameBufferEmulation.N64DepthCompare = 0;
|
||||
|
|
|
@ -73,6 +73,7 @@ struct Config
|
|||
|
||||
struct {
|
||||
u32 enable;
|
||||
u32 copyAuxToRDRAM;
|
||||
u32 copyToRDRAM;
|
||||
u32 copyDepthToRDRAM;
|
||||
u32 copyFromRDRAM;
|
||||
|
|
|
@ -83,6 +83,8 @@ bool Config_SetDefault()
|
|||
//#Frame Buffer Settings:"
|
||||
res = ConfigSetDefaultBool(g_configVideoGliden64, "EnableFBEmulation", config.frameBufferEmulation.enable, "Enable frame and|or depth buffer emulation.");
|
||||
assert(res == M64ERR_SUCCESS);
|
||||
res = ConfigSetDefaultBool(g_configVideoGliden64, "EnableCopyAuxiliaryToRDRAM", config.frameBufferEmulation.copyAuxToRDRAM, "Copy auxiliary buffers to RDRAM");
|
||||
assert(res == M64ERR_SUCCESS);
|
||||
res = ConfigSetDefaultInt(g_configVideoGliden64, "EnableCopyColorToRDRAM", config.frameBufferEmulation.copyToRDRAM, "Enable color buffer copy to RDRAM (0=do not copy, 1=copy in sync mode, 2=copy in async mode)");
|
||||
assert(res == M64ERR_SUCCESS);
|
||||
res = ConfigSetDefaultBool(g_configVideoGliden64, "EnableCopyDepthToRDRAM", config.frameBufferEmulation.copyDepthToRDRAM, "Enable depth buffer copy to RDRAM.");
|
||||
|
@ -195,6 +197,7 @@ void Config_LoadConfig()
|
|||
#endif
|
||||
//#Frame Buffer Settings:"
|
||||
config.frameBufferEmulation.enable = ConfigGetParamBool(g_configVideoGliden64, "EnableFBEmulation");
|
||||
config.frameBufferEmulation.copyAuxToRDRAM = ConfigGetParamBool(g_configVideoGliden64, "EnableCopyAuxiliaryToRDRAM");
|
||||
config.frameBufferEmulation.copyToRDRAM = ConfigGetParamInt(g_configVideoGliden64, "EnableCopyColorToRDRAM");
|
||||
config.frameBufferEmulation.copyDepthToRDRAM = ConfigGetParamBool(g_configVideoGliden64, "EnableCopyDepthToRDRAM");
|
||||
config.frameBufferEmulation.copyFromRDRAM = ConfigGetParamBool(g_configVideoGliden64, "EnableCopyColorFromRDRAM");
|
||||
|
|
Loading…
Reference in New Issue
Block a user