mirror of https://github.com/LIJI32/SameBoy.git
Game Genie has a space
This commit is contained in:
parent
4647c55949
commit
bd5d01c0a4
|
@ -917,7 +917,7 @@
|
|||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r5T-ol-Dod">
|
||||
<rect key="frame" x="316" y="115" width="270" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="clipping" title="Import GameShark or GameGenie cheat:" id="0mf-EN-cKc">
|
||||
<textFieldCell key="cell" lineBreakMode="clipping" title="Import GameShark or Game Genie cheat:" id="0mf-EN-cKc">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
else {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
NSBeep();
|
||||
[GBWarningPopover popoverWithContents:@"This code is not a valid GameShark or GameGenie code" onView:self.importCodeField];
|
||||
[GBWarningPopover popoverWithContents:@"This code is not a valid GameShark or Game Genie code" onView:self.importCodeField];
|
||||
});
|
||||
}
|
||||
}];
|
||||
|
|
|
@ -160,7 +160,7 @@ const GB_cheat_t *GB_import_cheat(GB_gameboy_t *gb, const char *cheat, const cha
|
|||
}
|
||||
}
|
||||
|
||||
/* GameGenie */
|
||||
/* Game Genie */
|
||||
{
|
||||
char stripped_cheat[10] = {0,};
|
||||
for (unsigned i = 0; i < 9 && *cheat; i++) {
|
||||
|
|
|
@ -824,7 +824,7 @@ static void import_cheat_callback(char ch)
|
|||
text_input[len + 1] = 0;
|
||||
if (text_input_title[0] != 'E') {
|
||||
strcpy(text_input_title, "Enter a GameShark");
|
||||
strcpy(text_input_title2, "or GameGenie Code");
|
||||
strcpy(text_input_title2, "or Game Genie Code");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -833,7 +833,7 @@ static void import_cheat_callback(char ch)
|
|||
static void import_cheat(unsigned index)
|
||||
{
|
||||
strcpy(text_input_title, "Enter a GameShark");
|
||||
strcpy(text_input_title2, "or GameGenie Code");
|
||||
strcpy(text_input_title2, "or Game Genie Code");
|
||||
text_input[0] = 0;
|
||||
gui_state = TEXT_INPUT;
|
||||
text_input_callback = import_cheat_callback;
|
||||
|
|
Loading…
Reference in New Issue