Logo
Explore Help
Sign In
starred/decaf-emu
1
0
Fork 0
You've already forked decaf-emu
mirror of https://github.com/decaf-emu/decaf-emu.git synced 2026-10-12 00:28:16 +00:00
Code Issues 9 Packages Projects Releases 1 Wiki Activity
Files
da54cd3da99f65058ced72d0cfa4fcd1ece40b44
decaf-emu/src/memory_translate.cpp

15 lines
232 B
C++
Raw Normal View History

Began refactor of CPU/Memory structure.
2015-10-16 02:39:42 -03:00
#include "mem/mem.h"
Refactor system types to reduce header file spaghetti mess. Replace p32 with virtual_ptr. Remove many dependencies on memory.h by introducing memory_translate.h. Move struct size checking macros to structsize.h
2015-10-14 01:27:10 +01:00
#include "memory_translate.h"
void *
memory_translate(ppcaddr_t address)
{
Began refactor of CPU/Memory structure.
2015-10-16 02:39:42 -03:00
return mem::translate<void>(address);
Refactor system types to reduce header file spaghetti mess. Replace p32 with virtual_ptr. Remove many dependencies on memory.h by introducing memory_translate.h. Move struct size checking macros to structsize.h
2015-10-14 01:27:10 +01:00
}
ppcaddr_t
memory_untranslate(const void *pointer)
{
Began refactor of CPU/Memory structure.
2015-10-16 02:39:42 -03:00
return mem::untranslate(pointer);
Refactor system types to reduce header file spaghetti mess. Replace p32 with virtual_ptr. Remove many dependencies on memory.h by introducing memory_translate.h. Move struct size checking macros to structsize.h
2015-10-14 01:27:10 +01:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 164ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API