ports/emulators/vx68k/files/patch-libvx68k::mainmem.cc
2004-12-23 04:30:47 +00:00

56 lines
1.5 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- libvx68k/mainmem.cc.orig Sun Jul 1 21:25:57 2001
+++ libvx68k/mainmem.cc Wed Dec 1 18:24:18 2004
@@ -55,7 +55,7 @@
}
int
-main_memory::get_8(uint32_type address, function_code fc) const
+main_memory::get_8(uint32_type address, function_code fc) const throw()
{
if (address % 0x1000000U >= end)
throw bus_error(address, READ | fc);
@@ -75,7 +75,7 @@
}
uint16_type
-main_memory::get_16(uint32_type address, function_code fc) const
+main_memory::get_16(uint32_type address, function_code fc) const throw()
{
assert((address & 1) == 0);
if (address % 0x1000000U >= end)
@@ -89,7 +89,7 @@
}
uint32_type
-main_memory::get_32(uint32_type address, function_code fc) const
+main_memory::get_32(uint32_type address, function_code fc) const throw()
{
assert((address & 3) == 0);
if (address % 0x1000000U >= end)
@@ -106,7 +106,7 @@
}
void
-main_memory::put_8(uint32_type address, int value, function_code fc)
+main_memory::put_8(uint32_type address, int value, function_code fc) throw()
{
value &= 0xff;
@@ -126,7 +126,7 @@
}
void
-main_memory::put_16(uint32_type address, uint16_type value, function_code fc)
+main_memory::put_16(uint32_type address, uint16_type value, function_code fc) throw()
{
assert((address & 1) == 0);
value &= 0xffff;
@@ -140,7 +140,7 @@
}
void
-main_memory::put_32(uint32_type address, uint32_type value, function_code fc)
+main_memory::put_32(uint32_type address, uint32_type value, function_code fc) throw()
{
assert((address & 3) == 0);
value &= 0xffffffffU;