Style and alignment fixes.

This commit is contained in:
AIDA Shinra
2018-06-13 21:24:34 +09:00
parent a3ab3cb458
commit 75c4972021
2 changed files with 14 additions and 14 deletions

View File

@@ -748,19 +748,19 @@ void OH_JmpAbsoluteXIndirect (const OpcDesc* D)
void OH_JsrAbsolute (const OpcDesc* D) void OH_JsrAbsolute (const OpcDesc* D)
{ {
unsigned ParamSize = SubroutineParamSize[GetCodeWord(PC+1)]; unsigned ParamSize = SubroutineParamSize[GetCodeWord (PC+1)];
OH_Absolute (D); OH_Absolute (D);
if (ParamSize > 0) { if (ParamSize > 0) {
unsigned RemainingBytes; unsigned RemainingBytes;
unsigned BytesLeft; unsigned BytesLeft;
PC += D->Size; PC += D->Size;
RemainingBytes = GetRemainingBytes(); RemainingBytes = GetRemainingBytes ();
if (RemainingBytes < ParamSize) { if (RemainingBytes < ParamSize) {
ParamSize = RemainingBytes; ParamSize = RemainingBytes;
} }
BytesLeft = ParamSize; BytesLeft = ParamSize;
while (BytesLeft > 0) { while (BytesLeft > 0) {
unsigned Chunk = (BytesLeft > BytesPerLine)? BytesPerLine : BytesLeft; unsigned Chunk = (BytesLeft > BytesPerLine) ? BytesPerLine : BytesLeft;
DataByteLine (Chunk); DataByteLine (Chunk);
BytesLeft -= Chunk; BytesLeft -= Chunk;
PC += Chunk; PC += Chunk;