mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
Debugger: Lua - Fixed incorrect names of memType values for cpu memory (nes -> nesMemory, etc.)
This commit is contained in:
parent
01d95d6c91
commit
1678a5ffab
1 changed files with 1 additions and 2 deletions
|
@ -162,8 +162,7 @@ int LuaApi::GetLibrary(lua_State *lua)
|
|||
string name = string(entry.second);
|
||||
name[0] = ::tolower(name[0]);
|
||||
if(DebugUtilities::IsRelativeMemory(entry.first)) {
|
||||
name = name.substr(0, name.size() - 6);
|
||||
string debugName = name + "Debug";
|
||||
string debugName = name.substr(0, name.size() - 6) + "Debug";
|
||||
LuaPushIntValue(lua, debugName, (int)entry.first | 0x100);
|
||||
}
|
||||
LuaPushIntValue(lua, name, (int)entry.first);
|
||||
|
|
Loading…
Add table
Reference in a new issue