mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Logging CheckBox, cellGame stuff and other fixes
* cellGameContentPermit and cellGameBootCheck updated. * Checkbox in the Settings dialog, for enabling logging. * Fixed GUI issue in the InterpreterDisAsmFrame. * Fixed -dirty flag in wxWidgets submodule.
This commit is contained in:
parent
2b63888782
commit
eb93e87b7f
11 changed files with 40 additions and 29 deletions
|
|
@ -118,12 +118,12 @@ int cellGameBootCheck(mem32_t type, mem32_t attributes, mem_ptr_t<CellGameConten
|
|||
if (!type.IsGood() || !attributes.IsGood() || !size.IsGood() || !dirName.IsGood())
|
||||
return CELL_GAME_ERROR_PARAM;
|
||||
|
||||
wxString dir ("/dev_hdd0/game/" + Emu.m_title_id + "/USRDIR");
|
||||
wxString dir = wxEmptyString;
|
||||
|
||||
type = CELL_GAME_GAMETYPE_DISC;
|
||||
attributes = 0;
|
||||
size->hddFreeSizeKB = 40000000; //40 GB, TODO: Use the free space of the computer's HDD where RPCS3 is being run.
|
||||
size->sizeKB = CELL_GAME_SIZEKB_NOTCALC;
|
||||
size->sizeKB = 0;
|
||||
size->sysSizeKB = 0;
|
||||
Memory.WriteString(dirName.GetAddr(), dir);
|
||||
|
||||
|
|
@ -150,6 +150,8 @@ int cellGameContentPermit(mem_list_ptr_t<u8> contentInfoPath, mem_list_ptr_t<u8
|
|||
if (!contentInfoPath.IsGood() || !usrdirPath.IsGood())
|
||||
return CELL_GAME_ERROR_PARAM;
|
||||
|
||||
Memory.WriteString(contentInfoPath.GetAddr(), "/dev_bdvd/PS3_GAME");
|
||||
Memory.WriteString(usrdirPath.GetAddr(), "/dev_bdvd/PS3_GAME/USRDIR");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue