mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-15 09:40:05 +00:00
Debug console emulation
This commit is contained in:
parent
2ea061b9c7
commit
79a6a2c7fb
@ -1526,6 +1526,12 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
||||
mem_size = 0xC800000;
|
||||
}
|
||||
|
||||
if (g_cfg.core.debug_console_mode)
|
||||
{
|
||||
// TODO: Check for all sdk versions
|
||||
mem_size += 0xC000000;
|
||||
}
|
||||
|
||||
fxm::make_always<lv2_memory_container>(mem_size);
|
||||
|
||||
ppu->cmd_push({ppu_cmd::initialize, 0});
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "sys_tty.h"
|
||||
|
||||
#include <deque>
|
||||
@ -15,7 +17,7 @@ error_code sys_tty_read(s32 ch, vm::ptr<char> buf, u32 len, vm::ptr<u32> preadle
|
||||
{
|
||||
sys_tty.trace("sys_tty_read(ch=%d, buf=*0x%x, len=%d, preadlen=*0x%x)", ch, buf, len, preadlen);
|
||||
|
||||
if (false) // TODO: debug mode check
|
||||
if (!g_cfg.core.debug_console_mode)
|
||||
{
|
||||
return CELL_EIO;
|
||||
}
|
||||
|
@ -380,6 +380,7 @@ struct cfg_root : cfg::node
|
||||
cfg::_bool spu_accurate_xfloat{this, "Accurate xfloat", false};
|
||||
cfg::_bool spu_approx_xfloat{this, "Approximate xfloat", true};
|
||||
|
||||
cfg::_bool debug_console_mode{this, "Debug Console Mode", false}; // Debug console emulation, not recommended
|
||||
cfg::_enum<lib_loading_type> lib_loading{this, "Lib Loader", lib_loading_type::liblv2only};
|
||||
cfg::_bool hook_functions{this, "Hook static functions"};
|
||||
cfg::set_entry load_libraries{this, "Load libraries"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user