mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Miscellaneous fixes:
* docs: Added option for Wayland support to compiling guide. * docs: Clarified behaviour of memory region read/write methods. * Fixed some editing errors in Turkish UI translation. * Added some parentheses on ternary conditional operators for clarity.
This commit is contained in:
parent
4d56a31755
commit
fccbed7657
4 changed files with 14 additions and 9 deletions
|
@ -567,6 +567,9 @@ NO_USE_PORTAUDIO
|
|||
NO_USE_PULSEAUDIO
|
||||
Set to **1** to disable building the PulseAudio sound output module on
|
||||
Linux.
|
||||
USE_WAYLAND
|
||||
Set to **1** to include support for bgfx video output with the Wayland
|
||||
display server.
|
||||
USE_TAPTUN
|
||||
Set to **1** to include the tap/tun network module, or set to **0** to
|
||||
disable building the tap/tun network module. The tap/tun network module is
|
||||
|
|
|
@ -421,16 +421,20 @@ Methods
|
|||
|
||||
region:read_i{8,16,32,64}(offs)
|
||||
Reads a signed integer value of the size in bits from the specified offset
|
||||
in the memory region.
|
||||
in the memory region. The offset is specified in bytes. Reading beyond the
|
||||
end of the memory region returns zero.
|
||||
region:read_u{8,16,32,64}(offs)
|
||||
Reads an unsigned integer value of the size in bits from the specified
|
||||
offset in the memory region.
|
||||
offset in the memory region. The offset is specified in bytes. Reading
|
||||
beyond the end of the memory region returns zero.
|
||||
region:write_i{8,16,32,64}(offs, val)
|
||||
Writes a signed integer value of the size in bits to the specified offset in
|
||||
the memory region.
|
||||
the memory region. The offset is specified in bytes. Attempting to write
|
||||
beyond the end of the memory region has no effect.
|
||||
region:write_u{8,16,32,64}(offs, val)
|
||||
Writes an unsigned integer value of the size in bits to the specified offset
|
||||
in the memory region.
|
||||
in the memory region. The offset is specified in bytes. Attempting to
|
||||
write beyond the end of the memory region has no effect.
|
||||
|
||||
Properties
|
||||
~~~~~~~~~~
|
||||
|
|
|
@ -1560,7 +1560,6 @@ msgid ""
|
|||
"Uptime: %1$d:%2$02d:%3$02d\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
msgid ""
|
||||
"Çalışma zamanı: %1$d:%2$02d:%3$02d\n"
|
||||
"\n"
|
||||
|
||||
|
@ -1570,7 +1569,6 @@ msgid ""
|
|||
"Uptime: %1$d:%2$02d\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
msgid ""
|
||||
"Çalışma zamanı: %1$d:%2$02d\n"
|
||||
"\n"
|
||||
|
||||
|
@ -3440,7 +3438,7 @@ msgstr "LAN\tKusurlu\n"
|
|||
|
||||
#: src/frontend/mame/ui/selmenu.cpp:3060
|
||||
msgid "WAN\tUnimplemented\n"
|
||||
msgstr "WAN\tUygulanmadı\in"
|
||||
msgstr "WAN\tUygulanmadı\n"
|
||||
|
||||
#: src/frontend/mame/ui/selmenu.cpp:3062
|
||||
msgid "WAN\tImperfect\n"
|
||||
|
|
|
@ -26,7 +26,7 @@ T region_read(memory_region ®ion, offs_t address)
|
|||
const offs_t lowmask = region.bytewidth() - 1;
|
||||
for (int i = 0; i < sizeof(T); i++)
|
||||
{
|
||||
int addr = region.endianness() == ENDIANNESS_LITTLE ? address + sizeof(T) - 1 - i : address + i;
|
||||
int addr = (region.endianness() == ENDIANNESS_LITTLE) ? (address + sizeof(T) - 1 - i) : (address + i);
|
||||
if (addr < region.bytes())
|
||||
{
|
||||
if constexpr (sizeof(T) > 1)
|
||||
|
@ -52,7 +52,7 @@ void region_write(memory_region ®ion, offs_t address, T val)
|
|||
const offs_t lowmask = region.bytewidth() - 1;
|
||||
for (int i = 0; i < sizeof(T); i++)
|
||||
{
|
||||
int addr = region.endianness() == ENDIANNESS_BIG ? address + sizeof(T) - 1 - i : address + i;
|
||||
int addr = (region.endianness() == ENDIANNESS_BIG) ? (address + sizeof(T) - 1 - i) : (address + i);
|
||||
if (addr < region.bytes())
|
||||
{
|
||||
if (region.endianness() == ENDIANNESS_BIG)
|
||||
|
|
Loading…
Reference in a new issue