Skip to content

Commit

Permalink
Don't need to double escape backslashes since RGBDS v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcurrie committed Jan 2, 2021
1 parent 7d8f188 commit 33a0840
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/which.asm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
; SOFTWARE.

IF (__RGBDS_MAJOR__ == 0 && (__RGBDS_MINOR__ < 4 || (__RGBDS_MINOR__ == 4 && __RGBDS_PATCH__ < 2)))
FAIL "Requires RGBDS v0.4.2+"
ENDC

SECTION "lib", ROMX
INCLUDE "mgblib/src/hardware.inc"
INCLUDE "mgblib/src/macros.asm"
Expand Down Expand Up @@ -66,7 +70,7 @@ main::
call ResetCursor
call LoadFont

print_string_literal "which.gb v0.3\\n-------------\\n\\nseems to be a...\\n\\n"
print_string_literal "which.gb v0.3\n-------------\n\nseems to be a...\n\n"

ld a, [wInitialA]
cp $01
Expand Down

0 comments on commit 33a0840

Please sign in to comment.