Skip to content

Commit ce53035

Browse files
committed
define ResetButton::mResetEnabled in cpp file
1 parent 05111a0 commit ce53035

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

src/SB/Core/gc/iTRC.cpp

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,74 +3,65 @@
33
#include <types.h>
44
#include <string.h>
55

6-
bool ROMFont::Init()
6+
namespace ResetButton
77
{
8+
bool mResetEnabled = 1;
9+
}
810

11+
bool ROMFont::Init()
12+
{
913
}
1014

1115
void ROMFont::InitGX()
1216
{
13-
1417
}
1518

1619
void ROMFont::InitVI()
1720
{
18-
1921
}
2022

2123
void ROMFont::RenderBegin()
2224
{
23-
2425
}
2526

2627
void ROMFont::RenderEnd()
2728
{
28-
2929
}
3030

3131
void ROMFont::SwapBuffers()
3232
{
33-
3433
}
3534

3635
void ROMFont::DrawCell(int, int, int, int)
3736
{
38-
3937
}
4038

4139
void GXEnd()
4240
{
43-
4441
}
4542

4643
void GXPosition3s16()
4744
{
48-
4945
}
5046

5147
void ROMFont::LoadSheet(void*)
5248
{
53-
5449
}
5550

5651
void GXSetTexCoordGen()
5752
{
58-
5953
}
6054

6155
void ROMFont::DrawString(int, int, char*)
6256
{
63-
6457
}
6558

6659
void ROMFont::GetWidth(char*)
6760
{
68-
6961
}
7062

7163
void ROMFont::DrawTextBox(int, int, int, int, char*)
7264
{
73-
7465
}
7566

7667
void ResetButton::EnableReset()
@@ -90,7 +81,6 @@ void ResetButton::SetSndKillFunction(void (*Func)())
9081

9182
void ResetButton::CheckResetButton()
9283
{
93-
9484
}
9585

9686
bool iTRCDisk::Init(void)
@@ -140,20 +130,16 @@ void iTRCDisk::SetMovieResumeFunction(void (*Func)())
140130

141131
bool iTRCDisk::IsDiskIDed()
142132
{
143-
144133
}
145134

146135
void iTRCDisk::DisplayErrorMessage()
147136
{
148-
149137
}
150138

151139
void iTRCDisk::SetDVDState()
152140
{
153-
154141
}
155142

156143
bool iTRCDisk::CheckDVDAndResetState()
157144
{
158-
159145
}

src/SB/Core/gc/iTRC.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace ROMFont
2323
void DrawString(int, int, char*);
2424
void GetWidth(char*);
2525
void DrawTextBox(int, int, int, int, char*);
26-
}
26+
} // namespace ROMFont
2727

2828
// Yes, this is a namespace, not a class.
2929
namespace iTRCDisk
@@ -53,7 +53,6 @@ namespace iTRCDisk
5353

5454
namespace ResetButton
5555
{
56-
bool mResetEnabled;
5756
void (*mSndKill)();
5857

5958
void EnableReset();

0 commit comments

Comments
 (0)