aboutsummaryrefslogtreecommitdiff
path: root/hw/sh4/sh7750_regnames.c
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2021-10-29 23:02:09 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-10-30 11:46:40 +0200
commitf94bff1337ff525e2ff458b8e4cd57f9561acde3 (patch)
tree9b42f20abc02cd2365d73ce61a31c2e279c14d43 /hw/sh4/sh7750_regnames.c
parent221389657aa77ced7a17936747f288193e321d3f (diff)
hw/sh4: Coding style: White space fixes
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Message-Id: <91698c54fa493a4cfe93546211206439787d4b78.1635541329.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/sh4/sh7750_regnames.c')
-rw-r--r--hw/sh4/sh7750_regnames.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/sh4/sh7750_regnames.c b/hw/sh4/sh7750_regnames.c
index b1f112df3e..37b3acd620 100644
--- a/hw/sh4/sh7750_regnames.c
+++ b/hw/sh4/sh7750_regnames.c
@@ -81,14 +81,15 @@ static regname_t regnames[] = {
REGNAME(SH7750_BCR3_A7)
REGNAME(SH7750_BCR4_A7)
REGNAME(SH7750_SDMR2_A7)
- REGNAME(SH7750_SDMR3_A7) {(uint32_t) - 1, NULL}
+ REGNAME(SH7750_SDMR3_A7)
+ { (uint32_t)-1, NULL }
};
const char *regname(uint32_t addr)
{
unsigned int i;
- for (i = 0; regnames[i].regaddr != (uint32_t) - 1; i++) {
+ for (i = 0; regnames[i].regaddr != (uint32_t)-1; i++) {
if (regnames[i].regaddr == addr)
return regnames[i].regname;
}